wie...@porcupine.org (Wietse Venema) writes:

> 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

Done, thanks again. I also had to add the SSL cert/key lines, of course.

While we're still here, can I ask for my own information -- is the
127.0.0.1:smtp clause at the top still necessary, and if so, what does
it actually do?

Eric

Reply via email to