Sendmail out to port 2525

Jack Stone antennex at hotmail.com
Wed Sep 19 12:06:54 PDT 2007


> Date: Wed, 19 Sep 2007 21:34:54 +0300> From: keramida at ceid.upatras.gr> To: orvilleg at hotmail.com> CC: freebsd-questions at freebsd.org> Subject: Re: Sendmail out to port 2525> > On 2007-09-19 12:53, Jack Stone <antennex at hotmail.com> wrote:> >> > Am using FBSD-6.2p7 Sendmail-8.13.8> >> > I spent several days trying different configs to relay mail from my> > sendmail relay received from another relay using postfix -- to a> > Windows server only listening on port 2525. So far no luck and all> > attempts to relay to the Windows server shows "service not available."> > Receiving emails from the sending postfix relay okay and my sendmail> > relay is attempting without success to deliver to the Windows machine.> >> > Here's the setup:> > 1) From - Postfix (transport.map = domain.tld smtp:[200.xxx.xxx.xx]:2525> > 2) To: My Sendmail Relay accept (access file - 200.xxx.xxx.xx RELAY> > mailertable = domain.tld smtp:[60.xxx.xxx.xx]> > 3) Relay to: Windows Server containing the users - listen to receive port 2525> > [...]> > How do I make #2 send on 2525 ???> > You have to tweak the relay mailer args:> > define(`SMART_HOST', `windows.server')
 
But, there are 300+ domains + several dozen servers to relay to, so can't just send to a single smarthost - or, is there a way?.
> define(`RELAY_MAILER_ARGS', `TCP $h 2525')> 
 
Haven't tried this yet, but will.
> If you are using a mailertable in Sendmail, please show us the> mailertable too.> 
 
Mailertable is like this for the 300+ domains:
domain1.org     smtp:[200.000.000.1]domain2.org     smtp:[200.000.000.2]domain3.org     smtp:[200.000.000.3]domain4.org     smtp:[200.000.000.4]
> 
 
Sorry, it's like this in the sendmail.mc (left the default lines in but "dnl" out):
FEATURE(`no_default_msa')dnldnl DAEMON_OPTIONS(`Port=25, Name=MTA, Family=inet')DAEMON_OPTIONS(`Port=2525, Name=MTA')DAEMON_OPTIONS(`Port=25, Name=MSA, M=E')dnl DAEMON_OPTIONS(`Port=587, Name=MSA, M=E')
> HTH,> Giorgos> 
Thanks for any further clarification on above....
 
Jack
 
_________________________________________________________________
Gear up for Halo® 3 with free downloads and an exclusive offer. It’s our way of saying thanks for using Windows Live™.
http://gethalo3gear.com?ocid=SeptemberWLHalo3_WLHMTxt_2


More information about the freebsd-questions mailing list