On Tue, Sep 20, 2011 at 9:16 AM, Stan Hoeppner <s...@hardwarefreak.com> wrote:
> On 9/19/2011 5:38 PM, john wrote:
>>
>> I think this is off topic.
>>
>> I am running Ubuntu 11.04 as a SOHO server with
>> postfix/dovecot/Amavis-new/Spamassassin/Clamav setup as my email service.
>>
>> Does anybody know of a program... that can white list inbound email
>> based upon the addresses of emails that have been sent?
>
> This simple 7 line bash script does the trick superbly on Debian.  Thus it
> should work fine on Ubuntu as well.
>
> http://www.hardwarefreak.com/whtlst_gen.sh.txt
>
> Drop it in an executable search path, then do a chmod +x and follow the
> instructions in the file.

Nice. But if you're running a multi-tennant system, you'll need a way
to map sender/recipient pairs to the inbound.  We do that with a
postfix policy server that hooks into the END-OF-MESSAGE stage, which
will provide the SASL authenticated user, and the smtp-envelope
recipient (there are problems with multi-recipients that you have to
work out).  Feed this into something like
http://wiki.apache.org/spamassassin/ManualWhitelist and you're good to
go.

Reply via email to