Thanks to all that replied, especially Peter Ondruska, Stuart Little, and Yura Pismerov. Here's the basics: http://www.sendmail.org/virtual-hosting.html 6.If you would like to reverse-map local users for out-bound mail, you will need to add support for the generics table to your .mc file: FEATURE(`genericstable', `dbm /etc/mail/genericstable')dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl And you will need to create /etc/mail/genericstable which is like /etc/mail/virtusertable above except the columns are reversed: jschmoe joe@yourdomain.com Note: you may also wish to consult our Masquerading and Relaying page. -t > Date: Wed, 21 Nov 2001 16:08:49 -0700 (MST) > From: Thomas Lester <tlester@localhost> > Subject: changing reply-to for a user...? > To: sunmanagers@sunmanagers.org > > I want to set up first.last@domain.com e-mail aliases for my users. This is easy > for incoming mail. I just put: > > first.last: userid@domain.com > > in the /etc/aliases file and it gets routed, but what about outbound? Is there > a way to translate the outbound mail, so that when a user sends mail from mail, > mailx, or dtmail his or her userid get's translated to first.last@domain.com. > > I.e. if I'm user "tlester" and I send an e-mail to Jane Doe from mailx, I'd like > Jane Doe to receive my e-mail from "thomas.lester@domain.com". > > Is this possible? If so... how? > > -t > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > {Thomas Lester ~~~ Sr. UNIX Administrator ~~~ tlester@iakom.com} > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "It does not do to leave a live dragon out of your calculations, if > you live near him." -- J. R. R. Tolkein ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {Thomas Lester ~~~ Sr. UNIX Administrator ~~~ tlester@iakom.com} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Meatspace" - The physical world (as opposed to the virtual world), also "carbon community." _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Nov 22 21:25:20 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:28 EST