-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support Insecure and Non-Authenticated SMTP Servers on Localhost #54
Comments
Hey @fritz-fritz 👋, You should be able to go to Ghosler > Settings > Scroll down to Email Settings > Add all the required info. > Save. |
Yes I understand that much, though the goal is NOT to use a hardcoded SMTP server and instead rely on NodeMailer's Sendmail transport directly. Ghosler does use NodeMailer correct? |
Ghosler indeed uses Afaik the |
I do appreciate how responsive and helpful you are! Okay well I have confirmed I can talk to my sendmail server via "mail":[{"reply_to":"'Support' <[email protected]>","from":"'Newsletter' <[email protected]>","host":"localhost","port":"25","batch_size":10,"delay_per_batch":1250,"auth":{"user":null,"pass":null},"secure":false}] Unfortunately, it doesn't actually send. Ghosler Error Log:
Mail Log:
I'm not sure what is causing the SSL error as theoretically I have disabled secure transport on the mail setting. But my theory here is that Ghosler initiates the connection to the MTA but with SSL/TLS and so doesn't handle the response properly hence the MTA not getting the MAIL command. |
Oh and I am using a local sendmail instance to relay to my sender so that I can apply custom milters to the outgoing messages such as MIME signing. |
ahhhhh you hardcoded it to use secure transport Line 192 in 244575e
|
I'm not sure if I am doing something wrong, but I can't seem to successfully use the Sendmail Transport for NodeMailer. I was under the impression that the configuration file format is the same as Ghost and so attempted to manually replicate the same settings.
As I have sendmail successfully configured on the VPS where Ghosler and Ghost will be running, I do not require SMTP and instead just the Sendmail transport.
My Ghost config.production.json mail snippet is here:
And so my Ghosler equivalent was similarly thus:
Unfortunately though, the analytics tab shows that it was stuck "Sending" and had not gone out. I do not see anything in the logs either in Debug or in Error.
Additionally, such a change to the config.production.json causes the "Settings" tab to return a 500 code so I suspect the backend does not parse the config correctly or handle the transport definition.
The text was updated successfully, but these errors were encountered: