From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515903.tru64-unix-managers.marc@archive.invalid> From: Larry Griffith Date: Wed, 24 Feb 1999 16:22:16 +0000 To: tru64-unix-managers Subject: Sendmail configuration question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515903 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