[Exim] Avoiding SPAM

Top Page
Delete this message
Reply to this message
Author: CarolO
Date:  
To: exim-users
Subject: [Exim] Avoiding SPAM
All,

I'm new to this mailing-list, but I have one question, which I can't find in
the documentation.

We are using exim as mail relay servers for our customers. We have
configured inbound mail relay (from Internet via relay to customer) via two
files. The file "inboundrelay_domains.conf" is used to configure all domains
for which the server is responsible. The file "inboundrelay_domain2mta.conf"
is configured with ip addresses of customer mailservers, which are
responsible for domains. So for example:

*.foo.com                    ==> configured in
inboundrelay_domains.conf
*.foo.com  192.168.1.2 byname        ==> configured in
inboundrelay_domain2mta.conf


We have configured outbound relay (from customer via relay to Internet) via
a file "outboundrelay_customer_hosts.conf". This looks like:

192.168.1.2/32

Is there a possibility to accept only outbound mail from 192.168.1.2 from
domain foo.com, based on the domains which are configured for inbound relay.
In other words, is it possible to avoid SPAM from our customers to Internet,
to use a "backward check" based on the inbound configuration ? Via the
inbound configuration I know which domains are delivered on that specific ip
address. That means that I can only accept mail from this specific domain
from this specific ip address.

Greetz,

Carol Overes