Hi All, The answer as supplied by Lars Hecking, below, was to edit the m4 source for sendmail.cf and add define(`RELAY_MAILER_ARGS', `IPC $h 697')dnl where 697 would be replaced by the port number one wanted to use. Regards, Alan. -----Original Message----- From: Lars Hecking [mailto:lhecking@nmrc.ie] Sent: 23 July 2004 11:20 To: Bradley Alan Subject: Re: OT: Setup Sendmail to connect to a smart relay host on a port oth er than 25 Bradley Alan writes: > Hi, > > I need some help from anyone who has setup sendmail to forward mail to a > smart relay host that is on a port other than 25. > > For example in my sendmail.cf file I have the following > > # "Smart" relay host (may be null) > DSmailserver.domain.com > > and I can telnet to mail.domain.com on port 25 and it connects fine, e.g. > > # telnet mailserver.domain.com 25 > > Trying a.b.c.d... > Connected to a.b.c.d. > Escape character is '^]'. > 220 domain.com MAILsweeper ESMTP Receiver Version 4.2.5.0 Ready > > If I telnet to NEWmailserver.domain.com on port 2225 it also connects fine, > e.g. > > # telnet NEWmailserver.domain.com 2225 > Trying b.c.d.e... > Connected to b.c.d.e. > Escape character is '^]'. > 220 NEWmailserver.domain.com SMTP; Fri, 23 Jul 2004 09:00:24 +0200 > > But If I change the "Smart" relay host line to be: > > # "Smart" relay host (may be null) > DSNEWmailserver.domain.com > > It does not work - the reason I presume is because it connects by default on > port 25. How do I specify the smart relay host port of 2225 in the sendmail > config? > > Any and all assistance will be appreciated. Google is your friend: http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031496.htm l Or the bat book if you have it (Chapter 26 in my outdated copy ...) This communication is subject to specific restrictions and disclaimers. Details are contained at the following link: http://www.omam.com/OMAMSA_E-mail_Disclosure/ _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Jul 23 06:49:18 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:36 EST