Eric Abrahamsen:
> > master.cf with postscreen:
> >      1.2.3.5:smtp  inet  n - n - 1 postscreen -o 
> > smtpd_service_name=smtpd_1.2.3.5
> >      smtpd_1.2.3.5 pass  - - n - - smtpd
> >
> > Ditto for the service on 1.2.3.4.
> >
> >     Wietse
> 
> Awesome! That worked like a charm. Noel had me worried for a second
> there, but it looks like most of the necessary gyrations I'd already
> gone through -- that last step with smtpd_service_name was very simple.

One more thing: to make the logging understandable you also need
to specify the syslog_name.

1.2.3.5:smtp  inet  n - n - 1 postscreen 
        -o smtpd_service_name=smtpd_1.2.3.5
        -o syslog_name=postfix/1.2.3.5
smtpd_1.2.3.5 pass  - - n - - smtpd
        -o syslog_name=postfix/1.2.3.5

Ditto for the service on 1.2.3.4.

        Wietse

Reply via email to