setting up email pipes?

Discussion in 'Installation/Configuration' started by mangoo, Sep 17, 2011.

  1. mangoo

    mangoo New Member

    How can I set up email pipes in ISPConfig3?

    Say, I would like all email coming to [email protected] ([email protected] catchall) to be piped through a /some/pipe/script.sh, rather than being delivered to the mailbox.

    Is there a way to do it in ISPConfig3?
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. mangoo

    mangoo New Member

    It's a bit of a hardcore way, and lack of basic functionality in a web GUI like this I would say!

    Anyway, what I did is:

    - in Mailbox -> Custom rules, added 'redirect "bounces@localhost";'

    - in /etc/aliases, added 'bounces: "|/some/script.sh"'

    - created a system user "bounces"

    - run "newaliases", so that Postfix picks up the new config


    It would be great if there was an easier way to do it.
     
    Last edited: Sep 18, 2011
  4. commentator

    commentator Member

    thank you. Now I can use my auto spamreporting again :)
     

Share This Page