2022 Developer Survey is open! Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Autojack conflict with sendmail?

I've recently installed Sendmail on Ubuntu Studio 20.04. Since installing it, there's a System Problem on every startup. I'm new to Linux, so not sure how much of the crash log to post. The filename ...
user avatar
0 votes
1 answer
17 views

Is there a way to view the message-id (msgid) when receiving email using the Linux mail command?

0 I have a program that extracts email from the command line using the mail command as follows: The Message-ID/msgid is not part of the resulting email Is there a way to keep the message-id when ...
user avatar
  • 1
0 votes
1 answer
48 views

sendmail hangs / mail hangs

On all computers, sendmail works great except for one. All have the exact same /etc/mail config folder setup, I used rsync to make sure they all match. Normally this command works just fine... ...
user avatar
  • 671
0 votes
1 answer
90 views

Help with sendmail on new LAMP linux installation

Hi I installed sendmail. sudo apt-get install sendmail sudo sendmailconfig # accept Y all defaults echo "My test email being sent from sendmail" | /usr/sbin/sendmail example@gmail.com I ...
user avatar
  • 131
0 votes
0 answers
272 views

smtp send email on unattended upgrades in Ubuntu

Hello I have setup unattended upgrades on my Ubuntu 20.04 server with msmtp and sendmail. And want to send the result of Unattended-Upgrade to my email. But the email is not sending by Unattended-...
user avatar
  • 121
10 votes
1 answer
797 views

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: "/...
user avatar
  • 60.9k
0 votes
0 answers
1k views

configuring sendmail on ubuntu 20.04

I'm trying to configure the sendmail on my ubuntu, the following should install the necessary packages: sudo apt-get install sendmail sendmail-cf m4 But then when I'm changing the sendmail.mc file ...
user avatar
0 votes
1 answer
138 views

What is needed for nagios to send emails?

i have installed nagios4 from ubuntu repository packages in a kvm guest running ubuntu server 20.04. i am able to invoke sendmail manually and can send emails. However nagios isn't sending any ...
user avatar
0 votes
1 answer
822 views

MTA-sendmail stat=Deferred: Connection refused by X.X.X.X

Groovy Gorilla Local sendmail can't deliver local mails. The localhost not responding, what else needs to check? echo "Subject: sendmail test" | sendmail -v root root... Connecting to [127.0....
user avatar
0 votes
1 answer
983 views

Postfix Send-Only SMTP Server domain name configuration

I found 2 ways of sending mails from Linux/bash : through a service , like sSMTP, which implies using an external SMTP server, like gmail through Postfix server, which configures the Linux server to ...
user avatar
  • 43
1 vote
0 answers
318 views

Postfix aborts installation after upgrade to 20.04

I cannot install Postfix on Ubuntu 20.04 after upgrading from 16.04 and previously using sendmail. The output below occurs while attempting to install Postfix using apt: Job for postfix.service ...
user avatar
  • 1,168
7 votes
1 answer
8k views

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 ...
user avatar
  • 217
-1 votes
1 answer
73 views

Sendmail config

I need to configure Sendmail server using ubuntu, and I get error permission denieded even if I am connected as a root : Here is the error message [1]: https://i.stack.imgur.com/DGpIG.png
user avatar
0 votes
1 answer
79 views

Where is cf/README? It's supposed to be with the configuration files

The main documentation for configuring sendmail is in a file at sendmail/cf/README. For some reason it isn't here on my 18.04 server. Note that this file is referred to in other documentation within ...
user avatar
  • 293
1 vote
1 answer
2k views

Using sendEmail with Gmail

I try to sending an E-Mail via Gmail and sendEmail. I have try some configurations but nothing works. sendEmail \ -o tls=yes \ -f mymailaccount@gmail.com \ -t email-receiver@gmail.com \ -s smtp.gmail....
user avatar
0 votes
1 answer
3k views

When i'm sending the mail it's not delivering to the recipent here is the log ........can anyone help me what i need to configure?

mail -s "test mail" recipient@domain.com < messagebody.txt Dec 16 06:45:23 Ambidextrous postfix/pickup[16021]: D493648123F: uid=1000 from=<praveen@Ambidextrous> Dec 16 06:45:23 Ambidextrous ...
user avatar
  • 31
1 vote
2 answers
1k views

How to send e-mail with attachment from terminal?

I'm new to Ubuntu. Can anybody help me about how to send emails from terminal?
user avatar
  • 31
1 vote
1 answer
622 views

Change server mail from postfix to sendmail virtualmin

Hi I have already install an ubuntu server with postfix and sendmail mail servers.Although postfix runs perfectly when I go to Virtualmin panel>Virtual Configuration>And choose sendmail mail server to ...
user avatar
0 votes
0 answers
104 views

Send mail using old domain

I have just sent a test email through PHP from my server using mail-tester.com. The Received: section states the following: Received: from OLD_domain_name (ptr_record_for_ip [my.ip.address]) Old ...
user avatar
  • 249
1 vote
0 answers
297 views

Unattended Upgrades email from address

I am ubuntu 19.04 and have found sSMTP no longer works properly and have switched over to msmtp and msmtp-mta for sendmail alias. I am in the process of getting unattended upgrades setup. It is ...
user avatar
2 votes
1 answer
2k views

How can i setup and configure sendmail SMTP server to send bulk emails in UBUNTU?

I am working on an assignment in which i have to send bulk emails with sendmail SMTP server. I have tries many tutorial to setup sendmail server to send bulk emails but nothing helps me. Can anyone ...
user avatar
1 vote
1 answer
1k views

Restoring /etc/mail to defaults

I ran into issues configuring Sendmail and messed up the /etc/mail folder's files, so I deleted /etc/mail entirely. How can I now start fresh in my journey of attempting to configure Sendmail by ...
user avatar
  • 181
1 vote
1 answer
4k views

Job for fail2ban.service failed because the control process exited with error

I have a basic issue on getting fail2ban started on one of my machines. I have a machine with Ubuntu 16.04 freshly installed today, and I am following a variety of instructions on fail2ban from source ...
user avatar
0 votes
2 answers
564 views

Error Sendmail-base

After upgrade from Ubuntu 18.04 to 18.10, my laptop error: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 ...
user avatar
0 votes
0 answers
38 views

Setup mail for lamp

I am trying to setup mail mail for my server but when i try to run command sudo apt install sendmail it gives me E: Unable to correct problems, you have held broken packages. i have done all ...
user avatar
0 votes
1 answer
887 views

Sending mail through bash used to work, no longer working

4 months ago I made a .sh script to send myself my IP address every some time to be able to connect to my computer remotely with ssh. For a few months I didn't use it cause I worked at home. I'm about ...
user avatar
0 votes
1 answer
872 views

Cannot install sendmail or update Ubuntu [duplicate]

I am trying to install sendmail, however whenever I run sudo apt-get install sendmail, I end up with the following error messages: Err:1 http://mt.archive.ubuntu.com/ubuntu zesty-updates/main amd64 ...
user avatar
  • 145
3 votes
2 answers
5k views

does heirloom-mailx need sendmail?

I installed the heirloom-mailx package and tried to use mailx to send an email: $ echo "heirloom mailx works!" | mailx -s "Server mail" me@example.org However the operation did not succeed: Cannot ...
user avatar
  • 1,347
0 votes
0 answers
52 views

Trace PHP file that triggered sendmail

Something in my system is sending mails I am not expecting. I can see the mail items in /var/log/mail.log but I am very interested in figuring out exactly which file in my web application is ...
user avatar
0 votes
2 answers
131 views

Russian words in 'From' Sendmail

How to set Russian letters 'from' header in mail? Example: I use Webasyst Mailer app and PHP to send emails. How to set this in sendmail?
user avatar
0 votes
1 answer
697 views

SendMail 503 error Ubuntu ["Unrecognized host name gmail.com."]

Unrecognized host name gmail.com. 503 5.0.0 Need RCPT (recipient) This error if i send mail in any email *@gmail.com How do I enable sending mail to all addresses? news@ovz1:~$ nslookup gmail.com ...
user avatar
3 votes
0 answers
1k views

dpkg command interrupted while running sendmail

I was installing sendmail on my Homestead virtualbox, it got stuck at one point and I used control+c to break it. Now when I try to run sudo apt-get upgrade, it tell me that dpkg was interrupted, try ...
user avatar
  • 131
1 vote
0 answers
200 views

suddenly mail is stop working for linode

Sendmail is stopped sending mail suddenly. /etc/init.d/sendmail status MSP: is run via cron (20m) MTA: 5425 /usr/sbin/sendmail-mta -Am -L sm-mta -bd -q10m UID PID PPID C STIME TTY ...
user avatar
51 votes
1 answer
29k views

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 ...
user avatar
  • 647
0 votes
0 answers
2k views

sendmail error: No such file or directory

I am trying to use sendmail out of the box using the default configuration. (I just need an MTA to deliver mail out from my application.) When I try to send a mail, I get: Cannot write ./...
user avatar
1 vote
0 answers
235 views

How to configure Unattended Upgrades to send emails to all users?

I have a Workstation installed with Ubuntu 16.04 LTS. I would like to automate the maintenance job every 4 months by sending out an email to all users registered on the machine one week before ...
user avatar
  • 2,542
1 vote
1 answer
4k views

unsafe map file /etc/mail/access.db: Permission denied

when sending mail through Sendmail an error is displayed: vectortrade sm-mta[16951]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied what rights ...
user avatar
2 votes
1 answer
371 views

Mediawiki doesn't send any email

My mediawiki installation (1.28.0, PHP 7.0.13) doesn't send any email and yet there is no error emitted. I checked using Special:EmailUser page. What I have tryed: 1) A simple PHP script to send a ...
user avatar
  • 141
1 vote
1 answer
8k views

How to configure sendmail correctly?

I need to send emails by a PHP script. I have removed Postfix and configured sendmail, but I am getting too problems. When I execute the next command: test -x /etc/init.d/sendmail && test -...
user avatar
  • 159
4 votes
1 answer
2k views

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 ...
user avatar
  • 141
0 votes
0 answers
143 views

Trying to set up Catch-All Email Address with Sendmail

I'm trying to create a catchall email address with Sendmail (it will be used to catch email bounces for Oceth's OEMPro). First I started by creating a new user: # useradd -s /bin/false bounces # ...
user avatar
  • 155
0 votes
1 answer
567 views

Installation of sendmail

I'm trying to install Sendmail, but I got some "Warnings". Could anyone is able to tell me what I have to do to fix it?
user avatar
1 vote
0 answers
375 views

Sendmail 8.14 get rid of success delivery status notification (DSN) generation

I have been using sendmail since 1995. I have an Ubuntu 12.04LTS server which my best information is, uses sendmail 8.14.4. I am having a problem that mail is coming in from an IP address addressed ...
user avatar
3 votes
1 answer
4k views

What does this /dead.letter file talking about a SMART warning mean?

I just found this dead.letter file in my root directory from two months ago: $ ll /dead.letter -rw------- 1 root root 638 Sep 23 02:44 /dead.letter This is its content: Date: Fri, 23 Sep 2016 ...
user avatar
  • 100k
0 votes
1 answer
665 views

setup sendmail smtp to add use it as gmail alias

I installed sendmail and dovecot and I am able to send and receive emails from mutt as mail@myowndomain.com. I want to be able to add this account to gmail as alias, to send and receive mails via ...
user avatar
  • 111
1 vote
0 answers
241 views

ssmtp works in cron, but not elsewhere

Ubuntu 16.04.... If I enter sudo ssmtp recipient@somewhere.com and type some text, then hit ctrl-d I get in the syslog: Nov 4 15:18:58 garage-security sSMTP[27717]: 550 5.6.0 Invalid header found (...
user avatar
3 votes
2 answers
3k views

Mutt message: "Alarm Clock"

short version: I'm trying to send mail with Mutt. It fails and says "Alarm clock". What does that mean, how do I fix it? long version: I have an ubuntu server running tiny tiny rss. It sends daily ...
user avatar
2 votes
2 answers
8k views

Log from Sendmail and PHP

If I leave my default sendmail options set in php.ini it works fine and sends an email. However if I change the sendmail path to: sendmail_path = "sendmail -t -i -x /var/log/mail.log" mail() returns ...
user avatar
  • 249
0 votes
0 answers
215 views

Sendmail logging to mysql

I am quite new to Linux and I've setup a Ubuntu 14 box with sendmail. I'd really like to pipe the output of the logs to Mysql for analysis with PHP. My issue however is I can't even seem to start ...
user avatar
  • 249
2 votes
2 answers
7k views

`systemctl reload sendmail` throws `Job type not applicable"

When I try to use systemctl to reload the sendmail configuration I get an error. Is this a bug or should I just avoid trying to use systemctl with sendmail? What is the recommended way to teach ...
user avatar