Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
0answers
36 views

I am unable to send emails from sendmail, emails getting queued

I am unable to send email from the sendmail, email are getting queued and when I try to run the queue, it's happening like this: Running /var/spool/mqueue/x15C9hL6024450 (sequence 1 of 8) ...
0
votes
0answers
32 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 ...
0
votes
0answers
254 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 ...
0
votes
2answers
200 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 ...
0
votes
0answers
59 views

Ubuntu Sendmail on internal XenServer not working

I have set up a XenServer in my home network. It's using an internal IP-Adress and is published via NAT and Web Protection. I have now a virtual machine with ubuntu but I am not able to send mail via ...
0
votes
0answers
161 views

Send mail hangs at creating SSL certificates

Sendmail was working fine until I removed it and tried to reinstall it. It now hangs on creating SSL certificates. I'm on Ubuntu 16
0
votes
0answers
17 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 ...
0
votes
1answer
165 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 ...
0
votes
0answers
134 views

How do I replicate XAMPP's sendmail from Windows on Linux?

I am working on a project to learn about web development, and at first I started coding on Windows. Using XAMPP, I modified the php.ini and the included sendmail.ini in order to use gmail to send an ...
0
votes
1answer
367 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 ...
2
votes
2answers
2k 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 ...
0
votes
0answers
36 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 ...
0
votes
2answers
62 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?
0
votes
1answer
257 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 ...
1
vote
0answers
624 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 ...
1
vote
0answers
118 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 ...
37
votes
1answer
17k 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 ...
0
votes
0answers
469 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 ./...
1
vote
0answers
161 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 ...
0
votes
0answers
301 views

Ubuntu How to properly configure Sendmail - 550 Verification Failed

I tried to install sendmail function, but did not work when did a echo test. Can anyone advice? sudo nano /etc/mail/local-host-names domain-name.com machine_name.domain-name.com sudo nano /etc/...
1
vote
1answer
2k 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 ...
2
votes
1answer
222 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 ...
1
vote
1answer
7k 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 -...
4
votes
1answer
418 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 ...
0
votes
0answers
97 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 # ...
0
votes
1answer
523 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?
1
vote
0answers
214 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 ...
3
votes
1answer
811 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 ...
0
votes
1answer
430 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 ...
1
vote
0answers
156 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 (...
2
votes
2answers
1k 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 ...
1
vote
2answers
4k 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 ...
0
votes
0answers
142 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 ...
2
votes
2answers
3k 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 ...
0
votes
0answers
63 views

What does this sendmail log line mean?

I understand that nrcpts=0 means the message is being blocked. But what will tell me why or where it is blocked? Aug 14 01:35:03 server sendmail[8644]: u7E5Z3I8008644: from=support@MyDomain.com, size=...
0
votes
0answers
491 views

mail-in-a-box versus sendmail?

What are some of the considerations for selecting between Sendmail and Mail-in-a-Box? Mail-in-a-Box wins on the marketing: What is it? Mail-in-a-Box lets you become your own mail service ...
2
votes
1answer
414 views

Set up of 'sendmail' headers for cron jobs (crontab-user@mydomain.xyz)

I use Ubuntu 14 on AWS EC2. I have a non-root user crontab. Upon cron job completion, an email is to MAILTO address, as set in crontab. The email sender looks like this: root@ip-111-11-0-11.us-east-...
2
votes
0answers
420 views

Ubuntu slow booting - 'sendmail.service' takes over a minute to load

My ubuntu is booting very slowly. I'll show here excerpts from dmesg where the difference in boot time is larger than one second. Which one of these entries is significant, and which is not? (In ...
0
votes
1answer
848 views

sending email test with postfix

I have installed postfix and I want to test the service to send mail. But the command line mail seems not to be recognized. I read that I should have installed mailutils and that I don't have all the ...
1
vote
0answers
153 views

Configuring email for a development machine

Almost every article I have found on this subject, including those on 'ask ubunutu', go along the lines of "follow this (deadlink to an article) BUT modify this that and the other". Regardless to say, ...
-1
votes
1answer
2k views

sendmail configuration on ubuntu

I am quite new to linux and trying to configure sendmail on my ubuntu box. Is there a way to configure it, so that it works "like" SMTP server? I did some search of course, but most of the posts ...
2
votes
2answers
1k views

cron.hourly sendmail errors even though my scripts do not involve sending mail [duplicate]

I have only one very simple shell script in /etc/hourly.cron. It just controls a Twitter bot- it runs a short python script that posts to Twitter using tweepy. It does not involve email or any ...
-1
votes
1answer
421 views

mail() / sendmail not working on lubuntu 14.04 in virtualbox guest

I tried: postfix ssmtp from this post How to have my PHP Send mail? and the classical sendmail with sudo sendmailconfig nothing works I can see no error messages. My host is windows 10. Any ...
0
votes
1answer
43 views

When I am trying to restart mt postfix and nagios the following messaged is displayed in the mail.log file

When i am trying to restart my postfix and nagios for sending a mail automatically about the status the foollowing message appears. Status:Deffered.Connections will not be accepted from x.x.x.x ...
0
votes
1answer
519 views

How to remove package (sendmail) for which I aborted the installation?

I thought I wanted to install sendmail, so I did sudo apt-get install sendmail but during the (very long (5min+) and slow) installation process, I discovered I did not need this package after all. ...
1
vote
0answers
272 views

About Mail `Authentication Request`?

I've installed Evolution, after that I've opened it, from that on-wards still I'm getting the mail Authentication Request as given below, I've uninstalled Evolution though,still at each time of login ...
0
votes
2answers
2k views

Sendmail down on Ubuntu 12.04, SSL problem?

I posted this on askubuntu.com yesterday but haven't gotten any responses. We run a production Ubuntu server that serves thousands of people per day. Sendmail is currently not working on this server. ...
3
votes
1answer
1k views

How to enter a declared variable in the mail body, while sending mail using perl script?

I am sharing a perl script here, which is supposed to send a mail with the HDD/RAM status in the message body: Also, the HDD out will happen only if the %HDD use is above 50%. How can I include the ...
-1
votes
1answer
821 views

someone is using may sendmail to spam other

I have an Ubuntu (14.04.1 LTS) install on AWS with sendmail. I keep getting messages from mail servers that are unable to deliver some of my messages (I did not send) and all are about sex. So I ...
1
vote
1answer
2k views

ssmtp doesn't recognize ctrl+d

I'm trying to send emails from an ubuntu-server (14.04.2 LTS) via the command-line and later inside small scripts. To do so, I want to use ssmtp with an external mailserver, inside the network, that ...