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
0answers
30 views

Sendmail how to send user mail ubuntu to server@domain relay

I have been having trouble trying to use echo "This is a test for sendmail gmail relay" | sendmail -v <email> command to send an email but it's not working and it keeps sending it to ...
0
votes
0answers
28 views

Why local users are deferred by MTA - sendmail

Linux zika 5.8.0-48-generic #54-Ubuntu SMP Fri Mar 19 14:25:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Local Sendmail does not deliver mail to account users. The root OK. Deferred: local mailer (/usr/...
0
votes
1answer
34 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....
0
votes
1answer
287 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 ...
1
vote
0answers
133 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 ...
4
votes
1answer
3k 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 ...
0
votes
0answers
161 views

NGINX NOT properly set up with iRedMail installation - 502 bad gateway error

OS: Linux Ubuntu 20.04 Web server: NGINX Database: MariaDB The installer ran on the command line I have already made the necessary configuration prior to the installation: Set DNS records (A & ...
0
votes
0answers
109 views

No IPv6 outbound from Sendmail starting with 20.04

With Bionic, Sendmail would send email over IPv4 and IPv6, which I could see in logs and DMARC aggregate reports. Since upgrading to Focal, it's only attempting to send over IPv4, but I can receive ...
0
votes
1answer
56 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
0
votes
1answer
56 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 ...
1
vote
1answer
790 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....
0
votes
1answer
2k 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 ...
1
vote
2answers
583 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?
1
vote
1answer
479 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 ...
0
votes
0answers
71 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 ...
1
vote
0answers
208 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 ...
2
votes
1answer
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 ...
1
vote
1answer
937 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 ...
1
vote
1answer
3k 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
528 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
32 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
660 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
1answer
752 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 ...
3
votes
2answers
4k 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
49 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
108 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
581 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 ...
3
votes
0answers
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 ...
1
vote
0answers
184 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 ...
51
votes
1answer
28k 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
1k 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
216 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 ...
1
vote
1answer
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 ...
2
votes
1answer
307 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
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 -...
4
votes
1answer
1k 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
117 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
554 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
352 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
3k 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
586 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
227 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
2k 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 ...
2
votes
2answers
7k 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
180 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
6k 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
580 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
623 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
628 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
1k 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 ...