Redirect all dsn to single address?

Helga Mayer Helga.Mayer at uni-hohenheim.de
Tue Jul 12 16:24:04 CEST 2011


On Tue, 12 Jul 2011, 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.

this is a postfix syntax problem. master.cf doesn't like spaces.

man 5 master:
...
                    NOTE 1: do not specify whitespace around the
                      "=".   In  parameter  values,  either  avoid
                      whitespace altogether, use commas instead of
                      spaces,   or  consider  overrides  like  "-o
                      name=$override_parameter"    with     $over-
                      ride_parameter set in main.cf.

It may look strange but try:
-o smtpd_recipient_restrictions=check_sender_access,dbm:/etc/postfix/check

Helga

>
>
> -- 
> Lars
>

Helga Mayer
Universität Hohenheim
Kommunikations-, Informations- und Medienzentrum (630)
IT-Dienste | Mail

Schloss-Westhof-Süd | 70599 Stuttgart
Tel.:  +49 711 459-22838 | Fax: +49 711 459-23449
https://kim.uni-hohenheim.de


***************************************************************************
A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?


More information about the amavis-users mailing list