On Thu, Jan 7, 2010 at 9:33 AM, Markus Ewald <[email protected]> wrote:
> 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"

By the time a mail gets presented for local delivery, it has already
been accepted by SMTP and can't be rejected at the SMTP stage.

>From my knowledge on the topic, which may be limited and can be
corrected by others, to scan a message with spamassassin you are going
to have to accept the entire message first, thus it can never be used
for SMTP reject.

Again, from my limited knowledge, which others can feel free to call
me up on, the only thing you will be able to use at the SMTP level to
reject a message with is the sending mta address, senders email
address and recipient email address. This allows for things such as
blacklisting to be done, greylisting and SPF, but nothing like
spamassisin as that requires you to accept the entire message and then
process it.

Hope that helps.

Harry.

------------------------------------------------------------------------------
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

Reply via email to