[Workaround] Call program upon receipt of mail

Christoph Haas email at christoph-haas.de
Fri Mar 17 13:15:48 CET 2006


Hi, Marc....

On Friday 17 March 2006 12:48, Marc Gerges wrote:
> I am currently setting up imapfilter to move mail into folders based on
> specific criteria. Is there a way to call a program automatically after
> a message has been received, ideally with the received email address as
> parameter?

There are not so many MDAs (mail delivery agents) that you could choose 
from. The most famous one here is "maildrop". Just note:

- the "courier-maildrop" package should not be used with Postfix
- use "maildrop" instead
- DANGER: the "maildrop" package does not come with SQL-support
  compiled in in the Sarge version. You will likely need to compile
  your own binary.

> I guess it needs an entry in the master.cf file, but I'm really lost
> there...

Try http://www.postfix.org/MAILDROP_README.html

Kindly
 Christoph
-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All



More information about the Workaround-chitchat mailing list