-
Notifications
You must be signed in to change notification settings - Fork 16
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
Drop-in replacement for sendmail / ssmtp #37
Comments
A script would be much easier to support this feature. I will give it a shot when get some time. |
Thanks for considering my suggestion. In the meantime I found that esmtp provides what I need. I still consider it a good idea to add something similar to |
@svenfoo out of curiosity, have you considered using msmtp? https://marlam.de/msmtp/ |
Do you mean to support msmtp's configuration for mailsend-go? |
@muquit (in case your question was directed to me) not really, sorry for not being clear. After stumbling upon this GH issue, I did a quick search for other smtp clients out there, found & read about msmtp, and thought it matches @svenfoo's requirements of having a sendmail-compatible tool that'd be based on a config file. |
I am administering a UNIX system and I'd like it to be able to send mails from cron jobs. Of course I could install a full-fledged MTA, but I'd like to keep things simple.
ssmtp
seems to be the recommended solution, but I found that it doesn't implement SASL properly and the Postfix server on the other side won't accept mails from ssmtp. Since ssmtp seems unmaintained I started looking for alternatives and came acrossmailsend-go
. I've tested it with my Postfix server and it seems to work nicely.Unfortunately I can not just use
mailsend-go
as a drop-in replacement forsendmail
, the way thatssmtp
allows it. Thus I would like to suggest this as a feature. Themailsend-go
binary could provide a sendmail-compatible mode that is activated when called assendmail
. It would then read some configuration like the SMTP server, port, credentials, etc. from a config file and accept the mail the way that sendmail accepts it, with To:, From: Subject:, ... headers followed by the mail body. That way it could be invoked by cron or other system tools that expect a sendmail compatible MTA.Is that a reasonable feature request? Would there be interest in adding such a feature to
mailsend-go
? I imagine that it could either be implemented in mailsend-go directly, or there could be a wrapper script that provides the sendmail interface and adapts it to the existing mailsend-go command-line interface.The text was updated successfully, but these errors were encountered: