Questions tagged [sendmail]

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

sendmail is a popular Unix-based email routing facility that makes use of and supports the transfer and delivery of email via the Simple Mail Transfer Protocol (SMTP) and many other ways (e.g. UUCP).

sendmail exists both as free and open source software and as a commercial project, called Sendmail.

1333 questions
0
votes
0 answers

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.realdomain.com what we want:…
0
votes
0 answers

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 a server temporarily for purposes of a training…
Old Geezer
  • 397
  • 8
  • 25
0
votes
1 answer

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 user@domain.tld but the auto response is not sent. Centos 7,…
0
votes
0 answers

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 but email to "normal" individual email addresses…
InterLinked
  • 146
  • 1
  • 8
0
votes
1 answer

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 DirecAdmin with CustomBuild 2.0.0 Exim 4 php fcgi (5.6…
0
votes
0 answers

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: From the Docker host system there were some…
DigitalWM
  • 101
  • 2
0
votes
1 answer

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 have a relay listening on port 25 (the relay must…
QF0
  • 183
  • 1
  • 7
0
votes
1 answer

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 192.168.100.1, otherwise they both don't work…
0
votes
0 answers

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 example makes mail from this host and any additional dnl #…
Mike
  • 1
  • 1
0
votes
2 answers

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 11, and webserver into a Docker container. This…
Matancy
  • 105
  • 3
0
votes
2 answers

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 - testsaslauthd -u -p -s smtp returns 0:…
tsc_chazz
  • 905
  • 3
  • 14
0
votes
2 answers

sendmail: how can I restrict access to clients that only have a valid certificate?

I want to reject all connections that don't present a valid SSL/TLS certificate. First of all is the access db file the correct one to be changing? I have already tried using the basic rule given in the documentation…
lxg
0
votes
0 answers

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 control. I checked the /var/log/maillog Oct 26 17:02:03…
0
votes
0 answers

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) Could not execute: /usr/sbin/sendmail To fix…
mahen3d
  • 4,342
  • 14
  • 36
  • 57
0
votes
1 answer

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/ is sendmail_path set to sendmail_path =…
Junek
  • 3
  • 3