wg-gen-web icon indicating copy to clipboard operation
wg-gen-web copied to clipboard

Unauthenticated SMTP Relay?

Open blongmon opened this issue 4 years ago • 0 comments

Hi! I'm hosting my own mailserver with whitelist for relaying mails.

The enviroment in docker-compose.yml looks like this:

environment:
  - WG_CONF_DIR=/data
  - WG_INTERFACE_NAME=wg0.conf
  - SMTP_HOST=mailserver.internal
  - SMTP_PORT=25
  - SMTP_FROM=WgGenWeb <[email protected]>

Following Error in wg-gen-web container:

wg-gen-web | time="2020-12-24T00:15:16Z" level=error msg="failed to send email to client" err="535 5.7.3 Authentication unsuccessful"

And in mailserver:

Inbound AUTH LOGIN failed because of LogonDenied User Name: [email protected]

The container tries to auth without specifing anything. Could this be changed easily?

blongmon avatar Dec 24 '20 00:12 blongmon