home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.mail.sendmail:3010 comp.mail.mh:1393
- Path: sparky!uunet!news.claremont.edu!ucivax!jromine
- From: jromine@binky.ics.uci.edu (John Romine)
- Subject: Re: Differences invoking sendmail or using socket (localhost,SMTP)
- Nntp-Posting-Host: binky.ics.uci.edu
- Message-ID: <2B2F6F3D.26733@ics.uci.edu>
- Newsgroups: comp.mail.sendmail,comp.mail.mh
- Reply-To: mh@ics.uci.edu (John Romine)
- Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
- Lines: 33
- Date: 16 Dec 92 18:02:37 GMT
- References: <MRL.92Dec14095012@sun4.uai.com>
-
- mrl@uai.com (Mark R. Ludwig) writes:
- >The MH administrator's documentation recommends configuring MH so it
- >posts outgoing messages using a socket to a server which talks SMTP,
- >as opposed to invoking sendmail in a subprocess and feeding it the
- >message. ...the documentation makes a value judgement that using
- >TCP to an SMTP server is superior to invoking the MTS directly.
- >
- >I am considering changing our mail environment to have a single mail
- >hub, and installing Rich Salz's minimal sendmail configuration which
- >just sends everything to the hub. I would not have a daemon running
- >anywhere except on the hub (and would use cron to achieve periodic
- >queue runs to handle the hub being busy, hung, or dead). Should I
- >bother to have sendmail run as a daemon [on the non-hub workstations]
- >when the only processes connecting would be on the same host?
-
- No. You've hit upon the reason the "/smtp" mts setting works better.
- Build MH with the "/smtp" seting and change your mtstailor file to have
- "servers: hub.host.name". MH will then post messages directly to hub's
- SMTP server. This way, you don't need any local SendMail at all (for MH).
-
- If you have other programs (like cron) which might expect to invoke
- /usr/lib/sendmail directly, you can use the dummy sendmail replacement
- which is part of MH 6.8. It will post the mail on hub using SMTP.
-
- >...using TCP to an SMTP server bypasses [the MTA] authentication
-
- Yes, this is because the SMTP provides no authenticaion mechanism.
- With MMDF, when you run "submit" directly (instead of posting to the
- SMTP server), MMDF checks the uid under which the process submitting
- the mail is running to make sure it matches the "From:" line. I don't
- know if SendMail makes this check or not.
- --
- John Romine
-