Subject: Re: popclient
To: Olly Betts <olly@MANTIS.CO.UK>
From: Adrian Bool <aid@u-net.net>
List: port-arm32
Date: 06/27/1996 17:10:48
On Thu, 27 Jun 1996, Olly Betts wrote:
> Alex Hayward writes:
> >If all the mail in the POP box is for one user, you can just append it
> >to their mailbox. Mine isn't (all mail sent to
> ><anything>@hayward.u-net.com goes to one POP box), and I have yet to
> >find a satisfactory way of distributing it locally when it arrives...
>
> A good answer to most mail filtering problems is procmail. You could (for
> example) set up a mail account which receives all the mail, set up its
> .forward to feed mail into procmail (or just pipe it into procmail from the
> mail alias file) and tell procmail to file the mail onto the end of the
> user's mail spool files.
I've never usedprocmail for this, hoever I did write a prgram to solve
thisprobalemcalled sm, for switchmail. Itl;s rather simple, but sortof
works, it's avilable form u-net's ftp site (ftp.u-net.com) in /pub/unix
somewhere... Could do with a n update possibly - I think it currently
uses the To: line to switch on - all u-nety mailnow hasan Apparently-To:
line which could bemore relaible.
Regards,
Aid
--
Adrian J Bool | http://www.u-net.net/
Network Operations | tel://44.1925.633144/
U-NET Ltd | fax://44.1925.633847/