Re: [Exim] SRV support through queryprogram router?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: everton
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] SRV support through queryprogram router?
Nico Erfurth wrote:

>> Now I'd like to write a Perl script or something to parse syncsolver
>> output and generate the proper string to be issued to Exim's
>> queryprogram router.
>>
>> But I can't see a way to:
>> 1. Pass the SRV port parameter to Exim.
>> 2. Make Exim to try every SRV record, until one which succeeds
>>    (like the 2 records for _smtp._tcp.vanrein.org in the example above).

>>
>> Does anyone know if it's possible to accomplish such task?
>>
>> Maybe the queryprogram router could be extended a little?
>
>
> I think the better way to do this is a manualroute router that uses
> ${run} or ${readsocket} (i would prefer readsocket, because it should be
> faster) in its route_data option.


Ok, just checked it again, the manualrouter way will NOT solve your
port-problem :-/ but at least it allows you to specify multiple servers.

ciao