PDA

View Full Version : Postifx - moving incoming and outgoing mails to different account


webbies
30th May 2007, 17:16
Hi,

I have a postifx/courier installation on debian. Is it possible to copy incoming and outgoing mails to antoher account? Or is there an easier way to backup Mails on my server?

greetings

webbies

falko
31st May 2007, 15:09
For incoming mails, you could do it with procmail (see http://www.howtoforge.com/procmail_tips_recipes ).

For incoming and outgoing mails, you could write a Postfix filter: http://www.postfix.org/FILTER_README.html
http://www.postfix.org/SMTPD_PROXY_README.html
http://advosys.ca/papers/postfix-filtering.html

webbies
4th June 2007, 10:41
thanks for your posting .... I hope to get it working with my poor shell scripting skills :)