Date: Thu, 8 Jan 2004 22:05:28 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Marc UBM Bocklet <ubm@u-boot-man.de> Cc: freebsd-questions@freebsd.org Subject: Re: Change port for sendmail smarthost Message-ID: <20040108220528.GA3670@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040108224726.762d71a1.ubm@u-boot-man.de> References: <20040108224726.762d71a1.ubm@u-boot-man.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Jan 08, 2004 at 10:47:26PM +0100, Marc UBM Bocklet wrote:
> I've googled around and looked at www.sendmail.org and the handbook, but
> was unable to find anything regarding that subject.
>=20
> My problem is that the smtp-server at my sendmail smarthost is
> listening on port 697 instead of 25 and i need a way to tell sendmail
> that.
>=20
> I experimentally tried=20
>=20
> define(`SMART_HOST', `smtp-server.com:697')
>=20
> but that didn't work.
>=20
> Any help is appreciated :-)
Try:
define(`RELAY_MAILER_ARGS', `IPC $h 697')dnl
This overrides the 'RELAY' mailer (which should be what gets used when
you connect to your smart host) to connect on port 697. If necessary
you can use the mailertable functionality to force all messages to the
smart host to use the 'relay' mailer:
. relay:smtp-server.com
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQE//dQodtESqEQa7a0RAsoYAKCJ1mwN5bDb//ageemp8/3w9p4DGgCfVhnT
WCZ61Kpinh3tE8+LteIi76E=
=sgc7
-----END PGP SIGNATURE-----
--oyUTqETQ0mS9luUI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108220528.GA3670>
