RE: TMDA , Qmail - Mail not consistently released after verification

David Grimberg <[email protected]> Thu, 24 Mar 2011 23:00:42 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <F9E06B6BB944430BA97666F18865AA2D@Garnet>
Kevin,

With regards to the 'from * confirm' rule yes I believe that it is in the
documentation, but as an example of something not to do unless you really
want ALL mail not handled by other rules (including tagged addresses) to be
confirmed.  The appropriate way to cause all otherwise unhandled messages to
be confirmed is to set the default action to confirm instead of deliver,
bounce or hold.  This way once the message makes it to the end of the
incoming filter then the tagged address checking will kick in and after that
the default action will apply if the address was not tagged or had an
invalid tag such as an expired dated address. =


--DJ

-----Original Message-----
From: Kevin Goodsell [mailto:[email protected]] =

Sent: Thursday, March 24, 2011 10:28 PM
To: David Grimberg
Cc: [email protected]
Subject: Re: TMDA , Qmail - Mail not consistently released after
verification

On Thu, Mar 24, 2011 at 9:37 PM, David Grimberg
<[email protected]> wrote:
> Looking at the logs you sent it looks like you have a rule in your
incoming
> filter that essentially says that all emails need to be confirmed. =A0That
is
> I suspect you have the following rule in your incoming filter:
> From * confirm
> That means that even the confirmation emails need tone confirmed since
> tagged address handling occurs after all other rules have been tried.

I suspect this isn't right. 'from * confirm' is a pretty common rule,
I think (it's in the example incoming filter). I'd have to go over the
code to really check, though.

> Second it looks like the confirmation emails are being sent to a user
named
> confirm instead of tester. =A0The To: Lin reads:

This is a very good point. The confirmation address is clearly screwy.
In fact, the original address was also screwy:

> Date: Fri, 18 Mar 2011 20:23:52 -0700
> From: M-1 Tester <[email protected]>
>   To: [email protected]
> Subj: Another test 03-18-2011 [2]
> Actn: CONFIRM (from * confirm)
(1898)

You can't have a username "tester-1" if your recipient delimiter is
"-". If this mail is actually reaching the tester-1 user, that
indicates the recipient delimiter is not the same in TMDA and Qmail.
TMDA appears to be using "-", but if Qmail recognized "-" it should be
delivering to a user named "tester".

-Kevin

---------------------------------------------------------------------------=
---
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software =

be a part of the solution? Download the Intel(R) Manageability Checker =

today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users