* [SUMMARY]Sendmail configuration question
@ 1999-02-26 13:29 Larry Griffith
0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1999-02-26 13:29 UTC (permalink / raw)
To: tru64-unix-managers
Dear Managers,
Between the responses I received from the list and a little
tinkering on my own I managed to get things working (and understood
the configuration a little better). Thanks to
Mike Iglesias <iglesias@draco.acs.uci.edu>
Sean O'Connell <sean@stat.Duke.EDU>
Robert Benites <benites@cs.unca.edu>
Arrigo Triulzi <arrigo@albourne.com>
I included the following lines in my generic-osf1.mc file (the
MASQUERADE_AS line was already present):
MASQUERADE_AS(cs.wsc.ma.edu)dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(always_add_domain)dnl
EXPOSED_USER(root)dnl
define(`MAIL_HUB',cs.wsc.ma.edu)dnl
I also found I had to remove my .REDIRECT aliases. Apparently
sendmail processes this BEFORE rewriting addresses. However, since
mail is now going to the right place that's not a problem.
Well, onto the next problem! Thanks again!
Larry
Original post
-------- ----
Dear Managers,
I thought this would be a FAQ, but I can't find the answer either
in the archives or in the sendmail documentation (of course, I have a
long record of being blind and/or stupid..).
We use sendmail v8.9.2 on Tru64 Unix v4.0Dp3. A very common
mailing error is handled most ungracefully. Here's the situation:
Two T64U hosts: A.cs.wsc.ma.edu and B.cs.wsc.ma.edu. A is a POP/IMAP
server which also answers to the name cs.wsc.ma.edu. A student logged
into B tries to send e-mail to larry. larry is rewritten by sendmail
as larry@B.cs.wsc.ma.edu. This address bounces (it should just be
larry@cs.wsc.ma.edu). Question #1: how can I tell sendmail to rewrite
names without hosts as name@cs.wsc.ma.edu? The sendmail documentation
is rather cryptic on this point.
The bounce message is sent both to postmaster and to student.
The one to postmaster is handled correctly. However, the bounce
message to student tries to go to student@B.cs.wsc.ma.edu, which also
bounces. Hence as far as student knows, the original message went
through OK, while postmaster/root gets two bounce messages. Question
#2 (which may be Question #1 again in disguise): how can I tell
sendmail to send the bounce message to student@cs.wsc.ma.edu? Bounces
from outside our subdomain are handled correctly; I don't want to
change that.
Our current sendmail configuration includes
MASQUERADE_AS(`cs.wsc.ma.edu`)dnl.
E-mail to student@B.cs.wsc.ma.edu is aliased to
student@B.cs.wsc.ma.edu.REDIRECT. (I don't want incoming mail to host
B).
TIA,
Larry
============================================================================
Larry Griffith Dept. of Computer & Info Science
larry@cs.wsc.ma.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html
============================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-02-26 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-26 13:29 [SUMMARY]Sendmail configuration question Larry Griffith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox