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
4
votes
3 answers

Sendmail and nslookup resolution problems

On my Ubuntu server I've been trying to get the PHP mail() function to work by installing sendmail (I also have postfix installed but I gave up on it). However, when I try to send mail it gets queued with the following error in…
4
votes
0 answers

How can I explicitly disable TLS when sending to one specific recipient?

I have a SendMail 8.14 server deployed in the middle of an SMTP workflow (Outbound mail looks like Exchange -> SendMail -> Appliance -> Internet) I have TLS configured for the first three hosts. This works fine for the most part but I need to…
Mike B
  • 11,871
  • 42
  • 107
  • 168
4
votes
3 answers

Setting up FQDN in sendmail

In this blog post he suggests echo '127.0.0.1 localhost EXAMPLE.my_domain localhost.localdomain EXAMPLE' >> /etc/hosts but ends the post with But this is a less desirable approach since it may have some side effects. In this questions there…
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
4
votes
0 answers

Sendmail on CentOS 6, with SRS

I do some mail forwarding, but I'm also a big fan of SPF; I'm aware that I have a problem. While my mail server was running Centos5, I was using pysrs as a milter, and it worked well - but it hasn't been updated for python 2.6 (much less the 2.7…
MadHatter
  • 79,770
  • 20
  • 184
  • 232
4
votes
1 answer

What can cause an intermittent broken pipe error with a SendMail milter?

CentOS 5 / SendMail 8.14.x I'm noticing intermittent errors with a milter on my SendMail server. Here's an excerpt from the maillog (I've edited hostname, QID, milter name, and recipient address to protect the innocent :-) ): Jul 3 4:11:10…
Mike B
  • 11,871
  • 42
  • 107
  • 168
4
votes
1 answer

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 the sending domain or is it sent back to the IP…
adrianTNT
  • 1,077
  • 6
  • 22
  • 43
4
votes
2 answers

Sendmail slow to accept emails

I have a PHP web app which is using SMTP to sendmail on localhost to send email. I would like sendmail to accept the mail request immediately and queue it for later sending, as I don't want to have user-facing request threads blocked on…
Rich
  • 704
  • 14
  • 30
4
votes
2 answers

How to use sendmail on amazon ec2 linux server

I am using amazon Ec2 instance with centos 6.4. I tried this and i got error echo "hello" | sendmail turnip21@gmail.com sendmail: Cannot open mail:25 How can i fix that error Some more info $ ls -l /usr/sbin/sendmail 139512 lrwxrwxrwx 1 root root…
Pandora
  • 145
  • 1
  • 3
  • 7
4
votes
2 answers

How to make sendmail accept connections from localhost only

I need to secure the server by making sendmail-mta accept only local connections (from localhost), so that any external (potential spam) connections are denied. I use Debian 7.0 currently.
v_2e
  • 329
  • 3
  • 11
4
votes
3 answers

Sendmail chdir(/clientmqueue) permission denied

My centos server can send mail using the 'mail' command but not from php. Maillog says: sendmail[18010]: NOQUEUE: SYSERR(nginx): can not chdir(/var/spool/clientmqueue/): Permission denied My permissions are as follows: lrwxrwxrwx 1 nginx nginx 30…
Adripants
  • 347
  • 2
  • 5
  • 16
4
votes
2 answers

How to copy outgoing messages on sendmail

I've searched the serverfault and Google, but did not find anything related to my question yet. So, I have a customer that wants to read all emails sent by his employees. I've configured a VPS with dovecot and sendmail. So he wants to controlthe…
Max Krizh
  • 169
  • 1
  • 6
4
votes
4 answers

Does "\root" do anything in /etc/aliases?

I've found on a couple servers that have the following entry in /etc/aliases: root: \root,email@example.com You can send mail to /dev/null like this: root: /dev/null I can't find \root used in any documentation. Does \root do anything? Could it…
David
  • 376
  • 1
  • 3
  • 9
4
votes
2 answers

sendmail config, making open relay

I am trying to find a sendmail.mc config that allows open relaying without username/password to any system (I am testing some code that uses SMTP). After Google'd, I could not find and it has been a long since I modified the sendmail config! (It's…
Aiden Bell
  • 609
  • 1
  • 6
  • 15
4
votes
2 answers

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). I think that I have allowed SMTP and DNS (the…
Tom
  • 143
  • 1
  • 5
4
votes
2 answers

Sendmail Configuration for Exchange Server

i need help for sendmail configuration in our linux machine. Here the things: I want to send email to outside by using our exchange server as the mail relay.But when sending the email through the server,it will response "user unknown".To make it…
user119720
  • 390
  • 4
  • 6
  • 20