Questions tagged [smtp]

SMTP is the Simple Mail Transfer Protocol, the most recent standard of which is defined in RFC 5321. It's the Internet standard for sending and receiving email.

Some characteristics of SMTP (Simple Mail Transfer Protocol):

  • The default port is TCP port 25 and new submissions (MSA) is port 587.
  • Although depreciated, some services still use port 465 (SMTPS) to support legacy applications.
  • It is used to transmit outbound mail, and mail servers (which listens on port 25) receives mail on port 25.
  • It should not be confused with POP3 / IMAP which is an actual store for the e-mail. SMTP messages are received by the receiving server and then an MTA moves it to the POP3 / IMAP mailbox where it is normally retrieved using a POP3 / IMAP client.

See Also:

RFC5321

3133 questions
8
votes
4 answers

Mailbox unavailable, client does not have permissions to send as this sender - only the first time

Our users can send emails from our ASP.NET Web application on the click of a button. In our testing environment, there is a strange thing going on. The first time the application tries to send the email, we get the exception: Mailbox unavailable.…
Peter
  • 196
  • 1
  • 1
  • 9
8
votes
4 answers

Steps to take to improve email deliverability

Successfully delivering email to my clients is a pretty high priority at my company. We are of course fully opt-in, paid clients, no possibility of spam, the whole thing. The information we email is specifically requested from us by the…
Ian
  • 1,498
  • 4
  • 26
  • 32
7
votes
4 answers

Windows Server 2019 built-in SMTP server: Emails stuck in queue and "The remote server did not respond to a connection attempt" in event log

I'm setting up a new dedicated server using Windows Server 2019. It's replacing an old one based on Windows Server 2008 R2. I have had the built-in SMTP server running on the old server with no issues. I have set up the new server to act as an SMTP…
MrFika
  • 121
  • 1
  • 1
  • 5
7
votes
1 answer

How to configure sendmail to send email via GMail (smtp.gmail.com), using port 465 or 587?

I have configures sendmail to send email via my GMail (Google Mail) account, i.e. via smtp.gmail.com, by editing /etc/mail/sendmail.mc and regenerating sendmail.cf: -dnl…
Jakub Narębski
  • 172
  • 1
  • 1
  • 6
7
votes
2 answers

SMTP defer vs reject

When should I use defer and when reject? In my case there is postfix running. The parameter smtpd_relay_restrictions defaults to defer_unauth_destination, while the Access Readme suggests reject_unauth_destination.
Alexander
  • 277
  • 2
  • 8
7
votes
1 answer

Sending mail from inside docker container

I am completely new do Docker, and a total n00b to linux, so apologies if this sounds silly. I have gotten a docker system up and running on Digital Ocean, and its working nicely. I am using a pre-built Mirth Connect docker and this runs beautifully…
Crudler
  • 207
  • 1
  • 3
  • 10
7
votes
3 answers

Setting up mail accounts without real Linux users

I've setup Postfix and Dovecot on my Ubuntu Server. My aim is to create 27 mail accounts that can receive and send mail to everywhere. I've got emails to not show up as spam in Gmail, Yahoo and Outlook. I send emails with Rainloop and everything is…
shavit
  • 187
  • 1
  • 2
  • 6
7
votes
3 answers

Is it a good idea to reduce the give-up time for e-mail delivery?

We run an e-mail server for a few customers, and we've recently run into a bit of a conundrum. We had a user who sent an e-mail to an incorrect e-mail address. The incorrectly specified domain unfortunately existed. It did not have MX records, and…
Per von Zweigbergk
  • 2,625
  • 2
  • 19
  • 28
7
votes
8 answers

How do I add outbound only mail service for local tools to a 'minimal' debian system?

I have several servers running applications on debian. Each has the packages it requires for the application, and no more. Currently, none have mail sending capability. However, I would like the output of tools like cron to be mailed to me. The…
John McAleely
  • 356
  • 5
  • 14
7
votes
3 answers

Configuring Monit to Send Mail through Office365

I'm trying to configure monit to send emails through Office365. Here's the relevant configuration: set mailserver smtp.office365.com port 587 username "username" password "password" using tlsv1 with timeout 30 seconds Unfortunately, it…
nsxt
  • 71
  • 1
  • 2
7
votes
2 answers

Display a TLS icon for messages that are TLS secured (Outlook)

One of my colleagues at a large financial institution has customised Lotus Notes to show a TLS icon for messages that are TLS secured. I'm interested in imitating this feature in Outlook, and believe this requires VBScript, custom forms, and…
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
7
votes
2 answers

554 5.7.1 : Relay access denied centos postfix

I have problem in send mail from postfix in centos I have following setup mail server postfix for sending mail but I am getting error. As in the link I tried following commands telnet localhost smtp Trying ::1... Connected to localhost. Escape…
Prabhakaran
  • 171
  • 1
  • 1
  • 5
7
votes
3 answers

(How) do you run "functional" tests on your services automatically?

Consider a simple FreeBSD machine running an SMTP server - how can I automatically verify that it's doing the right thing (e.g. accept incoming SMTP connections for certain recipients, and drop the mail in some Maildir)? We already use server…
Frerich Raabe
  • 801
  • 7
  • 16
7
votes
5 answers

Is the IIS SMTP Server good enough for a production server?

I was planning to use the SMTP server that comes with IIS7 (for a website) but then I came across this link and started to get worried (read the accepted solution), on the other hand I have a limited budget and I can't afford to buy MS Exchange or…
Mee
  • 845
  • 5
  • 15
  • 24
7
votes
4 answers

Disable SMTP AUTH on Port 25

Due to PCI-DSS, we are required to disable plaintext authentication. We've achieved this by encapsulating communications between our mail server and clients with TLS on port 465. The problem lies in that port 25 must remain open and unencrypted for…
mossymaker
  • 103
  • 1
  • 2
  • 6