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
7
votes
2 answers

DKIM on postfix relay server

I have a postfix/amavis relay server, with the domain name mail.example.com. It will be a relay for dozens of VPS's, which will have domains like hostname.example.net. So i have actually two questions. Is it possible to use dkim to sign the mails…
Danijel Krmar
  • 139
  • 1
  • 1
  • 4
7
votes
2 answers

Do I need an MX record to send email via SMTP if that server will not be receiving email?

I've setup an SMTP server in our DMZ to send emails out via postfix for a website we host. If I want to send email outside our network from that server but emails being received will be going to our Exchange server, does the server still need a…
Windows Ninja
  • 2,586
  • 19
  • 46
  • 70
7
votes
2 answers

Expose IIS SMTP Pickup folder as a file share - bad idea?

Environment: IIS Web Farm 5 servers Windows Server 2008 R2 IIS 7.5 ASP.NET 3.5 and 4.0 web application Our web app, like many, needs to send mail. Send only, no receiving. In the past, we've enabled the IIS 6 SMTP service on each web server and…
Larry Silverman
  • 567
  • 6
  • 13
7
votes
7 answers

Very simple SMTP server for Ubuntu wanted

I'm looking for a very simple, lightweight SMTP server to run on an Ubuntu 9.04 VPS. The only functionality I need is to support the PHP mail command; That's all it needs to do.…
Nigel Alderton
  • 992
  • 3
  • 9
  • 19
7
votes
2 answers

What is the difference between 3-digit and dotted SMTP error codes?

When looking up SMTP error codes, I sometimes see "550", or "5.5.0". And sometimes the number in the dotted code is different. I found the numeric codes defined in RFC 821 and the dotted codes in RFC 3463. Is this just different notation for the…
Andrew Vit
  • 239
  • 1
  • 2
  • 10
7
votes
1 answer

Windows Server 2008 SMTP Server is not writing to log file

I use Windows Server 2008 as my development operating system. I have been able to test that the SMTP Server on the machine can successfully send emails (I receive them in my inbox) but the log file is not being written to. Any ideas why the log…
Jeff Widmer
  • 241
  • 4
  • 8
7
votes
4 answers

SMTP relay through GMail overrides "from:" address with "[me]@gmail.com"

I've been trying to figure out if this is a new "feature" or if there is an issue with my configuration. I'm using Ubuntu 10.04 Desktop with Postfix as MTA. My smtp (as opposed to smtpd) configuration follows that outlined in Jeremy's excellent…
FromageTheDog
  • 73
  • 1
  • 1
  • 4
7
votes
6 answers

Recommended personal mail server setup

I've been using GNU/Linux for servers, mostly Debian. I am thinking of keeping my personal email on a centralized server. I have some GMail accounts, and a few from different domains from several web projects which are hosted at the corresponding…
Fernando Briano
  • 470
  • 1
  • 8
  • 14
6
votes
3 answers

What problems arise when we use a self-signed certificate for the SMTP protocol?

What problems arise when we use a self-signed certificate for the SMTP protocol, that is, when a SMTP server uses a self-signed certificate? As long as the user accepts the exception warning due to self-signed certificate (which can be the case in…
user9414424
  • 171
  • 1
  • 4
6
votes
2 answers

Easiest way to configure local SMTP server to relay through gmail on Windows?

We have gmail for our corporate email provider. I want to be able to send mail through smtp.gmail.com from ASP.NET. I have managed to do this just fine - and it has the benefit of all sent items appearing in the correct sent items folder within…
Simon
  • 1,361
  • 2
  • 15
  • 20
6
votes
3 answers

Postfix protocol error attempting email address validation with SMTP

I have some code that does an email address validation. It works by attempting a mail delivery via SMTP and then quitting without sending anything. It works most of the time, but in some fringe cases it does not. I have one of these cases and I…
mike nelson
  • 216
  • 2
  • 7
6
votes
3 answers

SNI like equivalent for starttls

I am trying to host two seperate domains on one IP address. I want to be able to determine from the STARTTLS command which certificate was being requested and forward to a different mail server based on the domain. This doesn't seem to be possible…
user420606
6
votes
1 answer

How Does Low Volume Affect (esp. live.com) Email Deliverability?

I've been sending emails for years with out any serious reputational shocks, but with low IP volumes (no bulk mail or automated transactional email), even with multiple Domain names. My Gmail deliverability is fair, however my…
Wren
  • 161
  • 2
6
votes
2 answers

How can I configure the IIS SMTP service to store *all* emails (regardless of domain) in the drop folder?

How can I configure the IIS SMTP service to store all emails (regardless of domain) in the drop folder? I'm trying to catch all emails sent to an SMTP server during testing. I don't want to relay the emails on to their final destination, I just want…
Damian Powell
  • 325
  • 2
  • 5
  • 10
6
votes
2 answers

How can I configure a Haraka mail server to forward mails to another address on another domain?

I'd like to setup an Haraka mail server on a domain (let's say 'example.com') that will only act as a forwarding service to a 'gmail.com' email address. For the sake of the example let's say I'd like all emails sent to 'me@example.com' to be…
juriejan
  • 161
  • 1
  • 2