Add Alias To Script
From Zimbra :: Wiki
Pointing an email address to a server script
If you have a script that receives and parses incoming email you may need to setup an alias to point to your script. There are two steps involved.
1. Add your alias to the postfix aliases file:
Open file: /path/to/zimbra/postfix/conf/aliases
Add your alias:
support root, |/path/to/script.pl
2. Edit the main master.cf file to include the server ip address:
Open file: /path/to/zimbra/postfix/conf/master.cf
Find the line that reads: "-o mynetworks=127.0.0.0/8"
Add your server's ip address to the end: "-o mynetworks=127.0.0.0/8,192.168.1.1" where 192.168.1.1 is the IP address of your mail server.
You will also need to comment the line just above this line so it reads: " #-o mynetworks_style=host"
That is it. You should now just need to restart zimbra and be good to go. You may also need to run "/path/to/zimbra/postfix/sbin/newaliases" Keep in mind if your mail server is named "mail.domain.com" you will need to use the full server address including "mail." even if you normally do not.
Thank you to Mike Bradley of the Zimbra Forums for figuring this out.
See http://www.zimbra.com/forums/administrators/9986-urgent-etc-alias-configuration-after-upgrade.html for another (and probably correct solution) to this problem.
|Verified Against: unknown||Date Created: 1/25/2007|
|Article ID: http://wiki.zimbra.com/index.php?title=Add_Alias_To_Script||Date Modified: 02/1/2011|