David Vrona <[EMAIL PROTECTED]> writes:

> I seem to have a situation where TMDA is doing delivery on accepted
> messages instead of passing those messages to maildrop which is my
> goal.

[...]

> Here is my .qmail file:
> 
> |/usr/local/tmda-0.57/bin/tmda-filter
> |/usr/local/bin/maildrop -d dave /home/dave/.mailfilter Maildir/ | exit 77

[...]

> the TMDA log file shows:
> 
> Actn: DELIVER (from-file /home/dave/.tmda/whitelist deliver=/home/dave/Maildir/)

This means that you have a rule in your filter that told TMDA to
deliver the mail.  If you don't want it delivered by TMDA, change that
rule.  You could simply say 'deliver' or 'accept' or 'ok' instead of
specifying '=/home/dave/Maildir/'.

> I also have the LOCAL_DELIVERY_AGENT line for maildrop uncommented in
> .tmdarc

LOCAL_DELIVERY_AGENT is no longer used (since 0.55, I think).  See the
UPGRADE file.  You can delete it from your .tmdarc or change it to
DELIVERY.  Since you're running qmail and you want the following lines
in your .qmail to run, DELIVERY should be set to "_qok_".  This will
cause TMDA to quit with a 0 exit code whenever your rules say
'deliver' (or any of its synonyms).  The 0 exit code means that qmail
will run the maildrop line next.

Fortunately for you, DELIVERY defaults to "_qok_" when you're running
qmail, so you can just get rid of the LOCAL_DELIVERY_AGENT setting
entirely and change your filter rule to *not* deliver and you should
be fine.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to