On Sat, Nov 8, 2008 at 3:29 AM, mouss <[EMAIL PROTECTED]> wrote:
> You can create multiple smtpd's in master.cf (but comment out the "default"
> one or use inte_interfaces to limit it)
>
> 192.168.1.1     ...   smtpd
>        -o smtpd_client_restrictions=${smtpd1_client_restrictions}
>        -o smtpd_recipient_restrictions=${smtpd1_recipient_restrictions}
>        -o foobar=${smtpd1_foobar}
>
> 192.168.1.2     ...   smtpd
>        -o smtpd_client_restrictions=${smtpd2_client_restrictions}
>        -o smtpd_recipient_restrictions=${smtpd2_recipient_restrictions}
>        -o foobar=${smtpd2_foobar}
>
> and define smtpd1_* and smtpd2_* in main.cf.

All clear.. except for how do I define stmpd1_* and smtpd2_* params in
main.cf — how does main.cfm "know" that I'm using those names to refer
to the two interfaces defined in master.cf?

The smtpd_* params that I currently have in main.cf appear to be
global as they cover all active interfaces. It would indeed be useful
to be able to be able to include interface-specific parameters in
main.cf as well. I assume I have to define them somehow (as you say),
but it's probably done with something else than with
inet_interfaces..?

Reply via email to