Questions tagged [sendmail]

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

sendmail is a popular Unix-based email routing facility that makes use of and supports the transfer and delivery of email via the Simple Mail Transfer Protocol (SMTP) and many other ways (e.g. UUCP).

sendmail exists both as free and open source software and as a commercial project, called Sendmail.

1333 questions
5
votes
1 answer

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 from my www server mywebsite.com to adress in…
B14D3
  • 5,188
  • 15
  • 64
  • 83
5
votes
1 answer

sendmail - DSN: Name Server host not found

I've recently setup a new backup server and have configured sendmail with a smart_relay_host Except every email from the command line doesn't go anywhere. From mail.log: Oct 3 14:32:52 *****back01 sm-mta[16570]: p93DWqtC016568:…
5
votes
2 answers

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.
Ra.
  • 217
  • 5
  • 11
5
votes
1 answer

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 (be relayed) very quickly. I am seeing a couple…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
5
votes
4 answers

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 path/year/month/ and since year and month already exist i get…
user274
5
votes
1 answer

Question on SendMail daemon actions when load average is too high

My sendmail server started rejecting connections because load average was too high (due to a spam issue that has since been resolved). Error was: sendmail[13400]: rejecting connections on daemon MTA: load average: 50 I'd like to understand this…
Mike B
  • 11,871
  • 42
  • 107
  • 168
5
votes
2 answers

sendmail on ubuntu (9.10) machine "stopped" sending mail

I'm developing on my ubuntu 9.10 machine for the web (php). I'm using it sendmail for sending mails, and while developing on my local machine, I send local mails (to my user 'doron'). Up until a few days ago, I was able to send mails both from…
Doron
  • 543
  • 1
  • 6
  • 14
5
votes
4 answers

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 get no errors from PHP when running that script. In…
user36428
4
votes
1 answer

sendmail aliases - send to root plus external address?

There are plenty of examples of how to use aliases to send email to multiple addresses, but I'm interested in sending to an internal name and an external address. For example, this doesn't work, but the external address does get root messages: root:…
4
votes
3 answers

is it safe to delete /var/spool/mail/root

There is a specific server in the company I work that uses sendmail to send multiple emails to sendgrid. The file /var/spool/mail/root is about 4.9 GB, which is taking more than 50% of the disk usage. Now, is it safe to just delete it? or do a cp…
4
votes
1 answer

SendMail: Connection refused by [127.0.0.1]

So I've installed Sendmail service, Dovecot and SquirrelMail in my server. I arrived to receive mails from local clients (different hosts in the same newtork). But I cannot send mails from server to clients, and also when a client host try to send…
azert123
  • 35
  • 2
  • 2
  • 5
4
votes
1 answer

how to configure sendmail with multiple ssl certificates for multiple domains

I need to configure a server to host multiple email domains on a single IP, and thus install multiple ssl certificates. Miraculously, I have been able to get apache and dovecot to work with multiple certificates/domains on a single IP, but I can't…
xivix
  • 553
  • 2
  • 8
  • 16
4
votes
1 answer

Send mail service start error

I installed sendmail on CentOS based on some tutorial. When I start sendmail, it showing sendmail failed error. Here the following command result: systemctl status sendmail sendmail.service - Sendmail Mail Transport Agent Loaded: loaded…
Joseph
  • 61
  • 1
  • 3
  • 8
4
votes
3 answers

How can I force sendmail to use SMTP instead of internal relay?

I have a web server that was blacklisted from sending email because it was responding to SMTP HELO with localhost.localdomain instead of the domain name of my server (we'll call it example.com). I was able to get the server to respond to the HELO…
Ben Harold
  • 143
  • 1
  • 2
  • 10
4
votes
1 answer

Sendmail is not listening to any port

I am using VPS hosting with CentOS 6. I've installed Sendmail, but it's not listening to any port. I've checked, IPTables is disabled (or stopped I guess; service iptables status command returns iptables: Firewall is not running. Here is netstat…