Article View: aus.computers.linux
Article #54752Re: Multiple email aliases
From: Russell Coker
Date: Wed, 17 Sep 1997 00:00
Date: Wed, 17 Sep 1997 00:00
45 lines
2497 bytes
2497 bytes
In <5vn22v$5hl@mulga.cs.mu.OZ.AU>, paul@xenu.ee.mu.oz.au (Paul Dwerryhouse) writes: >rjc@soopy.virtual.net.au (Russell Coker) writes: > >>>Take a typical family with one ISP, and one account, username of >>>family@fake.isp but with several email aliases - eg dad@fake.isp, >>>mum@fake.isp etc... Mail is sent to dad, mum, and so on, but ultimately >>>it all ends up in the one file - /var/spool/mail/family. > >> If you use Qmail as your mailer then you can do the following: >>The following line in /etc/qmail/virtualdomains will direct mail for user@fake.isp to >>family-user@localhost: >>fake.isp: family > >I'd imagine it'd be a touch easier to just use procmail, given that most >people still run sendmail [and all three main Linux distributions still >supply it as the default] ;) It may be easier to do that, however when you consider the range of things that a typical small ISP will want to do with mail then qmail will fit the bill better. Changing to qmail isn't that hard to do (done it to 3 sites so far including my home server) and the local admins of 2 of them have found it very easy to do ongoing maintenance of qmail. Qmail is also more secure than Sendmail, it's considerably faster, and the base package has many functions that Sendmail won't do without considerable administration effort. >Something like the following in .procmailrc would probably do: > >:0 >* ^(To|Cc).*(mum@fake.isp) >$HOME/mum > >:0 >* ^(To|Cc).*(dad@fake.isp) >$HOME/dad One of the reasons I changed from Sendmail was to avoid having to use cryptic config files such as the above. Also that script appears not to have any way of sorting out envelope To addresses vs the To: field in the message header. What happens when mum@fake.isp and dad@fake.isp subscribe to a mailing list but little-johnney@fake.isp doesn't? How will you handle that? Russell Coker
Technical Details
Message-ID:
<5vpj62$ko$2@wendy.virtual.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5v510l$lsm$1@news.latrobe.edu.au> <5vfs6h$6sh$1@wendy.virtual.net.au> <5vn22v$5hl@mulga.cs.mu.OZ.AU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,7f724206fd3711e X-Google-Attributes: gid102983,public From: rjc@soopy.virtual.net.au (Russell Coker) Subject: Re: Multiple email aliases Date: 1997/09/17 Message-ID: <5vpj62$ko$2@wendy.virtual.net.au> X-Deja-AN: 273480698 References: <5v510l$lsm$1@news.latrobe.edu.au> <5vfs6h$6sh$1@wendy.virtual.net.au> <5vn22v$5hl@mulga.cs.mu.OZ.AU> X-Server-Date: 17 Sep 1997 21:47:46 GMT Reply-To: rjc@snoopy.virtual.net.au (Russell Coker) Organization: Virtual Access Internet Cafe Newsgroups: aus.computers.linux