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 connection timeout

I recently setup a new Debian server, After installing and setting up sendmail for the first time, I am not able to send e-mail. Reason : Connection timeout. Output from the /var/log/mail.log : > May 6 02:42:53 k***** sm-mta[15070]:…
Erwald
  • 185
  • 1
  • 1
  • 11
4
votes
1 answer

Modify Sendmail return_path header

I'm hosting a portion of a website for a client, and sending e-mails from their primary domain from a server in my network. Proper SPF records are in place for this, but SPF checking is still failing. SPF seems to be checking the Return-Path:…
noctorum
  • 105
  • 2
  • 5
4
votes
3 answers

Connection refused. Why can't I send email from one server but I can from another?

I'm trying to send email from PHP using mail(). I have complete access to both servers. No unusual iptables rules on either (nothing blocking a default install of sendmail) I installed sendmail on the one server a couple of years ago (Ubuntu 10.10)…
simonhamp
  • 465
  • 1
  • 5
  • 13
4
votes
2 answers

Sending e-mail from sendmail with headers

I'm trying to send an e-mail with sendmail, but I need to specify some headers (From, Content-Type, Subject). Here is the command I am currently running: echo "Content-Type: text/plain\r\nFrom: do-not-reply@mydomain.com\r\nSubject: Test\r\n\r\nThe…
Justin
  • 5,328
  • 19
  • 64
  • 84
4
votes
2 answers

Nginx - Email Forwarders

I used to have a CPanel/Plesk server so I didn't setup email via command line etc. I don't want an email pop3 account or mail server. Just want to forward "email@site.com" to "email@gmail.com" - can I do this using nginx? K
TheBlackBenzKid
  • 212
  • 1
  • 4
  • 12
4
votes
1 answer

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 strange email addresses. It looks like it is sending…
starchx
  • 533
  • 10
  • 24
4
votes
3 answers

sendmail queue - display number of messages per domain

Is there a simple command to find out the current number of messages per domain in the linux sendmail queue? mailq dumps out a verbose list, but it's not convenient for a quick overview. I'm using Centos and sendmail. mailq -v | egrep -v '^-' |…
User4283
  • 781
  • 3
  • 10
  • 27
4
votes
2 answers

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 installed logcheck, and am periodically getting…
EvanK
  • 247
  • 3
  • 7
  • 13
4
votes
2 answers

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?
dsadinoff
  • 265
  • 3
  • 9
4
votes
3 answers

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 further investigation, /var/log/maillog shows…
morgant
  • 1,470
  • 6
  • 23
  • 33
4
votes
2 answers

How to change sendmail fallback behavior if TLS handshake fails?

I have a CentOS 5.x server running sendmail that is failing to negotiate TLS with SOME various recipient servers. I'm looking into it. In the meantime though, I've noticed that sendmail will NOT bother falling back to use standard unencrypted…
Mike B
  • 11,871
  • 42
  • 107
  • 168
4
votes
2 answers

Sending an email with attachments from the results of a cron job

I have a cron job that generates text files. I'd like these files to be sent as attachments to an email address. It's important that they show up as attachments in a multi-part MIME message and not just as text in the body of the email. I have read…
Manu R
  • 175
  • 1
  • 2
  • 6
4
votes
7 answers

all mails going to gmail SPAM (sendmail on centos) 127.0.0.1 problem?

UPDATE ON SPF CHECK http://www.openspf.org/Why: The SPF check gives me this: An SPF-enabled mail server rejected a message that claimed an envelope sender address of support@ourdomain.com. An SPF-enabled mail server received a message from…
solsol
  • 1,121
  • 8
  • 21
  • 31
4
votes
3 answers

Can I prevent sendmail from sending emails and instead save them to a file?

I want to test a Newsletter application on a dummy server but I don't want all the clients in my DB (dumped from the live server) to get an email. Is there any way to prevent sendmail from sending those mails really out and instead save them to a…
Omar Kohl
  • 141
  • 4
4
votes
2 answers

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 Google's servers. Is this causing the issue? How…
TomWilsonFL
  • 185
  • 1
  • 2
  • 8