HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   setting up email pipes? (http://www.howtoforge.com/forums/showthread.php?t=54168)

mangoo 17th September 2011 17:15

setting up email pipes?
 
How can I set up email pipes in ISPConfig3?

Say, I would like all email coming to someuser@example.com (or@example.com 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?

falko 18th September 2011 10:33

I think you can set up a Postfix filter: http://www.postfix.org/FILTER_README.html

mangoo 18th September 2011 12:27

Quote:

Originally Posted by falko (Post 263710)
I think you can set up a Postfix filter: http://www.postfix.org/FILTER_README.html

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.

commentator 14th July 2012 21:55

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


All times are GMT +2. The time now is 16:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.