home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.mail.sendmail:3014 comp.mail.mh:1399
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!vixie
- From: vixie@pa.dec.com (Paul A Vixie)
- Newsgroups: comp.mail.sendmail,comp.mail.mh
- Subject: Re: Differences invoking sendmail or using socket (localhost,SMTP)
- Date: 16 Dec 92 11:37:11
- Organization: DEC Network Software Lab
- Lines: 25
- Message-ID: <VIXIE.92Dec16113711@cognition.pa.dec.com>
- References: <MRL.92Dec14095012@sun4.uai.com>
- NNTP-Posting-Host: cognition.pa.dec.com
- In-reply-to: mrl@uai.com's message of 14 Dec 92 09:50:12
-
- When you run sendmail as a subprocess, you can either run SMTP over a pipe
- (-bs option) or you can just specify the envelope recipients on the command
- line and blast the message over the pipe, headers and all, or you can let
- the To/Cc headers specify the envelope recipients (-t option) and just blast
- the message over the pipe, headers and all. Of these, speaking SMTP is more
- robust since it lets sendmail tell MH, which can tell you, that some of the
- recipients are reachable and some are not. Without SMTP in the picture, you
- pretty much have to use -oem and let sendmail *mail* you back any failure
- notifications.
-
- If you are going to use SMTP, it is better to speak to the SMTP port on your
- own host or perhaps on the local mail hub, than to fork and exec a sendmail
- with the -bs option. This is partly for performance reasons; a running
- sendmail listener can fork a subprocess to speak SMTP to you at far less
- cost than you can vfork and exec a new sendmail process which then has to
- initialize various things that a child of the main listener would just
- inherit. Also, once you are speaking SMTP you get the option of not running
- a sendmail on the local host at all if you don't want to; just speak to the
- mail hub. That's the ideal way to configure MH, in my opinion. SMTP to the
- mail hub for transmission, and POP from the mail hub for reception.
- --
- Paul Vixie, DEC Network Systems Lab
- Palo Alto, California, USA "Don't be a rebel, or a conformist;
- <vixie@pa.dec.com> decwrl!vixie they're the same thing, anyway. Find
- <paul@vix.com> vixie!paul your own path, and stay on it." -me
-