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
8
votes
2 answers

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 number 40 When I try to connect to it using…
Tometzky
  • 2,679
  • 4
  • 26
  • 32
8
votes
2 answers

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 connections with invalid commands from 39,000 unique…
mark
  • 81
  • 3
8
votes
5 answers

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 isn't sending the authentication information I've…
Rob
  • 2,393
  • 9
  • 33
  • 52
7
votes
1 answer

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…
Jakub Narębski
  • 172
  • 1
  • 1
  • 6
7
votes
2 answers

How can I decrypt STARTTLS communication over SMTP in a packet capture (if I have the private key)?

For the purpose of troubleshooting, I need to see what an email looks like when it's sent to my sendmail server via SMTP. The upstream server requires the SMTP connection to use STARTTLS so a packet capture only shows me encrypted data. Is there a…
Mike B
  • 11,871
  • 42
  • 107
  • 168
7
votes
4 answers

/etc/aliases vs virtusertable

I have a mail server running Sendmail that hosts multiple mail domains. So for instance, emails addressed to @aaa.com and @bbb.com are both going to this same server. All this time I am using /etc/mail/virtusertable to manage the mappings of…
sylye
  • 241
  • 5
  • 13
7
votes
1 answer

Why is sendmail adding an extra carriage return in headers?

I've got SendMail 8.14.4 running on a CentOS 5 server. A user in Japan is sending a message and when it gets processed by the server, SendMail is adding an extra carriage return for some reason. The email contains a X-header with values that…
Mike B
  • 11,871
  • 42
  • 107
  • 168
7
votes
2 answers

Is there a graceful way to pick up new changes in sendmail?

Is there a graceful way to have Sendmail reload/process configuration changes from sendmail.mc without completely restarting services and potentially impacting smtp delivery that's in progress at that moment? I guess I'm looking for the sendmail…
Mike B
  • 11,871
  • 42
  • 107
  • 168
7
votes
4 answers

Getting sh: 1: /usr/sbin/sendmail: not found error in apache

There's lots of sh: 1: /usr/sbin/sendmail: not found in my apache2 error.log, the problem is, I don't recall any of my site/apps trying to send mails or whatever, and I've already installed WP Mail SMTP on my wordpress blogs, which works all right,…
Shane
  • 261
  • 2
  • 3
  • 8
7
votes
4 answers

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 understand that sendmail is the message transfer agent on…
Ben
  • 775
  • 4
  • 9
  • 19
7
votes
3 answers

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 from scratch and ran into some other issues. I now…
ErebusBat
  • 935
  • 4
  • 12
  • 21
7
votes
4 answers

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.hostname.com with local (Exim 4.69)". Is there any way…
Kyle
7
votes
2 answers

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 $myhostname. ourcompany.example.com is resolvable. But…
sunny.oxide
  • 71
  • 1
  • 1
  • 3
6
votes
7 answers

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, and such. I'm looking into setting up a scheduled…
privatehuff
  • 1,089
  • 2
  • 10
  • 13
6
votes
2 answers

Sendmail messages rejected from Microsoft when using TLS

I'm going to preface this with a statement that I am no expert in sendmail. I rarely use it, but in this situation I have to for my client. Background: A client of mine has a mail server running Debian 7.7, Sendmail 8.14.4, and OpenSSL 1.0.1e. It…
Eric J
  • 63
  • 1
  • 1
  • 4