Re: [exim] Sending Email Round Robin

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Olivier Bonvalet
Date:  
À: exim-users
Sujet: Re: [exim] Sending Email Round Robin
Hello,

by using a short SQLITE table you can do something like that on the
"remote smtp" transport :

> interface = ${lookup sqlite {SQLITE_Q_USERINTERFACE}{$value}fail}
> helo_data = ${lookup sqlite

{SQLITE_Q_INTERFACEHELO}{$value}{$primary_hostname}}

with :
SQLITE_Q_USERINTERFACE = /you/database/path \
    select interface from interface order by random


SQLITE_Q_USERINTERFACE = /you/database/path \
    select helo from interface where interface = 
'${quote_sqlite:$sending_ip_address}'



But be carefull with "random", some greylisting system don't like it at all.

++
Olivier

gene303 a écrit :
> Magnus,
>
> Exactly, I have a single machine with a single interface with multiple IP
> addresses. Thanks.
>
>
> Magnus Holmgren-3 wrote:
>
>> On tisdagen den 23 september 2008, gene303 wrote:
>>
>>> I would like to send email round-robin from a few different ip addresses.
>>> I
>>> would like to do this so that I can deliver to yahoo a little faster by
>>> using different ip addresses.
>>>
>> So you have a single machine with a single interface with multiple IP
>> addresses?
>>
>> -- 
>> Magnus Holmgren        holmgren@???
>>                        (No Cc of list mail needed, thanks)

>>
>>
>> --
>> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>>
>>
>
>