Article View: aus.computers.linux
Article #54776Re: Multiple email aliases
From: Russell Coker
Date: Sun, 14 Sep 1997 00:00
Date: Sun, 14 Sep 1997 00:00
27 lines
1597 bytes
1597 bytes
>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. > >Is there a script/program which takes that file and splits it up into >separate mail files for each alias? So dad didn't receive mums mail >and vice versa... > >ie, multiple addresses feeding one file, but then being split based >on the To: line in the header. 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 Under ~family you setup files named .qmail-dad, .qmail-mum, etc for the different user names in the fake.isp domain. The files can specify which mailbox to store the data in (or where to forward it). I plan to write a patch for the qmail POP server to support those mailboxes (if no-one else beats me to it). Russell Coker
Technical Details
Message-ID:
<5vfs6h$6sh$1@wendy.virtual.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5v510l$lsm$1@news.latrobe.edu.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/14 Message-ID: <5vfs6h$6sh$1@wendy.virtual.net.au> X-Deja-AN: 272333295 References: <5v510l$lsm$1@news.latrobe.edu.au> X-Server-Date: 14 Sep 1997 05:20:17 GMT Organization: Virtual Access Internet Cafe Reply-To: rjc@snoopy.virtual.net.au (Russell Coker) Newsgroups: aus.computers.linux