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

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. 1) Can you name 1 or 2 simple to setup standard…
user12096
  • 927
  • 6
  • 23
  • 39
12
votes
4 answers

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 notifications don't go out. Stopping outbound mail will…
cwebber
  • 491
  • 3
  • 7
12
votes
3 answers

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?
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
11
votes
6 answers

How to stop Sendmail sending mail from IPv6 instead of IPv4

Today I noticed that Gmail sends all messages received from my server to the Spam folder. I checked message header and found the following: Authentication-Results: mx.google.com; spf=neutral (google.com: 2001:4ba0:cafe:........ is neither…
tfe
  • 127
  • 1
  • 1
  • 6
11
votes
3 answers

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 services as possible to save resources. Can the MTA be…
bernie
  • 385
  • 1
  • 3
  • 12
11
votes
8 answers

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 server. Also I've tried to change the…
Brayn
  • 281
  • 2
  • 3
  • 9
11
votes
4 answers

How to sendmail via command line piping

I have a cron command that runs a file and I'm trying to setup the output so it emails to me. I use this with 3rd party scripts that I don't want to modify the direct files, so I need to pipe the output instead of modifying the PHP. I'm migrating…
Ben
  • 3,800
  • 18
  • 65
  • 96
10
votes
1 answer

Why are people repeatedly connecting to my MTA, doing nothing, and leaving?

I have a sendmail server. Periodically (ie, several times an hour) I get log entries like this: Sep 3 10:06:49 lory sendmail[30561]: v8396nsQ030561: [37.49.226.159] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v6 Sep 3 10:06:49 lory…
MadHatter
  • 79,770
  • 20
  • 184
  • 232
10
votes
2 answers

Why use Dovecot AND Postfix/Sendmail?

Forgive me if I'm missing something obvious here..... but why do most linux server distros come with both Dovecot AND Postfix (or sendmail)? As far as I'm aware all three of them are Mail Transfer Agents, with Dovecot having a 'secondary' function…
Nom
  • 301
  • 1
  • 2
  • 6
10
votes
6 answers

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 gone over the sendmail docs, but don't quite…
Octopus
  • 359
  • 1
  • 3
  • 19
10
votes
4 answers

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?
Carl Hörberg
  • 620
  • 4
  • 9
  • 21
10
votes
3 answers

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 my configuration is not a default one. I've looked…
Eduard Luca
  • 371
  • 2
  • 9
  • 19
9
votes
2 answers

How can I use wildcards for sendmail TLS_Rcpt?

sendmail lets one place restrictions on TLS conversations. I want to check that messages sent to example.com are sent to a server that has a *.messagelabs.com certificate. I want to protect against DNS spoofing and MitM. If messagelabs only had one…
Law29
  • 3,557
  • 1
  • 16
  • 28
9
votes
6 answers

How can I set up sendmail to forward all mail to an external MTA?

We have multiple applications that currently talk SMTP to an external MTA. The emails have arbitrary destination domains (they're emails to be sent to our users), but all from the same internal domain (support@company.com). I want to set up an…
unknown (google)
8
votes
1 answer

Fixing starttls verify=fail, verifymsg=unable to get local issuer certificate

Running Amazon Linux on EC2 instance with sendmail. I have an email account with Network Solutions, and use that account as a SMART_HOST relay in my sendmail configuration. It works well except for one little detail. In my maillog file I see…
sootsnoot
  • 405
  • 1
  • 5
  • 12
1 2
3
88 89