Redirect all dsn to single address?

Benny Pedersen me at junc.org
Tue Jul 12 16:20:54 CEST 2011


On Tue, 12 Jul 2011 13:33:40 +0000, Lars Jørgensen wrote:
>> This is not exactly what you asked for, but it solved the 
>> backscatter
>> problems for our users:
>
>> http://www.backscatterer.org/
>
> That looks interesting, however if I put this in master.cf:
>
> smtp      inet  n       -       n       -       -       smtpd
>     -o content_filter=amavisfeed:[127.0.0.1]:10024
>     -o smtpd_recipient_restrictions=check_sender_access
> dbm:/etc/postfix/check_backscatterer
>
> I get this:
>
> postfix/smtpd[22684]: fatal: parameter
> "smtpd_recipient_restrictions": specify at least one working instance
> of: check_relay_domains, reject_unauth_destination, reject, defer or
> defer_if_permit
>
> It seems I am missing something? I know this question probably belong
> to the backscatterer.org people, but as you know of it, maybe you can
> be of assistance.

the above is a plain open-relay mta, dont doit

to fix, make sure you use reject_unauth_destinaion before any postconf 
-m

postfix restrictions is first match wins, remember this then its not 
hard to fix the above



More information about the amavis-users mailing list