sergio wrote:
> Hello courier-users,
>
> I use this maildroprc script for checking messages with
> Spamassassin and kill spam:
>
> exception {
>
> xfilter "/usr/local/bin/spamc -u courier"
>
> if( (/^X-Spam-Status: Yes/) )
> {
> echo "*** SPAM threshold exceeded; dropping"
> EXITCODE=0
> exit
> }
> }
>
> But I want to send error messages to
> spammers if spamassassin found spam, like "555 Your message marked
> as SPAM, score 10"
> How can I do it with courier?
> Thanks for help.
Sending a DSN failure message to an apparent "spammer" is a dangerous
move as the spammer will often have faked the MAIL FROM: smtp header and
the To: header within the body of the email.
The result will often be that an innocent person will receive your DSN
failure message and think that you are spamming them.
My advise is to leave your script the way it is, or at the very least
flag the message as spam so that your users can filter it in to a spam
folder in their email clients.
Cheers,
Tim Lyth
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users