Questions tagged [sendmail]

Sendmail is a mail transfer agent that facilitates sending email. It typically involves a local email server, and so is unlike email clients such as Evolution and Thunderbird.

Sendmail is a mail transfer agent that facilitates sending email. It typically involves a local email server, and so is unlike email clients such as Evolution and Thunderbird.

As Wikipedia explains:

Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and -delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet.

119 questions
52
votes
1 answer

Ubuntu 16.04 command line sendmail installation hanged

I was trying to install sendmail but it is hanging while trying to generate ssl certificates. I have canceled the installation process and later killed processes that was locking any new packages from installing. But whenever I run apt-get install…
Sisir
  • 667
24
votes
1 answer

Completely remove sendmail

How do I completely remove sendmail? I have tried the following: apt-get remove sendmail apt-get purge sendmail Sendmail is still there and running, how do I completely remove it and all config files?
24
votes
6 answers

Postfix start error Port 25: Address already in use

I'm attempting to get postfix running on my server but keep getting the following error in my /var/log/mail.log: postfix/master[5041]: fatal: bind 0.0.0.0 port 25: Address already in use I did some searching and found this excellent answer by Oli…
neanderslob
  • 756
  • 2
  • 9
  • 25
15
votes
3 answers

Problem using Postfix with Sendmail

I've sendmail installed using "apt-get install sendmail" and also postfix installed using Webmin. But Postfix cannot start, and when I checked the /var/log/mail.err *Jul 11 14:09:03 victoria postfix/master[6588]: fatal: bind 0.0.0.0 port 25: Address…
13
votes
2 answers

Sendmail very slow - /etc/hosts configuration

It takes ~15 seconds to send single e-mail using sendmail. /var/log/mail.log: Jul 31 09:52:42 piotr-probook sendmail[2912]: My unqualified host name (piotr-probook) unknown; sleeping for retry /etc/hostname: piotr-probook /etc/hosts: 127.0.0.1 …
Piotr
  • 281
11
votes
1 answer

Using CLI "mail" command

I feel a little silly asking this question... as the answer may be quite simple... but searching here on AU, or on Google, or man mail, hasn't given me the answer. If I start mail, I see this: "/var/mail/al": 8 messages 8 unread >U 1…
heynnema
  • 73,649
10
votes
1 answer

msmtp: sendmail: account default not found: no configuration file available (system wide configuration)

I am trying to setup Ubuntu 20.04 with msmtp as a system configuration. I installed msmtp (v1.8.6-1) and heirloom-mailx (v12.5-2+deb7u1build0.14.04.1). Config file /etc/msmtprc (chmod: 600) has the following: # Set default values for all…
chribonn
  • 311
9
votes
5 answers

Local only sendmail that delivers all mail to a directory

I have a development Ubuntu Server (12.04.1) VM that I use to develop php sites and e-commerce sites (like Magento etc). Because this is for development purposes, and I need to test with e-mail addresses other than my own, I need a way for the…
Gareth
  • 271
6
votes
3 answers

Who is sm-msp-queue and how does he/she/it flood my /var/log/syslog?

I run Linux BeagleBoard-xM 3.12.5-armv7-x10 #1 SMP Fri Dec 13 03:06:20 UTC 2013 armv7l armv7l armv7l GNU/Linux and my /var/log/syslog gets flooded by messages like Jan 11 10:21:09 BeagleBoard-xM sm-msp-queue[8036]: s0AJ66SY002027: to=root,…
Christian
  • 101
6
votes
1 answer

how to set-up (very) simple sendmail

I've been trying to get command line sendmail to work, but no success. I need this to output my anacron error somewhere. I've installed the sendmail package. Configured /etc/aliases with: root: me@gmail.com But whenever I'm trying to send an email…
knifter
  • 61
5
votes
1 answer

Setting up sendmail on a server without webserver

I want to use sendmail so that fail2ban can send me notifications. I have read multiple guides on how to set it up, but I cannot get it to work. What I have done so far: apt-get install sendmail Modified /etc/hosts: "127.0.0.1 localhost" =>…
Bobface
  • 171
5
votes
2 answers

sendmail with cron job

I've written a script and everything is working so well according to my needs: a=$(df -h /mnt/smb | tail -n +3 | tr -s ' ' | tr '%' ' ' | cut -d ' ' -f 5) echo $a if [[ $a -ge 30 ]]; then cat /etc/diskspace/text.txt | sendmail…
kunal
  • 442
5
votes
1 answer

Vixiecron doesn't allow disabling of emails, how can I disable cron emails globally?

Every time the cron runs there are some sendmail processes being created which take our machine to huge high loads. We have chased this problem down to cron and sendmail. Adding MAILTO="" on top of the cron is a solution, piping each cron command to…
5
votes
5 answers

sending file using sendmail

I have a shell script that uses sendmail function to send email the code is as follows mailalert(){ sendmail -F Sender-Name -it <
Tarun
  • 4,275
  • 15
  • 53
  • 74
5
votes
4 answers

Why can't the nagios user send mails using "sendmail"?

I have installed nagios for monitoring and sendmail for sending mails. When testing from root account I am receiving mails, but I'm not receiving mails when I send it from nagios account. I have googled and found that only root user can send mails…
karthick87
  • 84,513
1
2 3 4 5 6 7 8