Hi, Iāve configured a relayhost (relay.plus.net) through the mailcow UI but canāt see this in /etc/mailcow-dockerized/data/conf/postfix/main.cf. The reason for asking is that my relayhost does not require authentication so I have left the username and password blank, but is failing with the error āwarning: SASL authentication failure: All-whitespace usernameā. I suspect somewhere in the configuration it is trying to use authentication when communicating with the relayhost but I canāt see where this is configured.
BTW. Adding a relayhost by editing /etc/mailcow-dockerized/data/conf/postfix/main.cf works for me.
Can we add a relayhost through the mailcow UI with a tickbox for authentication/no authentication?
Having same problem, anyway to disable authentication?
EDIT: One solution that worked for me was to type a random username and password, the SMTP relay still accepted that. Though not sure if this will work for all SMTP relays that don't require authentication.
Fixed now. š Will push soon.
I noticed a somewhat related bug.
It is not possible to delete username and password on existing relayhosts, it reverts to previous settings when saving if username and password is not entered.
This is fixed, too.
Most helpful comment
This is fixed, too.