Questions tagged [sendmail]

General purpose email routing software that supports mail transport via TCP/IP using SMTP

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

Sendmail and hostname config for another domain

The following example with fictional names describes my situation: External mail service mailservice.com DNS entry my.server.com points to the server publicly The server should send e-mails from ...
Kalsan's user avatar
  • 131
0 votes
0 answers
23 views

Sendmail SPF Check Fails When Receiving Emails from Our Domain in Gmail Client

I am using Sendmail to handle emails for my domain, which has properly configured SPF records. When I send emails to external addresses, everything works correctly and the SPF check passes without any ...
Mquinteiro's user avatar
1 vote
3 answers
57 views

sendmail: server shows failures due to bad client certificate

My sendmail server (FreeBSD, compiled against OpenSSL) is refusing to negotiate TLS with one particular set of clients. Log messages look like this: sm-mta[92474]: STARTTLS=server, error: accept ...
Jack Brennen's user avatar
0 votes
0 answers
39 views

I'm dockerizing my website setup. What is the best approach to send mails by PHP-FPM in a container?

So i've seen a couple of questions about setting up notifications for PHP-based websites, so i'd like to ask you for the best approach. For that, I have: a WordPress website with custom PHP packages ...
Radosław Serba's user avatar
1 vote
0 answers
20 views

FROM address for system emails on Linux (Postfix)

I have an unbuntu server using sendmail and postfix to send apticron, cron etc emails. postfix is configured to use a smart relay, the smart relay is rejecting emails as they come from the subdomain ...
THEMike's user avatar
  • 175
0 votes
0 answers
27 views

Sendmail Partial Delivery On Some Emails

I have three mail users. Each successfully send and receive mail. There is a single repeated problem email, a Web Form Notification sent from an Amazon server which is sent to all three mail users. ...
Dorothy's user avatar
  • 179
0 votes
0 answers
36 views

A script can send emails when I run it manually, but not when run by crontab

I've written a script that emails me some information using ssmtp from an Ubuntu server. It works fine when I run it as root, but it fails when it's run with root's crontab. I can see this error in ...
nadrad's user avatar
  • 1
0 votes
0 answers
20 views

3% of Sendmail Localhost Relays are Deferred

Using Debian 10.3 and Sendmail Version 8.15.2, mail being sent with relay=[127.0.0.1] results in stat=Deferred: Name server: [127.0.0.1]: host name lookup failure. This occurs only 3% of all localhost ...
Dorothy's user avatar
  • 179
-1 votes
2 answers
167 views

DMARC rua unable to send reports via sendmail to local e-mail address?

I've setup a small mail server with Postfix, Dovecot, and MySQL (MariaDB) on Debian. I've also configured TLS with Let's Encrypt. rDNS, DMARC, DKIM, SPF and Fail2Ban are also setup and confirmed to ...
St4rb0y's user avatar
  • 59
1 vote
1 answer
29 views

Archive Mail send through sendmail service from outlook

I have sendmail running on linux host with email alias group, from outlook I am sending mail through this sendmail server. Am looking for an option to archive all outgoing mails using this sendmail ...
Natasha's user avatar
  • 171
3 votes
1 answer
426 views

How to correctly escape single quotes in AWK

It isn't clear exactly what more needs to be escaped in the following macro to allow it to be used with awk or sed on FreeBSD. define(`RELAY_MAILER_ARGS', `TCP $h 2525')dnl Here is an awk command ...
Utkonos's user avatar
  • 406
1 vote
1 answer
54 views

Ubuntu Linux: Change settings for mutt and/or sendmail

Inherited system setup. Ubuntu using mutt and sendmail to send emails is currently using on-premise Exchange Sever that is scheduled to be phased out. I have to change it so that it uses a builtin ...
h3ctiC's user avatar
  • 11
0 votes
1 answer
73 views

sendmail and LDAP-based aliases

Environment: CentOS 7.9, Sendmail 8.14, OpenLDAP 2.4 I'm trying to get sendmail to read its aliases from an LDAP database (this has worked with NIS for years, but NIS is fading into the twilight). My ...
William Seligman's user avatar
0 votes
0 answers
55 views

How to rewrite completly the sender of all outbound mail in sendmail?

How to set an arbitrary sender and name and address in the From field of every email sent via sendmail, ignoring any sender information already set, replacing original.sender <original.sender@host....
André Nasturas's user avatar
1 vote
1 answer
101 views

OpenBSD 7.2: Mailbox file in users' home directory - use Postfix or stick to default sendmail?

I need to setup a mail server with a bit unusual requirements: OpenBSD is a must. Probably latest version, 7.2. All mails have to be stored in aa Mailbox file located in user's home directory. Well, ...
AAA's user avatar
  • 21
0 votes
1 answer
890 views

how to send test email with sendmail

I've setup the FQDN in /etc/hosts: 127.0.0.1 hostname.domain hostname 127.0.0.1 localhost however if I run hostname it returns the FQDN?? is something wrong here? Then ran: sendmailconfig I've used ...
Anton A's user avatar
  • 11
2 votes
1 answer
425 views

Sendmail not working on command line, connection refused by smart host

I am attempting to set up sendmail to eventually be used by a Django/python application which will reside on the same server (a Digital Ocean droplet), however, before I try to get it to work in ...
Dallas Caley's user avatar
0 votes
1 answer
716 views

Sendmail - relay to Office 365 [Smart host with non default port]

I need to relay email in sendmail as follows Host example.mail.protection.outlook.com Port 2525 No authentication No SSL I know I need to set the following in the sendmail.mc file: define(`...
supmethods's user avatar
0 votes
1 answer
114 views

Setting up sendmail to use aliases without a hostname? [domain name without hostname]

I'm setting up sendmail on a machine with hostname 'foo', and FQDN 'foo.example.com'. My /etc/aliases contains webmaster: me me: me@somewhere-else.com If I now try to send a test email, from 'foo', ...
QF0's user avatar
  • 81
0 votes
0 answers
13 views

sendmail is giving errors of sm-mta [duplicate]

I am using the service called fail2ban and configured mail address over there to receive mails when a intruder is triggered.But I am not receiving mails. I see the below errors. What exactly is ...
Ravi Teja RVN's user avatar
0 votes
0 answers
209 views

not able to send mails from sendmail

send mail is not working. I see the following errors in /var/log/mail.log Sep 8 05:45:12 e2e-101-208 sendmail[4439]: 2885jBtn004439: to=<ravi@net.in>, ctladdr=net@e2e-101-208.ssdcloudindia.net (...
Ravi Teja RVN's user avatar
0 votes
0 answers
44 views

SendMail Bounce Back Missing Send To Address in Transcript

SendMail bounce back response is showing a blank To address. How can I correct this so the bounce back includes the To address? This began occurring after installing opendkim on the server and before ...
Dorothy's user avatar
  • 179
0 votes
1 answer
163 views

wordpress on nginx on ubuntu server doesn't send mail

I want to send a mail with WordPress wp_mail function. I've seen this topic: Setup ubuntu server to send mail() and I've installed postfix, after installing postfix I get a successful message when I ...
Sadegh's user avatar
  • 101
0 votes
0 answers
146 views

Postfix BANNED CONTENTS ALERT how to add allow rule?

I have a web server which is run a postfix email server and is controlled by ISPConfig. My email domain: mydomain.com Also, I wrote some services on Python which is run on the same server and in some ...
nen777w's user avatar
0 votes
2 answers
73 views

How do i use the mail CLI? [closed]

I want to make a simple bash script that curls websites and sends out an email if the HTTP_Code is above 299. I am not very fond of the mail CLI tool. I want to use a SMTP Server to send the ...
Issykul's user avatar
2 votes
1 answer
3k views

Postfix - how to set a message ID?

I have multiple applications using one Postfix instance connecting through SMTP. Some clients set a message ID and some don't. What I'm trying to do is to let Postfix set its own unique message ID, ...
manifestor's user avatar
  • 5,889
0 votes
1 answer
47 views

Fedora mail does not arrive

I use PHP to send mail on Fedora 36. mail($email, $betreff, $content, $header); However the mail does not arrive. What could be the problem?
Dennis's user avatar
  • 11
0 votes
1 answer
628 views

sendmail does not issue STARTTLS when acting as a client

I'm having problems relaying to servers that whise mail is routed through mimecast. Connections are being rejected with the message: 553 This route requires encryption (TLS) - https://community....
Alien Life Form's user avatar
0 votes
0 answers
167 views

Sendmail 8.15 is not rewriting sender domain

Sendmail 8.15 on a RHEL 8 system. I am able to send mail out, but when I receive it on the other end, the 'from' address is user@FQDN instead of user@MASQUARADE_AS what we get: user@realhosname....
Chisel Ouidolam's user avatar
0 votes
0 answers
199 views

Configuration file access: syntax to allow relay from all networks/addresses

In the /etc/mail/access file, for the Connect key to permit relay, what is the notation that can be used to indicate that I want to permit relay for senders from all networks? PS: I need it to open up ...
Old Geezer's user avatar
0 votes
1 answer
52 views

Procmail autoresponse to a single sender (or few ones)

I've been looking some similar examples and slight changes to them to perform that but unsuccessfully. This is the first recipe at $HOME/.procmailrc of the user "me". Mail is received by ...
Daniel Franco's user avatar
0 votes
0 answers
61 views

Force non-empty MAIL FROM for outgoing email

I am using postfix on a Debian server, primarily to send outgoing email for websites and notifications, and have run into an issue where outgoing email to a certain mailing list provider is rejected ...
InterLinked's user avatar
0 votes
1 answer
112 views

Mail is not sent via php mail() on CentOS7 DirecAdmin Exim php fcgi

I spent the whole day trying to fix this problem, so I decided to share. Maybe it will save someone time) Problem: Mail is not sent via php mail(); The Exim log shows nothing. System: CentOS7 ...
White Crown's user avatar
0 votes
0 answers
857 views

Mailcow - emails stuck in sending queue for localhost domain

I have mailcow installed using docker and runs very well in sending and receiving mails using the defined domain. I have no customization implemented or configured. BUT.. I have the following issue: ...
DigitalWM's user avatar
  • 101
0 votes
0 answers
95 views

gmail smtp vs sendmail configuration in windows and centos

I've got a local server (Windows 10) with XAMPP on it, and for testing Centos 7 with cPanel/SSH access where a Laravel application is hosted. In both cases mail host is set as 'smtp.gmail.com'. When I'...
Nishu Ali's user avatar
1 vote
0 answers
31 views

sendmail 8.14.7 never trying secondary mx

I've discovered that my sendmail configuration does not always try a secondary MX host if the primary MX does not answer. Sometimes it does, more often it doesn't. I think my questions are, 1) how ...
Karl Berry's user avatar
0 votes
1 answer
353 views

Configuring sendmail to listen on an alternative port

I've set up sendmail to listen on port 1234 rather than 25 with one change to sendmail.mc: DAEMON_OPTIONS(`Port=1234, Name=MTA') This generally works, with one exception. The background is that I ...
QF0's user avatar
  • 81
0 votes
1 answer
55 views

sendmail and pacemaker require different /etc/hosts

Trying to make run sendmail (required by fail2ban, or it takes forever to start-stop-restart it) and pacemaker on one machine. Sendmail wants machine's hostname resolved as 127.0.0.1, pacemaker - as ...
yu-boot's user avatar
1 vote
1 answer
2k views

why /var/log/maillog is empty in centos8?

I am used to check log in /var/log/maillog. (centos7) But recently I updated my operating system to centos8. Since then, I found the /var/log/maillog is always empty. Is there anything i need to start ...
nick's user avatar
  • 111
1 vote
1 answer
717 views

Why does Cron Daemon send sendmail test messages on Ubuntu?

Since this morning I am receiving every 20 minutes a message from my Ubuntu Server that look like this: Subject: Cron <smmsp@fx> test -x /etc/init.d/sendmail && test -x /usr/share/...
merlin's user avatar
  • 2,083
0 votes
0 answers
366 views

Sendmail does not masquerade the hostname.domain combination

My MASQUERADE settings looks as follows... dnl # Also accept email sent to "localhost.localdomain" as local email. dnl # LOCAL_DOMAIN(`localhost.localdomain')dnl dnl # dnl # The following ...
Mike's user avatar
  • 1
1 vote
0 answers
744 views

Sendmail configuration on AlmaLinux

I am trying to setup an sendmail server with email domain xeonbridge.com. So any user account I create in Linux, should be username.xeonbridge.com, right? Sendmail.mc is configured with lines (only ...
Doug's user avatar
  • 11
0 votes
2 answers
758 views

ssmtp don't work and don't want to log

I've configured SSMTP to send mail, but the problem is that i can't send mail from my webserver and there is no logs in /var/log. Sometimes, i've got Sender mismatch in apache logs. My config : Debian ...
Matancy's user avatar
0 votes
2 answers
638 views

How does Sendmail figure out where SASL is listening?

I'm trying to get SMTP-AUTH working on a Mint Linux 20.2 machine, and I'm having trouble getting authentication to happen. I have installed Cyrus sasl2, and apparently configured it properly - ...
tsc_chazz's user avatar
  • 416
0 votes
0 answers
65 views

Centos 7 sendmail sending emails to incorrect ip address

Sorry, I am new to Centos 7 and sendmail. My email server was working but I had to restart the server. After restarting the email server suddenly fail to send emails to specific domain under my ...
ImTheRealOne's user avatar
0 votes
0 answers
845 views

Could not execute: /usr/sbin/sendmail fails to send emails via PHP

I have a strange error in my Centos 7.9 Server running with Postfix as the Sendmailer program, It has a Website running in PHP-7.4 I get the below error Once in a while (not everyday but weekly or so) ...
mahen3d's user avatar
  • 4,252
0 votes
1 answer
450 views

PHP mail() returning FALSE but whole rainloop works - Postfix, Dovecot, PHP 7.3

I had this problem earlier but somehow managed to repair it. One month after I had to reinstall Dovecot and Postfix and the same error appeared. In my php.ini which is located at /etc/php/7.3/apache2/ ...
Junek's user avatar
  • 3
0 votes
1 answer
149 views

Forward Debian system mail to a real e-mail address

I have Debian running on an old Mac mini as a home router etc. with various of my crap running on it. It produces e-mail, for example from the result of cron jobs. I've used /etc/aliases to direct ...
Richard Barraclough's user avatar
0 votes
1 answer
498 views

configuring sendmail to send mail through relay server in Oracle Linux 7.7

I am configuring my server to use relay server to send mail. I made the following entries in /etc/mail/sendmail.mc define(`SMART_HOST', `corprelay.example.com')dnl MASQUERADE_AS(`example.com')dnl ...
d.s's user avatar
  • 110
0 votes
2 answers
346 views

mail works, but sendmail doesn't! (Postfix)

I installed postfix on a server and when I send an email with the sendmail command it doesn't get delivered, but when I send with the mail command it does get delivered. What's worse, postfix logs ...
user3413723's user avatar

1
2 3 4 5
27