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.

learn more… | top users | synonyms

35
votes
4answers
4k views

Is greylisting still an efficient method for preventing spam?

I've used greylisting on my servers for many years, but I don't know how effective it is nowadays. Is it still good for fighting spam in 2012? Or is the typical spammer MTA capable of resending ...
27
votes
7answers
64k views

SMTP server on Windows 7

Is it possible to install the SMTP server that you can install in Windows Server 2008 in Windows 7? Or something similar? I'm developing an application that will make use of it and I want to be able ...
17
votes
3answers
14k views

What replaces IIS SMTP server in Windows Server 2012

I have read the notes here http://technet.microsoft.com/en-us/library/hh831568.aspx regarding deprecated and removed features in Windows 2012 and it says that SMTP is deprecated. I assume this is ...
16
votes
6answers
13k views

How to Setup Ubuntu Mail Server with Google Apps?

I have a domain, let's call it foobar.com. All of the MX records for foobar.com point to Google's mail servers because I am using Google Apps for your domain to manage it. It's great because everyone ...
15
votes
1answer
23k views

What ports to open for mail server?

I have just finished setting up a Postfix mail server on a linux (ubuntu) platform. I have it sending and receiving email and it is not an open relay. It also supports secure smtp and imap. Now this ...
14
votes
4answers
43k views

Fixing My MTA's Poor Reputation

I have a web site that needs to send email to customers to deliver files that they have purchased. Reliable email delivery is vital to this business. Unfortunately, most of the emails sent by my ...
14
votes
3answers
1k views

Schedule/queue large e-mails in Exchange 2010, defer until latency drops

My challenge We have Exchange servers at various sites, but also aboard ships. The ships are connected to our network through satellite links when at sea, but switch to WiFi bridges when in port. ...
13
votes
2answers
720 views

Gratuitous CRLF in Subject: line - why is it there, and is it legal?

I'm running into a problem with a NAGIOS system sending emails to a popular email-to-SMS service. The email-to-SMS service takes emails with text in the Subject: line, and sends them on to the mobile ...
12
votes
7answers
7k views

How to setup a fake SMTP server to catch all mails?

I'm looking for an smtp service that essentially obeys the RFC, except rather than sending mail it simply logs to a file [date] sent mail to <address> Or whatever. I can bash this together ...
12
votes
4answers
8k views

Do SPF Records For Primary Domain apply to subdomains?

I have a quick question regarding SPF records: Do they need to be present for all subdomains? Lets say that I have a TXT record with SPF info for domain.com Let's also say that I have a seperate ...
12
votes
2answers
10k views

Correct use of SMTP “Sender” header?

Our web application sends email messages to people when someone posts new content. Both sender and recipient have opted into receiving email messages from our application. When preparing such a ...
11
votes
2answers
327 views

Is it still “wrong” to require STARTTLS on incoming SMTP messages

According to the STARTTLS Spec Section 5: A publicly-referenced SMTP server MUST NOT require use of the STARTTLS extension in order to deliver mail locally. This rule prevents the STARTTLS ...
11
votes
4answers
948 views

Has anyone ever used SMTP site links?

A simple real-life question, inspired by a comment here: Active Directory has supported inter-site replication using SMTP instead of direct RPC since its first introduction in Windows 2000. But did ...
10
votes
7answers
2k views

Does SMTP greylisting a) stop much spam and b) stop much legitimate mail?

I've just set up an SMTP server on a relatively little used domain using Postfix and enabled greylisting with SQLGrey. So far it seems to be working OK, and while there's the slight irritation of ...
10
votes
4answers
11k views

When exim4 sends HELO/EHLO, how do I configure which host name it sends?

Mails from my system are being rejected when the receiving server does HELO checking. I believe my system is sending the wrong domain name. I'm running exim4. Googling for anything about exim4 and ...
10
votes
5answers
2k views

Recommendations for SMTP services for massive mailing [closed]

What is the recommendations for SMTP services for massive mailing? Let me clarify, most of the free SMTP services (Gmail, Yahoo, Hotmail, etc...) has limits about the amount of messages you can send ...
9
votes
3answers
177 views

Name one good reason for immediately failing on a SMTP 4xx code

I'm really curious about this. The question (highlighed in bold): Can someone name ONE GOOD REASON to have their email server permanently set up to auto-fail/immediate-fail on 4xx codes? ...
9
votes
1answer
109 views

What takes precedence: an SPF record with “-all” in the primary TXT record, or one in the “include” section?

Suppose I have a domain (company.com) with an SPF that looks like this: v=spf1 ip4:70.70.70.70 include:host.marketing.com -all and "host.marketing.com" looks like this v=spf1 ip4:8.8.8.8 ~all ...
9
votes
2answers
2k views

What is the best method for sending email on behalf of my clients' domains?

I wanted to know the best way to make my mailserver send emails on behalf of my clients' domains, without being greylisted and also avoiding bounce problems. I've been reading some other questions ...
8
votes
8answers
28k views

Send an email with an attached file using telnet or netcat

I often use telnet or netcat to connect smtp servers to send an email as a test. Does anyone know how you would send an email using telnet or netcat but attach a file as well? There are probably ...
8
votes
5answers
90k views

Reverse DNS - how to correctly configure for SMTP delivery

I started a new service and we need to send emails to our customers (new account confirms, etc). My server is known as prod01.bidrodeo.com and resolves to 97.107.134.38 . For reverse DNS, ...
8
votes
5answers
6k views

How important are PTR records for Email Servers?

Does anyone know of any studies done to show how much email will be rejected if there is not ptr record for the SMTP banner name of an email server? Are reverse checks always done when enabled, or ...
8
votes
4answers
8k views

What are SMTP relays and smarthosts?

What exactly is an SMTP relay, and what exactly is an SMTP smarthost? Can someone give me a brief description of each, including how they relate to one another?
8
votes
4answers
554 views

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 ...
8
votes
7answers
32k views

IIS/SMTP - emails are stuck in mailroot/Queue

I'm trying to send e-mails via SMTP within the IIS pickup directory. Unfortunately the e-mails are just going into the mailroot/queue folder and stay there. They never actually get sent. Does ...
8
votes
2answers
258 views

Dealing with SMTP invalid command attack

One of our semi-busy mail servers (sendmail) has had a lot of inbound connections over the past few days from hosts that are issuing garbage commands. In the past two days: incoming smtp ...
7
votes
5answers
934 views

Under what circumstances (if any) should an MX record point to localhost?

I'm thinking that there's absolutely no reason or justification for this, but before I open my mouth and get some admin in deep kimchi, I thought I should ask. Is there any circumstance in which an ...
7
votes
7answers
5k views

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; <?php mail('caffeinated@example.com', 'My ...
7
votes
7answers
25k views

How to configure php.ini with remote SMTP?

How do I configure PHP to send mail using mail() via a remote SMTP server? I've tried to do this using php.ini but it seems that you can only do that under Windows32 and I want to do this on my Unix ...
7
votes
4answers
3k views

Legitimate reasons SMTP “MAIL FROM:” will not match “From:” Header in DATA

Is there ever a legitimate reason for the SMTP “MAIL FROM:” field to not match the “From:” field in the DATA section of a message, besides mailing lists? From ...
7
votes
4answers
4k views

What host name should the SSL certificate for an SMTP server contain?

I have a server foo.example.com at 192.0.2.1 It runs exim to receive e-mail for several of my domains. My domains each have an MX record pointing to mx.example.com, which resolves to 192.0.2.1 If I ...
7
votes
5answers
26k views

Temporary failure in name resolution : Host name lookup failure

I've got a script in PHP that's been running fine for months. It recently stopped working. This script connects to gmail to send out an email to my customers. Recently, I started getting this error ...
7
votes
4answers
2k views

In the mail header, what does the “received from” ip refer to?

I noticed that some mail header contact a field called received : from and it contains an ip address. Does this address refer to the sender machine even if he is using a web interface or to the ...
7
votes
3answers
58k views

554 - Sending MTA’s poor reputation

I am running an email server on 77.245.64.44 and have recently started to have problems with remote delivery of emails sent using this server. Only about 5% of recipients are rejecting the emails, but ...
7
votes
2answers
950 views

Can I have an MX record for a 3rd level domain?

I have mail working for continuumconcepts.com right now. My mx records point to my assigned google postini servers. Works great. I have another server out in the wild that is completely disconnected ...
7
votes
4answers
11k views

How does a Reverse DNS lookup work with regards to spam filters?

I have heard that most spam filters use a reverse DNS lookup on the originating IP address of the sending SMTP server (or something like that) as part of the verification process. I want to make sure ...
7
votes
5answers
4k views

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 ...
7
votes
1answer
5k views

Why is Postfix trying to connect to other machines SMTP port 25?

Jul 5 11:09:25 relay postfix/smtp[3084]: connect to ab.xyz.com[10.41.0.101]:25: Connection refused Jul 5 11:09:25 relay postfix/smtp[3087]: connect to ab.xyz.com[10.41.0.247]:25: Connection ...
7
votes
1answer
525 views

Cisco FWSM -> ASA upgrade broke our mail server

We send mail with unicode asian characters to our mail server on the other side of our WAN... immediately after upgrading from a FWSM running 2.3(2) to an ASA5550 running 8.2(5), we saw failures on ...
6
votes
6answers
6k views

fake “from” field in an email

How can I manipulate the "from" field in an email and make the "to" user see something different then the actual. Example: really from From: TStamper@yahoo.com but they see From: Tremayne ...
6
votes
2answers
806 views

Why is email being delivered normally despite an SPF “hardfail”?

I'm trying to figure out why forged email is being delivered to major email providers (gmail.com, outlook.com) even though email is marked with an SPF hardfail. The email is also delivered to ...
6
votes
2answers
726 views

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 ...
6
votes
3answers
4k views

Automatically start SMTP server in IIS?

I'm running an IIS SMTP server in Windows 2008 R2 and it can be started manually. However, if I need to restart the system, I must manually start the SMTP server. Is there a way for it to start ...
6
votes
1answer
191 views

Should I listen for SMTP on both 25 and 587?

I was setting up haraka as our mailing server, and for outbound email, it suggests moving to port 587 for SMTPS auth support. However, I'm unsure if I should be running 2 instances of haraka on ...
6
votes
1answer
4k views

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 ...
6
votes
1answer
23k views

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 ...
6
votes
2answers
3k views

Setting up two Exchange servers to receive mail on their old domains while sending and receiving using the same new domain

The scene: A merger of two companies. One running Exchange 2010, the other Exchange 2003, both having Active Directory Schemas at Server 2003, SP 2. Short term goal: Establish a trust between both ...
5
votes
5answers
3k views

Many ISP's is block port 25, how do I choose an alternative port?

I am building an application that will be acting as a combined MUA/MTA on different networks. However, many of the networks are with ISP's that block port 25 for SMTP. Therefore I would also like to ...
5
votes
8answers
4k views

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 ...
5
votes
4answers
10k views

Easiest way to send a test email from a server, to test settings?

Using Windows (2008) is there an easy command line tool that I can use to send a test email from a server to test the SMTP, user authentication, ports, etc... without writing my own?