On 08/02/17 21:47, Kirill Miazine wrote:
> * Eric Faurot [2017-08-02 13:24]:
>> On Wed, Aug 02, 2017 at 11:44:47AM +0200, Christian Gut wrote:
>>> Hi List,
>>>
>>> is it possible to have multiple relays (you might want to say smart hosts) 
>>> in smtpd?
>>>
>>> I currently use the following line:
>>>
>>> accept from local for any relay via smarthost.example.org 
>>> <http://smarthost.example.org/>
>>>
>>> Now I would like to have multiple smart hosts in there for backup reasons, 
>>> if one of the smart hosts is in maintainance. Is something like this 
>>> possible?
>>>
>>> accept from local for any relay via { smarthost1.example.org 
>>> <http://smarthost1.example.org/>, smarthost2.example.org 
>>> <http://smarthost2.example.org/> }
>>>
>>> Kind Regards,
>>> Christian
>>>
>> It's not possible at the moment.  There is ongoing work to support this 
>> feature,
>> along with other improvements. But it's quite a big change, and we can't 
>> give an
>> ETA right now.
> 
> what about defining a new name in DNS containing addresses of all
> smarthosts as a workaround for the OP for now?

Or, if it's for planned maintenance only, a single address (changed in
advance of the maint window) should also work I'd reckon.

Also: is this not a purpose to which relayd could usefully put using a
'check script'?

t

Reply via email to