[exim] Exim smarthost condition

Top Page
Delete this message
Reply to this message
Author: Eduardo Silvestre
Date:  
To: exim-users
Subject: [exim] Exim smarthost condition
Hello guys,

We are testing a Comodo Antispam Gateway in a bunch of servers. The configuration that we are using is from their kb <http://help.comodo.com/topic-157-1-288-4545-configuring-exim---cpanel-to-use-a-smarthost.html>.

This servers have a few IPs and 200 domains (some of them with dedicated IP for web and mail). However i just want give this service "as trial" for some customers. How can i make a condition to just relay if based on mailips, match with one or more IPs (xxx.xxx.xxx.6)?

E.g (/etc/mailips)

domain1:xxx.xxx.xxx.1
domain2:xxx.xxx.xxx.2
domain3:xxx.xxx.xxx.3
domain4:xxx.xxx.xxx.4
domain5:xxx.xxx.xxx.5
*:xxx.xxx.xxx.6

Looking for your feedback.

Melhores Cumprimentos / Best Regards,

---


Eduardo Silvestre