From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 14:07:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8610816A4CE for ; Thu, 8 Jan 2004 14:07:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0214E43D6D for ; Thu, 8 Jan 2004 14:05:41 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i08M5S0I073847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jan 2004 22:05:28 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i08M5S2x073828; Thu, 8 Jan 2004 22:05:28 GMT (envelope-from matthew) Date: Thu, 8 Jan 2004 22:05:28 +0000 From: Matthew Seaman To: Marc UBM Bocklet Message-ID: <20040108220528.GA3670@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Marc UBM Bocklet , freebsd-questions@freebsd.org References: <20040108224726.762d71a1.ubm@u-boot-man.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20040108224726.762d71a1.ubm@u-boot-man.de> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Change port for sendmail smarthost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 22:07:07 -0000 --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--