Thursday, August 01, 2019

relayd feature request

Hi,

Today I found out that I was able to disable/enable hosts by name instead of id :)

It would be nice if it worked when a host is mentioned in multiple redirects/tables (ie different ports):

Id      Type            Name                            Avlblty Status
3       redirect        mx-smtps                                active
3       table           mx:465                                  active (2 hosts)
5       host            mx1                             100.00% up
6       host            mx2                             100.00% up
4       redirect        mx-subm                                 active
4       table           mx:587                                  active (2 hosts)
7       host            mx1                             100.00% up
8       host            mx2                             100.00% up

right now, relayctl host dis/en mx1, disables/enables it only in the first redirect.

I've looked at the code but didn't find a clean way to make it happen...

thanks in advance

G

No comments:

Post a Comment