On Thu, Feb 23, 2012 at 03:46:49PM -0600, Noel Jones wrote: > On 2/23/2012 3:39 PM, /dev/rob0 wrote: > > On Thu, Feb 23, 2012 at 12:58:46PM -0800, rg86...@airpost.net > > wrote: > > > snip > >>> Here's another thought, which I think someone else mentioned > >>> upthread: you could PREPEND a special header, then handle that > >>> in your content filter. > >>> > >>> s...@mail.rogermail.lan PREPEND X-spamtrap-garbage: YES > >> > >> Will such a header be added for ALL recipients? or just for the > >> matched address? > > This works too, but brings its own complication of requiring a > separate cleanup service for the post-filter smtpd so the > header_check DISCARD action can be performed post-filter.
I was thinking the filter itself could do the rejection, but yes, understood. Either way means some extra configuration is needed, either Postfix or filter. There is an advantage (or disadvantage, depending) of doing the PREPEND and rejecting in the content filter: this way, single- recipient mails to the spamtrap are rejected. Personally, I would want to do more with a spamtrap than this as alluded upthread. Your suggestion of a REDIRECT action would be better, because then content analysis can be done. > The check_recipient_access with DISCARD is probably easiest, but > the spamtrap address must be accepted by the pre-filter postfix. Got it. And I have reviewed and learned SMTPD_PROXY_README a bit better in the process. Thanks. -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: