Article View: aus.computers.linux
Article #54812Re: Multiple email aliases
From: Peter Rye
Date: Wed, 10 Sep 1997 00:00
Date: Wed, 10 Sep 1997 00:00
42 lines
1622 bytes
1622 bytes
sjm@ee.latrobe.edu.au (Steve Merrifield) writes: > > Hi, > > 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. procmail With something like this in /etc/procmailrc. :0: * cyberpromo\.com /dev/null :0: * answerme\.com /dev/null :0: * iemmc\.org /dev/null :0: * ^To: dad /var/spool/mail/dad :0: * ^To: mum /var/spool/mail/mum -- Peter Rye <prye@picu-sgh.demon.co.uk> Consultant in Paediatric Intensive Care, St. George's Hospital, London, UK Ph: +44 (0)181 725 1932 Fax: +44 (0)181 725 0089 ** Smoking areas in restaurants are like peeing areas in swimming pools. **
Technical Details
Message-ID:
<m3bu21lba4.fsf@picu-sgh.demon.co.uk>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: Peter Rye <prye@picu-sgh.demon.co.uk> Subject: Re: Multiple email aliases Date: 1997/09/10 Message-ID: <m3bu21lba4.fsf@picu-sgh.demon.co.uk> X-Deja-AN: 271281766 References: <5v510l$lsm$1@news.latrobe.edu.au> X-NNTP-Posting-Host: picu-sgh.demon.co.uk [194.222.182.163] Organization: St. George's Hospital, Paediatric ICU Newsgroups: aus.computers.linux