[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing port numbers of sendmail



On Mon, Feb 09, 2004, b h wrote:
> I'm trying to change the port that sendmail listens on

> DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Port=24,
> Name=MTA')dnl

> DAEMON_OPTIONS(`Family=inet, address=0.0.0.0,
> Port=587, Name=MSA, M=E')

> relay=localhost.mydomain.com., dsn=4.0.0,
> stat=Deferred: Connection refused by
> localhost.mydomain.com.

See cf/README about MSP, you need to modify submit.mc:

msp		Defines config file for Message Submission Program.
		See sendmail/SECURITY for details and cf/cf/submit.mc how
		to use it.  An optional argument can be used to override
		the default of `[localhost]' to use as host to send all
		e-mails to.  Note that MX records will be used if the
		specified hostname is not in square brackets (e.g.,
		[hostname]).  If `MSA' is specified as second argument then
		port 587 is used to contact the server.  Example:

---->			FEATURE(`msp', `', `MSA')