From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jorge R . Csapo" Subject: Re: sendmail port Date: Sun, 25 Aug 2002 18:13:04 -0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20020825181302.A9340@completo.com.br> References: <20020823170236.C14993@completo.com.br> <15718.48797.215331.346614@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <15718.48797.215331.346614@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Sat, Aug 24, 2002 at 12:00:45AM +0100 List-Id: Content-Type: text/plain; charset="iso-8859-1" To: Glynn Clements Cc: "Jorge R . Csapo" , linux-admin@vger.kernel.org assim falou Glynn Clements (em 24/08/2002): >=20 > Jorge R . Csapo wrote: >=20 > > is there a simple way to tell sendmail to use a port other than 25 = for > > sending? >=20 > It doesn't use port 25 for sending; it uses an ephemeral port (unless > you specify the 'R' flag, in which case it allocates a privileged > port). I don't think that you can force the use of a fixed port (othe= r > than by modifying the source code). Actually I expressed myself poorly. I needed to know if I could make se= ndmail connect to a port other than 25 on the destination host. As it turns ou= t, both the originating ephemeral port and the destination port can be mod= ified: the first by using the ClientPortOptions (ClientPortOptions=3DPort=3Dpo= rt_#) and the second by modifying the mailer definitions (the ARGV parameter as i= n A=3DTCP $h port_#. --=20 Jorge R. Csapo -------------------------------------------------- /"\ \ /=FF CAMPANHA DA FITA ASCII - CONTRA MAIL HTML X=FF=FF ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \ -------------------------------------------------- Jorge R. Csapo http://www.completo.com.br/~jorge =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge.=20 --Peter J. Schoenster - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html