Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: multiple domains with sendmail
- To: tlug@example.com
- Subject: Re: tlug: multiple domains with sendmail
- From: Oliver Oberdorf <oly@example.com>
- Date: Tue, 24 Nov 1998 22:22:55 -0500
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- References: <Pine.LNX.3.96LJ1.1b7.981125093218.24851v-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hi, It is possible to do this with sendmail, but you probably need to mess with the rewriting rules in the sendmail.cf file. You can get almost any special case behavior out of sendmail this way, but it is quite painful to do. I don't know much about qmail, but it does allow you to handle two virtual domains differently. If info@ isn't the only think you'd like to separate out, this is definitely the way to go. Note that qmail delivers to folks' home directories, rather than to the standard spool file. Probably configurable. A final solution, if this is just a really special case, is procmail. You could setup an info account (I'm assuming both info addresses are just aliases and different people take turns in the two separate roles?). info could have a .forward file that filters incoming mail through procmail. Then you just need a .procmailrc for info that sends info@example.com to one user and info@example.com to another; or better yet to two more distinct aliases that you can then more easily administer. -------------- .forward: "|exec /usr/local/bin/procmail" -------------- -------------- .procmailrc: :0 * ^TOinfo@example.com phtinfo :0 * ^TOinfo@example.com turboinfo -------------- -------------- /etc/aliases: # may need to run 'newaliases' after editing phtinfo: cliff turboinfo: sstone -------------- Hope this helps, -Oly P.S. My wife and I are in the states, but thinking of working in Tokyo in a year, what's it like - do you enjoy working there? Scott Stone wrote: > > OK, if I have one machine that has 2 domainnames bound to it with virtual > IPs (ie, pacific.pht.com receives mail for *.pht.com and > *.turbolinux.com)...now, if I want to have 'info@example.com' and > 'info@example.com' NOT be the same (currently, if I set up > 'info@example.com', 'info@example.com' will be identical), how do I do > that, using sendmail 8.9.1? Or is it even possible with sendmail? If > not, what can do this, qmail? > > -------------------------------------------------- > Scott M. Stone <sstone@example.com, sstone@example.com> > Head of TurboLinux Development/Systems Administrator > Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) > > ---------------------------------------------------------------- > Next Technical Meeting: 12 December, 12:30 HSBC Securities Office > Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691 > ---------------------------------------------------------------- > more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities ---------------------------------------------------------------- Next Technical Meeting: 12 December, 12:30 HSBC Securities Office Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691 ---------------------------------------------------------------- more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities
- References:
- tlug: multiple domains with sendmail
- From: Scott Stone <sstone@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Bus speed question
- Next by Date: tlug: Firewall machine - how fast for ethernet speeds
- Prev by thread: tlug: multiple domains with sendmail
- Next by thread: Re: tlug: multiple domains with sendmail
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links