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
21 views

Can't figure out how an old email relay is set up -- need to change passwords

I have an old server running that is poorly documented. At some point I changed how the email sending worked (sending cron messages and from Drupal ). I can't figure out where the relay/password ...
markb's user avatar
  • 1
0 votes
0 answers
326 views

Using sendmail to send notifications (Fail2Ban) through Postfix relay

I'm still pretty much a complete neophyte when it comes to Ubuntu/Linux in general, but I'm familiar with how sending mail via SMTP works in general. So now I currently have two Ubuntu servers running ...
G_Hosa_Phat's user avatar
0 votes
2 answers
558 views

git send-email setup failure

I am unable to setup git send-mail to send a patch. os platform: Ubuntu22.04 LTS linux kernel: 5.15.0-58-generic git virsion: 2.34.1 I following these two guides. git setup guide microsoft smtp ...
Vishal Parmar's user avatar
0 votes
0 answers
80 views

Schedule sending with thunderbird mail merge adds on

Is it possible to add a column in the CVS file containing the required send times ( scheduled times ) then I add it to thunderbird mail merge because I want to send emails separately ( for ex one ...
Haitham's user avatar
0 votes
1 answer
257 views

Sendmail to send system emails

Is there a way to send an email to my Gmail account, each time I get a system email from Ubuntu? I'm using Ubuntu 22.10 and has Sendmail installed and working (sending emails from/to my Gmail account)....
Regev's user avatar
  • 1
0 votes
0 answers
1k views

How do I setup etc/ssmtp/ssmtp.cf for testing the sendmail command on Ubuntu 22.04 LTS to send a test email through port 25 to service provider?

Installation: $ sudo apt install sendmail Rhe following packages will be REMOVED postfix Desktop: Ubuntu 22.04 LTS (NOT server) File: /etc/ssmtp/ssmtp.conf Edited with: $ sudo nano /etc/ssmtp/...
Addi's user avatar
  • 1
2 votes
0 answers
636 views

Ubuntu 18.04 - Sendmail no longer works since Gmail discontinued support for less secure apps

Since Gmail discontinued support for "less secure apps," Sendmail stopped working because I had configured it to interface with my Gmail account. I tried enabling "App Password" in ...
webdevfp's user avatar
0 votes
1 answer
530 views

Command line sendmail quit working after June 6

Since June 6 all scripts sending mail to my gmail account have stopped working and Thunderbird is asking repeatedly to enter my password, which has not changed in the last week. I am running Ubuntu 20....
user78290's user avatar
  • 135
0 votes
1 answer
167 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 ...
Jared's user avatar
  • 1
0 votes
1 answer
2k 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... ...
schworak's user avatar
  • 851
0 votes
1 answer
595 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 [email protected] I ...
Ahdee's user avatar
  • 131
0 votes
0 answers
1k 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-...
fteinz's user avatar
  • 121
10 votes
1 answer
1k 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: "/...
heynnema's user avatar
  • 68.9k
0 votes
1 answer
4k 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 ...
Haribo's user avatar
  • 111
0 votes
1 answer
312 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 ...
gregrwm's user avatar
0 votes
1 answer
2k 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....
Brad Thompson's user avatar
0 votes
1 answer
2k 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 ...
AlexP's user avatar
  • 83
1 vote
0 answers
452 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 ...
Coder Guy's user avatar
  • 1,228
8 votes
1 answer
14k 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 ...
chribonn's user avatar
  • 271
-1 votes
1 answer
89 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
Did you know THAT's user avatar
0 votes
1 answer
114 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 ...
Hack Saw's user avatar
  • 331
1 vote
1 answer
4k 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 [email protected] \ -t [email protected] \ -s smtp.gmail....
user6266369's 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" [email protected] < messagebody.txt Dec 16 06:45:23 Ambidextrous postfix/pickup[16021]: D493648123F: uid=1000 from=<praveen@Ambidextrous> Dec 16 06:45:23 Ambidextrous ...
Praveen's user avatar
  • 31
1 vote
2 answers
2k 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?
Praveen's user avatar
  • 31
1 vote
1 answer
776 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 ...
Konstantinos's user avatar
0 votes
0 answers
117 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 ...
Antony's user avatar
  • 219
1 vote
0 answers
360 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 ...
josh bob's user avatar
2 votes
1 answer
3k 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 ...
Ammar Siddiqui's user avatar
1 vote
1 answer
2k 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 ...
Keavon's user avatar
  • 181
2 votes
1 answer
5k 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 ...
ComputerScientist's user avatar
0 votes
2 answers
589 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 ...
Suhartiman's user avatar
0 votes
0 answers
48 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 ...
Owais Latif's user avatar
0 votes
1 answer
1k 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 ...
E C's user avatar
  • 43
1 vote
1 answer
1k 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 ...
ENBYSS's user avatar
  • 155
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" [email protected] However the operation did not succeed: Cannot ...
Asarluhi's user avatar
  • 1,477
0 votes
0 answers
54 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 ...
Andrew Jackman's user avatar
0 votes
2 answers
156 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?
Молюска Моллюсков's user avatar
0 votes
1 answer
831 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 ...
Молюска Моллюсков's 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 ...
Amin Baig's user avatar
  • 131
1 vote
0 answers
245 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 ...
Sagar Prajapati's user avatar
52 votes
1 answer
30k 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 ...
Sisir's user avatar
  • 657
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 ./...
Old Geezer's user avatar
1 vote
0 answers
239 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 ...
Xiaodong Qi's user avatar
  • 2,562
1 vote
1 answer
5k 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 ...
Stefan Hansch's user avatar
2 votes
1 answer
408 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 ...
fpiette's 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 -...
Diego's 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 ...
Bobface's user avatar
  • 151
0 votes
0 answers
185 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 # ...
Holly's user avatar
  • 155
0 votes
1 answer
595 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
408 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 ...
muskoka1030's user avatar