We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

Filter by
Sorted by
Tagged with
86
votes
1answer
132k 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 ...
54
votes
6answers
371k views

How to correct Postfix' 'Relay Access Denied'?

This morning, in order to correct a problem with a name mismatch in the security certificate, I followed the recommended steps from How to fix mail server SSL?, but now, when attempting to send an ...
53
votes
6answers
66k 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 ...
50
votes
9answers
44k 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 ...
50
votes
5answers
10k 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 ...
33
votes
2answers
5k views

Sending malicious email as a test

I have set up a working SMTP relay together with MailScanner. This SMTP relay is not — and will not be — able to relay email from the outside, only local email. Is it possible to send a ...
30
votes
7answers
74k 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 ...
30
votes
3answers
36k 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 ...
30
votes
3answers
56k 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 ...
28
votes
1answer
9k views

Postfix TLS over SMTP - RCPT TO prompts renegotiation then 554 5.5.1 Error: no valid recipients

I've setup ispconfig3 on my debian six server, and here is a little smtp over ssl: The server is postfix AUTH PLAIN (LOL!) 235 2.7.0 Authentication successful MAIL FROM: lol@lol.com 250 2.1.0 Ok ...
26
votes
2answers
9k views

SMTP allows for multiple FROM addresses in the RFC. Was this ever useful, why does this exist?

SMTP allows for multiple FROM addresses on the body (not the envelope) according to the RFCs. Has this feature ever been used for a legitimate purpose? Is it safe to discard messages that have ...
25
votes
4answers
51k 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?
25
votes
12answers
182k 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 ...
24
votes
4answers
116k 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 ...
22
votes
2answers
3k views

Is an IPv6-only MTA possible yet?

Has anyone had tried to run an IPv6-only SMTP engine? Pretty much everybody with any sense has IPv6 configured for major front-end servers. I was curious if anyone had tried to run an IPv6-only MTA ...
22
votes
5answers
28k 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 ...
22
votes
3answers
55k views

Forcing encryption for outgoing SMTP with Postfix

Does anyone know how to tell Postfix to encrypt outgoing mail? I have configured it to use encryption on reception, but I'm unable to do it with the outgoing mail. This is my main.cf file: ...
22
votes
3answers
89k views

Postfix - Host or domain not found

I've just installed Postfix on my Ubuntu, on a local network. On this network, I have an Exchange Server (using domain mail.example.com). I had a problem sending an email to a local address: adress@...
20
votes
2answers
22k 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 ...
18
votes
4answers
42k 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 https://stackoverflow.com/questions/...
18
votes
3answers
11k views

Is it possible to send and receive an email from an IP address instead from a domain?

Usually an email has a domain name on the right side of the @, so you can identify an organization or a company. This domain is in fact nothing other than a "name" or an "alias" for an IP address, ...
17
votes
6answers
16k 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 ...
17
votes
2answers
50k views

How to fix “unable to qualify my own domain name (myhost) — using short name”?

and yes, I have 127.0.0.1 localhost myhost.mydomain.eu myhost.domain2.eu localhost.localdomain 127.0.1.1 myhost in hosts file. What is wrong? Sendmail started to put this error into log. May ...
17
votes
4answers
40k views

Google SMTP Error: 454 4.7.0 Too many login attempts, please try again later

I discovered that while it was possible to use Gmail/Google Apps as an SMTP server for scripted use, if too many emails were sent I started getting error messages: SMTP Error: 454 4.7.0 Too many ...
16
votes
1answer
19k views

What's the difference between postfix/smtp and postfix/smtpd

A bit confused when reading through the logs of my smtp/mail server, I'm turning this questions to you guys. In the maillog files I'm seeing entries for postfix/smtp as well as postfix/smtpd. I can ...
15
votes
2answers
2k views

What's the point of repeating an email address in “The Envelope” and the “The Header”?

I learned that both the FROM address and the TO address is repeated in a hidden element called the "envelope", and then repeated again in the "body". Question Why isn't the envelope data copied into ...
15
votes
5answers
184k 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, 97.107....
15
votes
9answers
66k 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 ...
15
votes
2answers
2k 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 ...
15
votes
3answers
9k 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 ...
14
votes
1answer
3k views

Security risk of POP before SMTP

I received an email from one of our servers this morning (CentOS, with WHM running LAMP) stating: The server has POP3 before SMTP enabled. For security reasons, cPanel highly recommends that ...
14
votes
1answer
16k views

What is preferable, “no-reply@” or “noreply@”? [closed]

Having a service that sends out notifications to users, I'm currently thinking about changing the sender email address from "info@" to something more meaningful. Since a reply never makes sense, I'm ...
14
votes
3answers
4k 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
6answers
81k 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?
13
votes
2answers
17k views

Are two periods allowed in the local-part of an email address?

A third-party email gateway relay is refusing to process a message for an email address we're sending to. The address is in the format of firstname..lastname@recipientdomain.com (note the two periods)...
13
votes
2answers
3k 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
2answers
2k views

Detect spammers on my server

I recently got one Undelivered Mail Returned to Sender while sending my newsletter to one of my 1500 customers. My website uses a double-opt-in procedure to make sure, the user explicitly want to ...
12
votes
2answers
103k views

Postfix Temporary lookup failure

I am trying to set up postfix, but I get a "Temporary lookup failure" error main.cf: inet_protocols = ipv4 inet_interfaces = all queue_directory = /var/spool/postfix command_directory = /usr/sbin ...
12
votes
3answers
22k views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
12
votes
4answers
3k 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 ...
11
votes
5answers
27k 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 ...
11
votes
8answers
39k 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 ...
11
votes
2answers
19k views

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

I get these errors: 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:...
11
votes
5answers
34k views

Roundcube & Postfix SMTP: SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c

I have a Postfix / Dovecot / Roundcube setup that I use personally, as well as provide to other users. I am attempting to transfer this entire setup to a new box, but having some issues. Mail ...
11
votes
1answer
16k views

postfix sasl “cannot connect to saslauthd server: No such file or directory”

I try to setup postfix with smtp authentication. I want to use /etc/shadow as my realm Unfortunately I get a "generic error" when i try to authenticate # nc localhost 25 220 mail.foo ESMTP Postfix ...
11
votes
1answer
318 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 What ...
10
votes
7answers
3k 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
2answers
7k views

How can you test a backup / secondary MX server?

I'm wanting to set up a secondary MX server using Postfix but I am wondering what is the best way to test this prior to putting into production (by adding its MX entry)? One possible way is to test ...
10
votes
6answers
66k 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 ...
10
votes
5answers
15k views

Outgoing only SMTP server

I want to setup an outgoing only SMTP server on Debian, so my Web-applications will be able to send e-mails via it. I don't want to use another hosts because of security and customizability of my own ...