Comment on Recommendation for outgoing-only SMTP server
hperrin@lemmy.world 7 months agoCan’t you use sendmail? Also, check out my updated message above. You’ll need to make sure you can send outbound traffic on port 25.
Comment on Recommendation for outgoing-only SMTP server
hperrin@lemmy.world 7 months agoCan’t you use sendmail? Also, check out my updated message above. You’ll need to make sure you can send outbound traffic on port 25.
markstos@lemmy.world 7 months ago
Sendmail is a binary provided by a mail system and no mail system is installed by default on Fedora.
I’m looking for a solution that’s as simple as possible: provide a sendmail binary to pass the message to a third-party SMTP server.
I’ll connect to Mailgun via TLS— no port 25 involved.
mhzawadi@lemmy.horwood.cloud 7 months ago
Not sure if it’s in fedora, but I use nullmail as my mta. Simple to config and does just MTA
markstos@lemmy.world 7 months ago
Thanks. Turns out it’s not in Fedora.
hperrin@lemmy.world 7 months ago
Sendmail is provided by the
sendmail
package in Fedora. Here’s some instructions on installing and configuring it:tecadmin.net/install-sendmail-on-fedora/
markstos@lemmy.world 7 months ago
Sendmail is a full-blown MTA released 41 years ago that is notoriously difficult to manage. There are reasons that it’s market share has declined from 80% to about 3%. I’m also not looking for a MUA, like mutt. I’m looking for a simple MTA that that only relays outbound mail, like msmtp, ssmtp or nullmailer.
hperrin@lemmy.world 7 months ago
Again, if you aren’t using port 25, you don’t need an MTA. MTAs are for sending mail from one mail server to another. That’s not what you are doing. You don’t need to be running your own mail server. You are sending mail to an MSA (Message Submission Agent). Mailgun is the MTA that will handle transferring your message to your destination MTA.
If you were submitting mail to your destination server over port 25, you would need an MTA.
But, as you stated, you are submitting mail to an MSA using port 465 or 587. You need an MUA.
This terminology is important, because it determines what role the software you’re using plays and how you need to configure it.
There are plenty of tools that act as both MTAs and MUAs, because their roles are very similar. If you want to use the right tool the right way, I am telling you, with 100% certainty, you should be looking for an “SMTP client”, “email client”, or “mail user agent” (they mean the same thing). You do not want a relay server, and you do not want an MTA.