Re: [exim] Choosing the outbound IP address according to a D…

Inizio della pagina
Delete this message
Reply to this message
Autore: Andrew C Aitchison
Data:  
To: mje
CC: Users, Exim
Oggetto: Re: [exim] Choosing the outbound IP address according to a Database query.
On Mon, 12 Mar 2018, Mark Elkins via Exim-users wrote:

> The machine is for Mail Submission - so it can have a common "inbound"
> interface for my clients - and just needs a specific outbound IP address.
>
> I have a fair number of IP addresses. I'd like to have a pool of
> interfaces - each with their own IP address. My users details are all
> stored in a database table so I could also add an IP address there, the
> one that this particular client should use when my EXIM sends out their
> e-mail. If that IP address becomes blacklisted - it would then affect a
> much smaller percentage of my users. I could then have one IP address
> per group of customers!
>
> In exim.conf - I've used:
>
> # Interfaces That Exim Listens on
> local_interfaces = <; 127.0.0.1 ;    ::1 ; \
>                       192.111.222.1 ;  2001:1234:abcd:5678::1 ; \
>                       192.111.222.2 ;  2001:1234:abcd:5678::2 ; \
>                       192.111.222.3 ;  2001:1234:abcd:5678::3
>
> (fake numbers)
>
> I assume one could assign a particular IP address for outbound?


I don't know the current position, but in 2011 Spamhaus was blacklisting
IPv6 addresses in /64 blocks
https://www.spamhaus.org/organization/statement/012/spamhaus-ipv6-blocklists-strategy-statement
so I don't know whether your pool of addresses will protect your clients
as well as you hope.

-- 
Andrew C. Aitchison                    Cambridge, UK
             andrew@???