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

learn more… | top users | synonyms

18
votes
5answers
59k views

Where to check log of sendmail?

I can't send out emails, need to look into the logs, but where is the log?
18
votes
11answers
24k 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 ...
16
votes
5answers
9k views

php mail() function painfully slow on local development machine

Background: If you have set up a local apache server for development purposes you may have run into the problem where sendmail takes a long time (at least one minute) to send emails. This is extremely ...
13
votes
3answers
11k 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 ...
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 ...
11
votes
8answers
55k views

How to send email with my CentOS server?

I just built a modest home server using CentOS 5.5. I want the server to be able to send emails to my Gmail account or other email accounts for various things like cron jobs. Also it would be nice to ...
10
votes
6answers
22k 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 ...
10
votes
2answers
12k views

What are the steps to make the php mail() function work on ubuntu-server?

I want to enable the simple php mail() function on an Ubuntu server. This will only be used for sending administration stuff and logs. This is all the mail functionality that I want on this machine. ...
8
votes
3answers
2k views

Linux- Is an MTA required?

My VPS image (Debian 6) comes pre-installed with sendmail as the MTA. I will use this server as a web server, and maybe other usages but not as a mail server. I want to remove as many unneeded ...
8
votes
2answers
12k 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 ...
8
votes
3answers
10k 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 ...
8
votes
2answers
1k 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 ...
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
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
1answer
14k 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 ...
7
votes
4answers
2k views

Telling sendmail to auth?

I've been sitting here for a few hours now attempting to get sendmail to send the emails through an external SMTP server. I've gotten very close, but now I'm completely stuck. It seems that sendmail ...
6
votes
3answers
17k 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 ...
6
votes
3answers
5k 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?
6
votes
2answers
614 views

Change sender address of queued mails

Is it possible to change the sender address of mails that are already queued? The relay-server we've used so far has silently changed its policy a few days ago and rejects now mails without a ...
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
4answers
3k views

Minimal setup for sendmail to send outgoing email only?

I run a simple server that I administrate remotely, and I need it to be able to send an email to my personal email address every time an error occurs. With the default setup on Ubuntu, sendmail just ...
5
votes
2answers
10k views

Minimum PostFix configuration for sending emails only?

My servers are currently on sendmail which is not very efficient. I'd like to migrate to PostFix. I'm using Google Mail for Domain for handling incoming email so I need to setup PostFix to send ...
5
votes
2answers
11k views

Get log of mail sent with mail() from PHP (sendmail?)

After some server changes our PHP configuration got nuked, which caused a client's large mailing list to time out partially through about 4,000 addresses or more. We want to avoid sending a duplicate ...
5
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, ...
5
votes
1answer
262 views

Understanding service --status-all output

I am trying to understand the output of the service --status-all command on Ubuntu 13.10, since the man page doesn't explain it. For example: [ + ] rsyslog [ - ] sendmail [ ? ] sendsigs [ + ] ...
5
votes
1answer
798 views

Sendmail Tuning For Batch Mail Jobs

I have a webservers that send out emails to a sendmail relay server as a batch job. The emails need to be accepted by the relay sendmail server as fast as possible, however, they do not need to go out ...
5
votes
4answers
1k views

can't get php mail() working on Ubuntu desktop version with sendmail and postfix

I'm running Ubuntu 9.10 LAMP and trying to do a simple email test with PHP and I'm not getting any emails sent. mail("myemail@gmail.com", "eric-linux test", "test") or die("can't send mail"); I ...
4
votes
4answers
5k views

Fastest way to allow sendmail relay through smarthost?

I only want sendmail to relay through my ISP's smtp server, nothing else. How do i set it up?
4
votes
6answers
2k views

How do I configure sendmail to send mail via MX record and not to localhost?

I am trying to get sendmail to transfer mails to the servers specified in the MX records so when the server sends an email to me@domain.com I want it to skip localhost and go straight to gmail. I've ...
4
votes
3answers
6k views

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

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

Sendmail doesn't work with iptables, even though smtp and dns are allowed

I have sendmail installed on Ubuntu 10.04 solely for the use of the php mail() function. This works fine unless iptables is running (I've been using sendmail myemailaddress@domain.com to test this). ...
4
votes
4answers
1k views

stop linux from emailing me cron errors?

Today i setup ssmtp to email me from sendmail. However what i didnt expect is that applications like cron would email me. One of my cron scripts before backing up the db tries to create ...
4
votes
3answers
2k views

How can i send /var/mail/root again?

Through some missconfiguration i've a lot of emails in /var/mail/root and /var/mail/www-data How can i "loop" over these files and send each mail another time? Thanks in advance!
4
votes
3answers
2k views

Where are sendmail emails stored?

I am trying to build an autoresponder script for sendmail (no, I don't want to use a pre-built one yet), but I can't seem to find the location of received emails on my server. I have to specify that ...
4
votes
4answers
2k views

Do i need to open 25 port to send emails with the php mail function?

I have a Linux web app. Do I need to open port 25 to only send emails using the PHP mail function? If I have to open port 25, how can I disable receiving emails? Edit: I am asking because I ...
4
votes
3answers
2k views

Is sendmail caching DNS or getting it via different method than host/dig/nslookup?

We've got a linux server running sendmail that relays email through our primary mail server, but ever since a change of DNS servers last week, it's been timing out connecting to our mail server. Upon ...
4
votes
1answer
1k views

Prevent mail being marked as spam

This is a canonical question about avoiding outgoing mail being classified as spam. I'm wondering how to prevent my emails from my site being marked as spam? I'm using sendmail. I'm trying to ...
4
votes
2answers
3k views

Sendmail on Ubuntu trying to use Google Apps servers as a relay, by default?

I have a recently installed Ubuntu (natty) server, with a domain pointed to it. The mail for this domain is handled by Google Apps (via MX dns records pointing to Google's mail servers). Now, I've ...
4
votes
2answers
1k views

Configuring sendmail to archive a copy of any outgoing message

How do I configure sendmail to keep a copy of any message I send. An option would be to automatically send a copy back to my box.
4
votes
2answers
8k 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 ...
4
votes
1answer
72 views

Where is the email bounce sent? To the @domain or to the IP that sent it?

When I send an email from noreply@mysite.com to user@yahoo.com and I use that VERP bounce format like bounce+user=yahoo.com@mysite.com Is this bounce back sent to the mail server in DNS records of ...
4
votes
1answer
3k views

How to disable reverse DNS in Sendmail

I would like to disable reverse DNS lookups in Sendmail. We have an SMTP relay, running Sendmail, with an IP-based access.db. We have no requirement for reverse lookups and, in fact, they may be ...
4
votes
1answer
2k views

Sendmail process failed with error code 67

Everything was worked fine but someday sendmail stop working on me. I'am trying the following command line: echo "Body text" | mail -s "Some subject" example@somemail.com And got: ...
4
votes
1answer
3k views

How to make sendmail to relay local mails?

I have www server called say mywebsite.com and mail serwer mymail.com. Mail for mywebsite.com is handled by mymail.com (mx record for mywebsite.com is mymail.com). Problem is that I want to send mails ...
4
votes
3answers
771 views

Tiny mail server for low end box?

I want to set up a mail server with as much smaller memory footprint as possible on a Centos 5 very low end machine. Bare minimum features is enough. :) But what are my options? I can't seem to find ...
4
votes
3answers
5k views

postfix uses hostname instead of myhostname

I am trying to set up an outgoing mail server for sending emails which is to relay to our ISP. In /etc/postfix/main.cf I have myhostname to ourcompany.example.com and myorigin and mydomain to ...
4
votes
3answers
4k 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 ...
4
votes
1answer
2k views

Server Sending Spam?

We have some servers hosting websites and email accounts for clients. Today we found that one of our servers has a very heavy load and by looking at the maillog it is doing a lot of sending to ...
4
votes
3answers
1k views

How to reject/detect emails claiming to be from my own domain?

We have following e-mail topology: Exchange server --------- Sendmail server ---------------Internet On sendmail server there is no any user mailbox and messages with sender address ...
4
votes
2answers
1k views

How do I allow sendmail to send TO any address?

UPDATE 10/21/2010 5p: Ok, so sending mail does work, but not sending mail to tom@wtw3.com from this box does not. The A record for wtw3.com points to the development box, but the MX records resolve to ...