vx3r / wg-gen-web

Simple Web based configuration generator for WireGuard

Home Page:https://wg-gen-web-demo.127-0-0-1.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unauthenticated SMTP Relay?

blongmon opened this issue · 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 <wireguard@domain.de>

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: account@gmail.com

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