Mailcow-dockerized: Relayhost configuration

Created on 7 Nov 2017  Ā·  4Comments  Ā·  Source: mailcow/mailcow-dockerized

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?

Most helpful comment

This is fixed, too.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

poldixd picture poldixd  Ā·  3Comments

schoebelh picture schoebelh  Ā·  3Comments

Braintelligence picture Braintelligence  Ā·  3Comments

pgollor picture pgollor  Ā·  3Comments

starcraft0429 picture starcraft0429  Ā·  3Comments