On Sun, 2012-01-15 at 13:32 -0500, Wietse Venema wrote:
> Andrew Beverley:
> > > You have not explained what problem you are trying to solve with
> > > different IP addresses for different mailings (does mail from the
> > > same sender address go out via different IP addresses?), so I won't
> > > try to optimize the response.
> >
> > Sorry, I should have explained. I run a bunch of mailing lists, and use
> > different IP addresses for different mailing lists (amongst other
> > things). Everything runs from Perl scripts, so the script needs to
> > specify which IP address to use as it sends the email. I'd rather avoid
> > the sender address dictating which IP address to use, because I'd like
> > the flexibility to specify the IP address in the script on the fly for
> > other parameters.
>
> In that case, specify $ENV{'MAIL_CONFIG'}=pathname or "-C pathname"
> to choose the outbound source IP address. I am not comfortable with
> exposing the internal guts of a general-purpose MTA to unprivileged
> users, and it really does not cost much to have more than one master
> and queue manager daemon process.
That's fine. I just wanted to check that what I was doing was the right
way. Thanks for the help.
Andy