From: Glynn Clements Subject: Re: sendmail blues Date: Sun, 8 Nov 2009 07:13:59 +0000 Message-ID: <19190.28599.847923.501113@cerise.gclements.plus.com> References: <4AF49B12.8050405@exchange.mines.edu> <19189.21952.988653.496177@cerise.gclements.plus.com> <4AF56CCF.9060608@exchange.mines.edu> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AF56CCF.9060608@exchange.mines.edu> Sender: linux-admin-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Yuri Csapo Cc: Yuri Csapo , linux-admin Yuri Csapo wrote: > > BTW, Local delivery shouldn't require that anything is listening on > > port 25. However, you may have to tell sendmail what constitutes > > "local"; it's possible that sendmail is treating "localhost" as a > > normal (remote) domain rather than a local one. > > Local delivery is not what I'm looking for. I want this box to forward > along to our smart host. If it wasn't for the need to expand aliases locally, you could just use: FEATURE(`msp', `smarthost.mydomain.com')dnl and not run the "normal" sendmail daemon. If the Sun MTA doesn't use port 587, try: FEATURE(`msp',`[127.0.0.1]',`MSA')dnl in submit.mc and: FEATURE(`no_default_msa')dnl DAEMON_OPTIONS(`Port=587, Name=MSA, M=E')dnl in sendmail.mc. This should force the MSP to send to port 587, and the main daemon to listen *only* on port 587. The cf files don't provide any way to specify an arbitrary port, but you could always modify feature/msp.m4 to allow this (LOCAL_MAILER_ARGS needs to be set to "TCP $h " when MAILER(`local') is processed), or just modify submit.cf manually. -- Glynn Clements