On 2/23/2012 2:34 AM, rg86...@airpost.net wrote:
> I'm building a Postfix server with postscreen & a before-queue filter.
> 
> I'm trying to get spamtraps working so that if a spamtrap address is in
> ANY of the recipients, then delivery of the message to ALL recipients is
> quietly DISCARDED.

This isn't how spamtraps are typically implemented, and may be why
you're having trouble.  The proper way to implement a spamtrap for
rejecting inbound spam is:

1.  Check recipients of inbound connection for spamtrap address
2.  Append new sender address to an access table
3.  Use the table in a check_sender_access rule to reject inbound
    spam--no need for discard

Pretty simple.  I'm left wondering why/how you came up with the method
you describe above.  Nobody does it that way.  This leads me to believe
you don't really understand what a spamtrap is.

Note that very few people do this.  The reason is there are dozens of
spamtrap driven dnsbls freely available that have a few million combined
spamtrap addresses.  You have one.  Thus, the ROI is typically extremely
low for self run spamtraps.

Maybe it would be helpful if you explained exactly what you're trying to
do here, and the reasons why you wish to do so.  There are likely many
alternatives that may well work better.

-- 
Stan

Reply via email to