On 07/12/13 22:36, Gregory Nowak wrote: > On Sat, Dec 07, 2013 at 07:22:09AM -0800, David Guntner wrote: >> Look into Procmail, which might already be installed as the LDA for Postfix. > > Maildrop should also work fine here if you prefer that. If your script > runs as a specific user, and that specific user doesn't get any other > mail, then a .forward file in that user's home directory could also be > used to pass mail to your script. If you want to use a .forward file, > then it would contain something like: > > |/usr/local/bin/myscript > > and the mail message would be passed to /usr/local/bin/myscript for > parsing. If the mails go to a virtual user, then you want to put a > file called .forward+virtualaddress in the virtual users directory > where virtualaddress is virtualaddr...@example.com. > > Greg > >
Thnks, Greg; this looks useful. I'm not familiar with maildrop, but shall investigate. One problem is that all email users are virtual; no home directories, and they pick up mail via imap. Cheers -- Tony van der Hoff | mailto:t...@vanderhoff.org Buckinghamshire, England | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52a46030.7020...@vanderhoff.org