Gyeong Deok Kwon:
> Hello postfix community,
> 
> I have a postfix(from source code) + dovecot setup for my university
> term-project.
> I want postfix call my custom function whenever postfix receive mails, but
> couln't find the function.
> 
> Can I know the function of handling mail reception?

Postfix has documented interfaces to access the internal mail stream.
A someone mentioned, this is in
http://www.postfix.org/CONTENT_INSPECTION_README.html.

If you deliver to a UNIX system account then you may also
have a look at:

- Procmail, if it is still being used, 

- Shell commands in $HOME/.forward as described in the Postfix
  aliases(5) manpage http://www.postfix.org/aliases.5.html

Finally, if you deliver to Dovecot, it has its own mail filtering
language.

        Wietse

Reply via email to