Sendmail configuration question

From: Larry Griffith <larry_at_cs.wsc.ma.edu>
Date: Wed, 24 Feb 1999 11:22:16 -0500

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_at_B.cs.wsc.ma.edu. This address bounces (it should just be
larry_at_cs.wsc.ma.edu). Question #1: how can I tell sendmail to rewrite
names without hosts as name_at_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_at_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_at_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_at_B.cs.wsc.ma.edu is aliased to
student_at_B.cs.wsc.ma.edu.REDIRECT. (I don't want incoming mail to host
B).

                                                TIA,
                                                Larry
Received on Wed Feb 24 1999 - 16:25:10 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT