-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mail/postfix - outgoing authentication broken under some circumstances #2830
Comments
Hi! imho this is not "A temporary solution" but is the only wright way to make to make it work if the plugin may authenticate on smart host with only a "plain" mech. since the plugin will always choose the most secure mechanism among those present on the server and client:
so may be adding |
Agreed. But possibly make it a configurable option? Are there any situations when anything else would be needed? From this document: I get that possibly
might be the best solution. Or make it a free form string in the advanced options section and leave it at the responsibility of the admin? Kind regards, |
the best way imho. |
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
I have come to the conclusion that inserting
unconditionally is the only sensible way to go for now. OPNsense does not support GSSAPI so outgoing SMTP (client) authentication will always fail if the remote mailserver offers GSSAPI and this line is not present. The patch does not change anything else. PR incoming ... |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Depending on the features of the relay host outbound authentication for relaying might fail.
To Reproduce
Configure the Postfix plugin, General, e.g.
Smart Host: mail2.pluspunkthosting.de:587
Enable SMTP Authentication: [X]
Authentication Username: postfix@hausen.com
Authentication Password: *******
Relay a mail through the Postfix server
Expected behavior
Postfix should authenticate at the relay host and send the mail.
Observed behavior*
I don't know if this is particular to my mail server. The server offers in its ESMTP banner these authentication options:
Postfix fails and the message stays in the queue forever:
If one increases the debug level to 10, we get this additional info:
A temporary solution is to disable GSSAPI configuration in main.cf:
or
I googled these config options, I really don't know what I am doing. So unfortunately I cannot suggest a patch but have to give this to someone who knows Postfix ...
Kind regards,
Patrick
The text was updated successfully, but these errors were encountered: