Convincing sendmail not to bind to all ports

Paul Bryan pa_bryan at yahoo.co.uk
Tue Oct 1 10:48:12 EST 2002


On Monday 30 September 2002 23:34, Michael James wrote:
> I'm trying to escape sendmail
>  but for testing want to run postfix on a private interface
>  leaving sendmail for a little while longer on the main external interface.
>
> Anyone know how to achieve what I hope will be my last sendmail config
> change.
>
> TIA,
> michaelj

DAEMON_OPTIONS(`Port=smtp,Addr=xxx.xxx.xxx.xxx, Name=MTA')

One of these lines for each ip you want send mail to bind to in your m4 file.

Cheers,
Paul.



More information about the linux mailing list