From owner-freebsd-questions@FreeBSD.ORG Wed Sep 19 18:35:47 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1411516A420 for ; Wed, 19 Sep 2007 18:35:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0AC13C483 for ; Wed, 19 Sep 2007 18:35:46 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile.ondsl.gr [83.235.244.135]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l8JIZABH002700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 19 Sep 2007 21:35:29 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l8JIYsPK003894; Wed, 19 Sep 2007 21:35:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l8JIYsuk003893; Wed, 19 Sep 2007 21:34:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 19 Sep 2007 21:34:54 +0300 From: Giorgos Keramidas To: orvilleg@hotmail.com Message-ID: <20070919183453.GA3817@kobe.laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.966, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.43, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail out to port 2525 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 18:35:47 -0000 On 2007-09-19 12:53, Jack Stone 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') define(`RELAY_MAILER_ARGS', `TCP $h 2525') If you are using a mailertable in Sendmail, please show us the mailertable too. > 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') This was copy/pasted all in one line, so I can't really tell which 'dnl' applies to every line, or if none apply at all. > This is driving me nuts (I know, walk, it's not that far) :^) HTH, Giorgos