linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jorge R . Csapo" <jorge@completo.com.br>
To: Glynn Clements <glynn.clements@virgin.net>
Cc: "Jorge R . Csapo" <jorge@completo.com.br>, linux-admin@vger.kernel.org
Subject: Re: sendmail port
Date: Sun, 25 Aug 2002 18:13:04 -0300	[thread overview]
Message-ID: <20020825181302.A9340@completo.com.br> (raw)
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

assim falou Glynn Clements (em 24/08/2002):
> 
> Jorge R . Csapo wrote:
> 
> > is there a simple way to tell sendmail to use a port other than 25 for
> > sending?
> 
> 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 (other
> than by modifying the source code).

Actually I expressed myself poorly. I needed to know if I could make sendmail
connect to a port other than 25 on the destination host. As it turns out,
both the originating ephemeral port and the destination port can be modified:
the first by using the ClientPortOptions (ClientPortOptions=Port=port_#) and
the second by modifying the mailer definitions (the ARGV parameter as in
A=TCP $h port_#.

-- 
Jorge R. Csapo

--------------------------------------------------
    /"\
    \ /ÿ CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
     Xÿÿ ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
    / \
--------------------------------------------------
Jorge R. Csapo
http://www.completo.com.br/~jorge
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. 
--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

      reply	other threads:[~2002-08-25 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23 20:02 sendmail port Jorge R . Csapo
2002-08-23 23:00 ` Glynn Clements
2002-08-25 21:13   ` Jorge R . Csapo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020825181302.A9340@completo.com.br \
    --to=jorge@completo.com.br \
    --cc=glynn.clements@virgin.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).