Postfix: Auto-run script when mail received

Discussion in 'Server Operation' started by Jürgen, Jul 18, 2010.

  1. Jürgen

    Jürgen New Member

    Hey,

    I've created a mailbox user, e.g. [email protected]. People will send mails with an attachment at this mail address. Now, I would like to create a script which automatically extracts the attachment on my server and which does some other operations.

    Is there a possibility to accomplish this with postifx?
    Or should I use a server cronjob which checks the mailbox every 5 minutes for new mails?

    Thanks for your help!
     
  2. sjau

    sjau Local Meanie Moderator

Share This Page