I’m trying to use a secondary Mailcow account from my main Mailcow account.
I successfully setup IMAP connection so I can read emails received by secondary account but sending mail is a bit more difficult.
In the IMAP account settings I’ve filled up outgoing SMTP server to postfix (container name) on port 25 without any encryption.
When I try to send an email I ge’t this messages : “cannot send message: (smtp) authentication failure”
Postfix log for this attempt is the following
May 8 19:41:59 667311d303ca postfix/postscreen[426]: CONNECT from [fd4d:6169:6c63:6f77::4]:44400 to [fd4d:6169:6c63:6f77::c]:25
May 8 19:41:59 667311d303ca postfix/postscreen[426]: ALLOWLISTED [fd4d:6169:6c63:6f77::4]:44400
May 8 19:41:59 667311d303ca postfix/smtpd[429]: connect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[fd4d:6169:6c63:6f77::4]
May 8 19:41:59 667311d303ca postfix/smtpd[429]: disconnect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[fd4d:6169:6c63:6f77::4] ehlo=1 quit=1 commands=2
I get the same behaviour with either Smtp Auth enabled or not.
I replaced mynetworks in data/conf/postfix/extra.cf as suggested in the documentation to allow internal automated mails to be sent flawlessly and, outside dockerization, they works.