On 07.01.2010 08:59, I myself wrote:
> The docs talk about three modes maildrop can run in: Manual, Delivery
> and Embedded mode. Embedded mode sounds like what I want (rejecting spam
> during the SMTP transaction). If I set
>
> DEFAULTDELIVERY="| /usr/bin/maildrop"
>
>
Okay, I feel dumb for assuming that there was any magic going on, of
course it's just a normal piped command, so I presume I have to run
DEFAULTDELIVERY="| /usr/bin/maildrop -V2 -M default"
I've set up a .mailfilters directory in my home and included
/etc/courier/maildroprcs/spamassassin (which, as the docs state,
suspends the embedded mode restrictions so I can run the xfilter statement.)
Running maildrop manually like this...
maildrop -V2 -d cygon -M default < ~/testmail
...does indeed invoke SpamAssassin and everything appears to work
alright. But when maildrop is invoked by courieresmtpd, something goes
wrong:
myserver courieresmtpd: started,ip=[1.2.3.4]
myserver courieresmtpd:
error,relay=1.2.3.4,from=<[email protected]>,to=<cy...@myserver>: 456
Address temporarily unavailable.
Looks like the SMTP rejection works... but why is it being rejected?
Even if I comment out everything in my filter, courier still rejects
incoming emails.
-Markus-
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users