how can we configure digzo, that emails to a sub
domain ( e.g.
abc(a)subdomaim.domain.com ) are routed to a different host, not to the default
Djigzo uses Postfix for the actual delivery of email so yes this is
possible. This however requires you to login with SSH because it cannot
be done with the web interface.
It depends on you Linux skills whether you can do it yourself or whether
you have to ask someone else.
1) Create a file /etc/postfix/tranports and add the domains for which
you want to use an an alternative relay transport:
the file in /etc/postfix/transports should look like:
You can use vi or any other command line editor. You have to make sure
you use sudo because writing a file in /etc/postfix requires root
access. You can add additional domains on a new line.
2) the tranports map must be converted to a hashmap:
$sudo postmap /etc/postfix/transports
(the postmap command converts the transports file to transports.db)
3) the main postfix config must now be told to use this transport map.
You have to add the following line to /etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transports
(this step can be done using the web management page by clicking admin
-> MTA config -> MTA raw config. You can add the above line to the raw
main.cf config and apply.
4) restart postfix
sudo /etc/init.d/postfix restart
Hope this is clear enough. If not I can help you building the correct
tranport map if you give the the domains and relay ip's.
Djigzo open source email encryption