General purpose email routing software that supports mail transport via TCP/IP using SMTP

learn more… | top users | synonyms

14
votes
3answers
4k views

Prevent mail being marked as spam

This is a canonical question about avoiding outgoing mail being classified as spam. Also related: Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User? What ...
2
votes
1answer
2k views

Outgoing mail from linux not being delivered

I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box. I think it is ...
23
votes
12answers
36k views

Disable local delivery in Sendmail

I am using Sendmail on a Centos server to send email for PHP scripts, but the problem is that mail is delivered to a local mailbox on the machine rather than what is specified in the MX records for ...
1
vote
1answer
891 views

SMTP 25 closed even I allow everything in firewall, debian server running sendmail

I am running sendmail + dovecot in my debian server. I have enabled the firewall rules to allow everything iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT ...
13
votes
2answers
7k views

Confused about alias_maps and virtual_alias_maps

I have already re-read the docs on this as well as other posts here and this is still very unclear to me. I have been testing various things to understand the difference between alias_maps and ...
0
votes
6answers
591 views

ISP blocking port 25

My ISP has started blocking port 25 so I can not send email through my dedicated server any more. I have several options: Send email through the SMTP server provided by my ISP. Any problems with ...
13
votes
6answers
35k views

How do I permanently delete e-mail messages in the sendmail queue and keep them from coming back?

I have a pretty annoying problem here. I have been testing an application and have created some test e-mails to bogus e-mail addresses (not to mention that my server isn't really set up to send e-...
8
votes
8answers
33k 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 ...
5
votes
3answers
9k views

Configuring php mail() per domain

I have about 6 sites on my dedicated server (running centos5), and all emails sent using php's mail function are sent by nobody@servername.hostname.com e.g. "Received: from nobody by servername....
8
votes
3answers
11k views

How to Specify outgoing HELO with sendmail?

How do you specify the FQDN (Host and Domain Name) that a mail server presents itself as in HELO/EHLO when sending outgoing email with sendmail?
4
votes
3answers
3k views

Sendmail : ignore local delivery

I've a Ubuntu webserver with Sendmail as my MTA Currently when i email outside my webserver's domain e.g. example.com to something like gmail or any other email outside the example.com domain it ...
20
votes
3answers
37k views

Is Postfix the same thing as Sendmail?

I have postfix setup on my server so that I can send outgoing mail using the command-line: mail -s "Subject" address@example.com Is this using sendmail or postfix? Is "sendmail" just a software ...
43
votes
7answers
169k views

Where to check log of sendmail?

I can't send out emails, need to look into the logs, but where is the log?
4
votes
2answers
12k views

Sendmail to local domain ignoring MX records (part 2)

I have the exact problem, like in this post: http://serverfault.com/questions/25068/sendmail-to-local-domain-ignoring-mx-records I am also using email provider like GMail For Your Domain (which stores ...
15
votes
1answer
25k views

“My unqualified host name (foo.bar) unknown” Problem

When trying to start sendmail or send a mail using a wordpress plugin, this error shows up in the maillog: "My unqualified host name (foo.bar) unknown; sleeping for retry" After Googling the best ...
11
votes
3answers
20k views

Change default from address from Postfix from www-data to something else

Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name ...
9
votes
2answers
2k views

Send all outgoing mail to /dev/null

With sendmail, how would you send all outgoing mail to /dev/null or just prevent email from being queued up or sent at all? On a development nagios box I want prevent sending of mail so that ...
5
votes
1answer
38k views

How to configure sendmail to relay through a specific server

I have a tiny home server setup behind my cable modem (bresnan communications). I want to be able for this box to send out email (not receive) for notifications and whatnot. What I have already ...
0
votes
3answers
2k views

Monitoring postfix mail throughput

I have a number of CentOS machines running postfix and sendmail. Is there some thing that I can use to monitor the current message throughput of a mail server from its logs? I'd particularly would ...
-5
votes
2answers
2k views

Why use Dovecot AND Postfix/Sendmail? [closed]

Forgive me if I'm missing something obvious here..... but why do most linux server distros come with both Dovecot AND Postfix (or sendmail)? As far as I'm aware all three of them are Mail Transfer ...
4
votes
3answers
21k views

How to configure a real domain name for sender address

I tried to sending out an email using php mail() function but it failed somehow, complaining that a real domain name is required. The following is observed in the maillog: sendmail 4984 r25984: ...
3
votes
2answers
4k views

How do I throttle outbound email with sendmail

I know, I know, I should switch to Postfix. But in the meantime, how do I throttle outbound email (especially email to a single domain) in Sendmail?
2
votes
3answers
5k views

Postfix: mails sent through sendmail binary are blocked because of wrong HELO

My server is using Centos 6.5 I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17. Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected ...
2
votes
1answer
2k views

apache sendmail: trying to change user “from” address from apache to domain account

I apologize if I am asking a question already answered, but my problem isn't really that I haven't found an answer. I have, in fact, found a half-dozen different "solutions" to my problem, tried them ...
2
votes
1answer
814 views

How to read HUGE clientmqueue in human format?

Clientmqueue is over 18GB and ls /var/spool/clientmqueue is working 5 min already. I want to see what mail is in the queue. Maybe i can read some in human format? To see date title who send it and ...
2
votes
2answers
1k views

Logging auth information in sendmail

Problem: the sendmail default logging configuration does not log per message auth info which I neeed (i.e. I want to know which user/authmethod was used for a certain message id). Following a tip from ...
0
votes
2answers
21k views

sendmail queues to /var/spool/clientmqueue and never sends

This is a continuation of my previous question here. The troubleshooting has gotten me a little further, and I think I'm facing a new set of problems now. Originally, I found out that sendmail wasn'...
-1
votes
3answers
1k views

I deleted /etc/passwd yesterday and I am having problems with SendMail today

So yesterday Webmin deleted my /etc/passwd and although it looks like everything is working, I can't get sendmail to work when used in a PHP script. Using mail() returns false, using PHPMailer ...
6
votes
1answer
28k 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 define(`SMART_HOST',`smtp....
9
votes
2answers
163 views

How can I use wildcards for sendmail TLS_Rcpt?

sendmail lets one place restrictions on TLS conversations. I want to check that messages sent to example.com are sent to a server that has a *.messagelabs.com certificate. I want to protect against ...
6
votes
3answers
8k views

How to stop Sendmail sending mail from IPv6 instead of IPv4

Today I noticed that Gmail sends all messages received from my server to the Spam folder. I checked message header and found the following: Authentication-Results: mx.google.com; spf=neutral (...
16
votes
3answers
16k views

what is sensible-mda and do i need it?

I'm running Ubuntu Intrepid, and have been seeing the following my logs: Aug 23 16:01:03 wp1 sm-mta[13700]: n7NFJIad013566: Warning: program /usr/sbin/sensible-mda unsafe: No such file or directory ...
7
votes
2answers
13k views

sendmail rejecting some connections with handshake failure: SSL alert number 40

My sendmail server on CentOS 5 started to reject some connections with the following message logged: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1092:SSL alert ...
6
votes
3answers
25k views

How do I Forward root's email to an external email address?

I have a small server (Ubuntu 10.04) at my house and I would like to forward root's email to my gmail hosted domain to get security notifications and what not. I ripped everything out and started ...
1
vote
1answer
528 views

Send email through Gmail SMTP to avoid local delivery attempts?

Background We use Google Apps for email with our domain example.com: [ec2-user@example ~]$ dig MX example.com … ;; ANSWER SECTION: example.com. 300 IN MX 1 aspmx.l.google....
7
votes
1answer
5k views

What is the difference between “dnl” and “dnl #” in a sendmail.mc file?

What is the difference between dnl and dnl # in a /etc/mail/sendmail.mc file? If I want to enable something what needs to be in front? Likewise, if I want to "comment out" something, what prefix do I ...
5
votes
1answer
842 views

Preventing RCPT TO: username enumeration in sendmail on ubuntu

I'm trying to configure sendmail to prevent it from allowing username enumeration through the RCPT TO: command. I've been googling endlessly and, from what I can see, the best way to achieve this is ...
4
votes
7answers
2k views

Receive email alerts from Linux file server

GOAL: Get a text file on my file server into my gmail inbox. The file server is running Ubuntu Server 8.04 I currently SSH into it from time to time and to check logs, SMART stats for hard drives, ...
3
votes
2answers
2k views

Sendmail Configuration to not deliver mail to local machine

I have sendmail up and running on an Ubuntu 8.04 machine. It can send mail correctly to all but the domain to which it is a part. How do I configure it to not send to itself for email addresses on ...
3
votes
3answers
3k views

Sendmail relay out of Amazon EC2?

I have a site running on CentOS 5.4 through Amazon EC2. Unfortunately, Amazon has had nothing but trouble with their entire IP range getting black listed from spam tracking services regularly. I need ...
3
votes
1answer
960 views

sendmail: forward wildcard MX to a single email address

I'm trying to set up sendmail to forward all email to *@ *.crm.mycompany.com to crm@mycompany.com. Unfortunately my sendmail-fu isn't up to it and I can't find anything useful on Google. My plan was ...
2
votes
5answers
1k views

Google marks seemingly perfect emails as spam

First post - was directed here from stackoverflow! The problem: Google marks seemingly correctly formatted emails from my apache/postfix server as spam. Sample email as follows; (I have replaced my ...
2
votes
3answers
3k views

What is a good sendmail log analyzer?

We had a recent event where one of two servers running sendmail stopped sending mail, and built up a 7000 message queue before we noticed / fixed it. It's fixed now, but we don't know why it failed, ...
2
votes
1answer
4k views

sendmail doesn't send email to specific domain email address

We have ubuntu 12.04 server and installed sendmail to send mails from this server. Problem: There is some strange issue on mail server. Somehow, server not able to send email to xxx@ayolla.com ...
2
votes
3answers
1k views

How can I route a SMTP message by FROM domain (not To, CC, or BCC)

I'm handling email for many different companies. Each company needs me to route all outbound email through a specific SMTP relay based on From address. What software configuration or technology ...
2
votes
2answers
3k views

Sendmail - IP may be forged

When trying to send an email via Sendmail using the server's IP address to make the SMTP connection (rather than localhost) I get this message in the headers "may be forged" in brackets after the IP ...
1
vote
3answers
9k views

Syslog not logging anything; /var/log/syslog is empty

Recently sendmail stopped accepting messages for delivery on my Solaris 10 x86 machine. I am trying to diagnose the problem but syslog doesn't seem to be working either. My /etc/syslog.conf: #ident "...
1
vote
1answer
2k views

Why sendmail is accepting mails for hostname not present in local-host-names file?

I have following line in my cf file Fw/etc/mail/local-host-names and following lines in local-host-names file mydomain.com hostname.mydomain.com but when I send mail to mailaddress@otherhost....
0
votes
1answer
3k views

Error: Could not execute mail delivery program '/usr/sbin/sendmail'

Recently, my linux servers sendmail program stopped working and every time I send an email I get this error: Warning: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/...
0
votes
1answer
2k views

Configrue Exim Sendmail for relay

I have a VPS server at UltraHosting.com and requires that I use "Smart Relay" when sendning emails. However I cannot send mail using the php mail() function. Here is an article they have on Smart ...