Configure PostFix to use a Smarthost
You should provide the hostname of the DAS server that you are using as your preferred CSEG service domain.
Route all mails to a smarthost:
These instructions assume the postfix config files live in /etc/postfix/main.cf
In/etc/postfix/main.cfadd the line:
European Union
relayhost =
mxpool1.spamgateway.comodo.com:587
United States
relayhost = mxpool1.us.spamgateway.comodo.com:587
Routing all mails for a specific domain to a smarthost :
Note: The information below relates to a very
specific customer requirement and is not recommended for most
deployments. A configuration like this can cause problems which will
be hard to troubleshoot. Unless you are sure you need to use this
setup, please explore the other available options for routing mail.
|
Add a line to /etc/postfix/transport:
European Union
example.com smtp:mxpool1.spamgateway.comodo.com:587
United States
example.com smtp: mxpool1.us.spamgateway.comodo.com:587
postmap hash:/etc/postfix/transport
To use the transport file, add or edit a line in /etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
Restart Postfix and all mail. The mail for selected domains should go trough the Smarthost.