Configuring NetAuth host #823
-
|
Hi! In my setup, maddy runs in a different host than the NetAuth server. How do I tell maddy to connect to that given machine, instead of localhost? I haven't tried yet, but looking at https://maddy.email/reference/auth/netauth/ it seems that localhost is assumed. Bye :) Cc: @the-maldridge |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
This is really much more of a NetAuth question than a Maddy question, but the short answer is that Maddy respects the system NetAuth configuration file which is typically loaded from |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, the phrase "the system NetAuth config file" is the one which got
me confused, as in my case I don't have a system NetAuth config file on
the maddy host, but it's only on the NetAuth host.
Maybe something along the lines of "This is because NetAuth clients read
most of the configuration values from the default NetAuth config file
located at /etc/netauth/config.toml" would be less confusing, as it does
not imply that the file is the same one read by the NetAuth daemon (and
indeed, in my case, it isn't -- I just copied over the `bind` setting).
|
Beta Was this translation helpful? Give feedback.
This is really much more of a NetAuth question than a Maddy question, but the short answer is that Maddy respects the system NetAuth configuration file which is typically loaded from
/etc/netauth/config.tomland will contain the address of the NetAuth servers that this host should contact.