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.

1322 questions
135
votes
7 answers

Where to check log of sendmail?

I can't send out emails, need to look into the logs, but where is the log?
Shore
72
votes
4 answers

Is Postfix the same thing as Sendmail?

I have Postfix setup on my server so that I can send outgoing mail using the command-line: mail -s "Subject" address@example.com Is this using Sendmail or Postfix ? Is "Sendmail" just a software category or a distinct program ? If something is…
Xeoncross
  • 4,269
  • 12
  • 42
  • 55
69
votes
7 answers

how to fix "send-mail: Authorization failed 534 5.7.14 "

I am trying to create e-mail alert on ssh root login so I had to install ssmtp and mail utility. Then I configured ssmtp.conf file as follows : # Config file for sSMTP sendmail # The person who gets all mail for userids < 1000 # Make this empty to…
Connect
  • 801
  • 1
  • 7
  • 4
40
votes
4 answers

sendmail can not deliver to gmail - IPv6 sending guidelines regarding PTR records not met

I am having trouble in delivering mail to google from a fresh sendmail install on ubuntu 14.04. The DNS-records seem to be fine for the ip. Something else must be wrong. Sending mail from command line: sudo sendmail -v -Am -i…
merlin
  • 2,033
  • 11
  • 37
  • 72
38
votes
3 answers

"My unqualified host name (foo.bar) unknown" Problem

When trying to start sendmail or send a mail using a wordpress plugin, this error shows up in the maillog: "My unqualified host name (foo.bar) unknown; sleeping for retry" After Googling the best advice was, "add foo.bar to the /etc/hosts file",…
Richard Stelling
  • 1,467
  • 2
  • 19
  • 25
33
votes
12 answers

Disable local delivery in Sendmail

I am using Sendmail on a Centos server to send email for PHP scripts, but the problem is that mail is delivered to a local mailbox on the machine rather than what is specified in the MX records for the domain - which actually point to another…
user6091
32
votes
2 answers

Confused about alias_maps and virtual_alias_maps

I have already re-read the docs on this as well as other posts here and this is still very unclear to me. I have been testing various things to understand the difference between alias_maps and virtual_alias_maps and I don't see the use of these 2…
Neel
  • 1,421
  • 7
  • 21
  • 35
31
votes
5 answers

Send mail from Docker container with host's Postfix

I am running an Ubuntu 14.04 (Linux) server. I have installed and configured Postfix and OpenDKIM very nicely on the server; I can send emails to myself with commands such as echo hi | sendmail root, and postfix/opendkim will add headers such as…
David Grayson
  • 471
  • 1
  • 4
  • 10
30
votes
4 answers

Prevent mail being marked as spam

This is a canonical question about avoiding outgoing mail being classified as spam. Also related: Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User? What are SPF records, and how do I configure them? I'm…
jonepatr
  • 405
  • 1
  • 4
  • 7
26
votes
3 answers

what is sensible-mda and do i need it?

I'm running Ubuntu Intrepid, and have been seeing the following my logs: Aug 23 16:01:03 wp1 sm-mta[13700]: n7NFJIad013566: Warning: program /usr/sbin/sensible-mda unsafe: No such file or directory Aug 23 16:01:03 wp1 sm-mta[13700]: n7NFJIad013566:…
FilmJ
  • 756
  • 2
  • 9
  • 16
23
votes
9 answers

How to send email with my CentOS server?

I just built a modest home server using CentOS 5.5. I want the server to be able to send emails to my Gmail account or other email accounts for various things like cron jobs. Also it would be nice to be able to send email via PHP applications that I…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121
21
votes
5 answers

php mail() function painfully slow on local development machine

Background: If you have set up a local apache server for development purposes you may have run into the problem where sendmail takes a long time (at least one minute) to send emails. This is extremely frustrating if you are trying to debug a problem…
Michael B
  • 341
  • 1
  • 2
  • 9
21
votes
5 answers

How do I permanently delete e-mail messages in the sendmail queue and keep them from coming back?

I have a pretty annoying problem here. I have been testing an application and have created some test e-mails to bogus e-mail addresses (not to mention that my server isn't really set up to send e-mail anyway). Of course, sendmail is not able to…
Steven Oxley
  • 263
  • 1
  • 2
  • 9
18
votes
2 answers

How to fix "unable to qualify my own domain name (myhost) -- using short name"?

and yes, I have 127.0.0.1 localhost myhost.mydomain.eu myhost.domain2.eu localhost.localdomain 127.0.1.1 myhost in hosts file. What is wrong? Sendmail started to put this error into log. May 9 19:08:54 myhost sm-mta[17103]: unable to qualify…
user107788
17
votes
6 answers

Minimal setup for sendmail to send outgoing email only?

I run a simple server that I administrate remotely, and I need it to be able to send an email to my personal email address every time an error occurs. With the default setup on Ubuntu, sendmail just accumulates emails in /var/spool/mail that are to…
Michael
  • 291
  • 1
  • 2
  • 8
1
2 3
88 89