Closed Gr4Ss closed 1 week ago
Hey setting up mails without any user/password or certificate screams bad practice ! You shouldn't ever do that so i doubt The Pelican Team will ever make those fields optional.
There are legit reasons where you might want to use unauthenticated SMTP, e.g. when using postfix on localhost to forward the mails. Or OPNSense's postfix plugin doesn't even support user authentication currently...
It isn't like a mail server without authentication immediately means there is a mail server sitting open to the internet.
Current Behavior
When setting up an SMTP Servers via the panel interface, the 'Username' is a mandatory field.
Filling in a username in this case will allow the config to be saved but causes errors when trying to send a (test) mail.
Expected Behavior
Username to be optional in case the mail server requires no authentication
By editing the .env file directly, it is possible to leave the username/password blank and get a working mail config for mail servers that require no username/password.
Steps to Reproduce
Panel Version
1.0.0-beta8
Wings Version
n/a
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?