Gyeong Deok Kwon <kkd...@gmail.com> wrote: > 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? > > Regards,
Do you want to do it before or after postfix accepts the message? Do you want to do it for all or one/some user/mailboxes? If you want to do it for one user after postfix accepts the message you may consider using dovecot sieve. http://wiki2.dovecot.org/Pigeonhole/Sieve -- A. Filip