Thanks Steffen, It was a great idea. I tried for hours to make it work 100 different ways using LOCAL_USER and LOCAL_DOMAIN. Sendmail is so &*&$#@ complicated.
No matter what I do I still get the following for root and no email in local root mail file: stat=User unknown Mailbox disabled for this recipient SYSERR(root): savemail: cannot save rejected email anywhere -----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Steffen Kaiser Sent: Wednesday, September 16, 2009 5:03 AM To: [email protected] Cc: [email protected] Subject: Re: [Mimedefang] User list strategy problem ... sendmail doesn't know what to do with root email -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 31 Aug 2009, Cliff Hayes wrote: > I added the following to sendmail.mc > > define(`MAIL_HUB', `sendmail.mydomain.com')dnl > FEATURE(`stickyhost')dnl > ...and of course it has a SMART_HOST entry pointing to > sendmail.mydomain.com... Hmm, did you've read http://www.sendmail.org/m4/masquerading.html ? Never played with MAIL_HUB/SMART_HOST myself, but LOCAL_USER(`usernames') looks promising. BTW: Last line of the page: "For duplicate suppression to work properly, the host name is best specified with a terminal dot:" Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSrC3zdlJzF6z/k3SAQLaFAgAsNckDuZRvYdLabY2w9Ff1KqTezx7KQ9d WHrUIJsmWEHPj4lFhxzxhxinzyFKJnpGibIYU5azTXKsNAro36JtjM6YS5WvxK9F lLsozUcpo9i4sDI/xjtBuhqMbJJcipltfKXGKrpu+n5KR5Zg/31b65mQwxei4MOl Hvw3LVa0TLGPRR9luNfs+FS/nmi3skOVCSBSvHD7OLuqHQAogpALMsG6pyZG+gRU T/KIFZHF7xnMnxwIbMDlaceh/Qg0RxNNDvyaulvywsLpg6OLMl/LA7fhGpPFUN4R JWYhBlKmLBz0LYVqKgRVH3mqmZdVORxnA8McEc2r9lUCFMcd+21TrA== =wczo -----END PGP SIGNATURE----- _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

