Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

Authentication failure sending mail using postfixadmin users

I have setup a new mail server on Ubuntu 20.04 and using Postfixadmin so I can manage multiple mail domains. The initial setup using unix users worked fine for sending and receiving email. However ...
user avatar
0 votes
1 answer
14 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 ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
-1 votes
0 answers
30 views

POSTFIX only sends mail to GMail

I have created a mail server using dovecot and postfix(Ubuntu ec2-aws). I'm receiving emails from any domain. but I can only send emails to gmail. When i try to send email to other domains, CA58541898 ...
user avatar
0 votes
1 answer
11 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 ...
user avatar
0 votes
0 answers
73 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: ...
user avatar
  • 101
0 votes
0 answers
18 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'...
user avatar
0 votes
0 answers
17 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 ...
user avatar
0 votes
1 answer
37 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 ...
user avatar
  • 35
0 votes
1 answer
16 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 ...
user avatar
0 votes
1 answer
156 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 ...
user avatar
  • 101
0 votes
1 answer
71 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/...
user avatar
  • 1,983
0 votes
0 answers
26 views

Associating an outgoing IP address with an authorized user

I have a task to implement sending messages by authorized users through some of their IP addresses. In other words: +-------------+ user1 -> |outgoing IP 1| user2 -> |outgoing IP 2| -&...
user avatar
  • 25
0 votes
0 answers
42 views

SSMTP: Map local user (UID greater than 1000) to an external email address

I've configured SSMTP to send system messages for users with a UID < 1000 in /etc/ssmtp/ssmtp.conf: root=to@mydomain.com rewriteDomain=mydomain.com If I send an email to root (echo test | sendmail ...
user avatar
  • 4,957
0 votes
0 answers
65 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 ...
user avatar
  • 1
0 votes
0 answers
144 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 ...
user avatar
  • 1
0 votes
0 answers
31 views

Linux Sendmail use another DNS Server restart err

but when i use DNS Server local DNS Server it can wroking ,only use another DNS Server can't work NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Cannot assign requested address ...
user avatar
0 votes
2 answers
203 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 ...
user avatar
0 votes
0 answers
25 views

How to configure different relay, masquerade and/or smarthost settings, based on recipient and/or sender address

My Google-fu is letting me down with this one. Is it possible to EITHER/preferably configure sendmail to... masquerade the From address of any mail intended for recipient@aaaa.com to appear as ...
user avatar
  • 2,645
0 votes
0 answers
27 views

Handling all subdomains as the domain itself

I'm forwarding all e-mails for a domain owned by a friend to his real e-mail address. This works fine for his example.com itself (with the @example.com virtusertable entry): % sendmail -C new.cf -bv ...
user avatar
  • 2,242
0 votes
2 answers
122 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 - ...
user avatar
  • 353
0 votes
0 answers
25 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 ...
user avatar
0 votes
0 answers
318 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) ...
user avatar
  • 3,855
0 votes
1 answer
373 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/ ...
user avatar
  • 1
0 votes
0 answers
64 views

Postfix sender sender_dependent_relayhost_maps null sender/auto reply

I hope somebody can clarify somethings about Postfix sender dependent relayhost in postfix for me. We are having some problems with null sender mails and auto replies not getting relayed to the ...
user avatar
  • 1
0 votes
0 answers
23 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 ...
user avatar
0 votes
0 answers
28 views

Is this possible with Sendmail?

We are migrating to a new SMTP host, and have found some issues with some of the sendmail instances I have inherited. The new SMTP host requires all "from" addresses to be from domains we ...
user avatar
0 votes
0 answers
42 views

Another answer for "rewrite: excessive recursion (max 50), ruleset canonify" from sendmail

if you encounter rewrite: excessive recursion (max 50), ruleset canonify a quick thing to check before trying to debug Cw and Dj is that your own tables are not creating the loop. For postfix I ...
user avatar
  • 21
0 votes
1 answer
108 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 ...
user avatar
  • 90
0 votes
0 answers
21 views

Sendmail not working with Queue group

I've tried to use the queue group...but seems not to work Using sendmail v 8.14.7 on my sendmail.mc ####### Queue group ############## define(`QUEUE_DIRECTORY',`/var/spool/mqueue') QUEUE_GROUP(`...
user avatar
  • 1
0 votes
0 answers
111 views

sendmail not working and no log

I'm trying to send mail from the amazon server with ec2 and ses. It's not the first time I've done this, the mail is production enabled and the amazon test works. Trying to configure sendmail doesn't ...
user avatar
0 votes
2 answers
135 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 ...
user avatar
0 votes
1 answer
41 views

Where does Sendmail get authentication from?

For reasons I can't get into at the moment, I'm authenticating to an SMB domain (using Samba 4.9.5 on a Debian host as the DC, if it matters) with a Mint Linux server in the domain with Samba 4.11.6 ...
user avatar
  • 353
3 votes
1 answer
214 views

sendmail (or postfix) is always failing with Helo command rejected

On digitalOcean this tutorial points to installing postfix. I've attempted this and also uninstalling postfix then installing sendmail When a test mail is sent, invariably there is an error in ...
user avatar
  • 175
0 votes
1 answer
907 views

Authenticated SMTP with sendmail on command line

we are sending emails using sendmail on the command line, with a command such as : cat <email_contents> | sendmail -t the <email_contents> contains fields such as sender, recipient etc.: ...
user avatar
  • 474
0 votes
0 answers
71 views

Sendmail not, er, sending mail

Can someone help me out here please. I have a CentOS 8 install, and am trying this line: echo "Subject: Hello" | sendmail -v me@mydomain.com This is /etc/hostname: web.mydomain.com This ...
user avatar
  • 1,034
0 votes
0 answers
23 views

mail Linux command include username along with from address [duplicate]

Is there any way to hide username if we send email via Linux terminal? For example, I just want to hide or delete "root" username from the email header. I have one cron job send a report ...
user avatar
1 vote
1 answer
57 views

After adding a new DNSBL to Sendmail, how can I resubmit an email to see if it will be rejected?

TL;DR How can I fool my own sendmail into thinking an email comes from a particular ip address, so that it rejects the message due to a DNSBL match? Details: I run my own mail server, and most spam is ...
user avatar
  • 51
0 votes
1 answer
126 views

How to verify if an email was received and read

I accidentally sent an email to a wrong email address. The owner told me that he didn't receive my email because there were no email servers configured for that domain. However when I did MX lookup, I ...
user avatar
  • 1
0 votes
0 answers
35 views

macOS - sendmail - postfix messages

My app is attempting to use sendmail to send an email message. I can see the email's sitting in /var/spool/postfix/maildropbut for some reason which I need help figuring out, the postfix pickup ...
user avatar
  • 109
3 votes
1 answer
640 views

Sendmail authenticating with DKIM but Roundcube is not authenticating

So I have set up the mail server, Roundcube, and Sendmail both work as expected. but many of my emails were going to spam in Gmail and others, so I was setting up the DKIM auth and it was successful. [...
user avatar
0 votes
0 answers
50 views

Configure Postfix to prevent improper mail forwarding/duplication

I'm trying to reconfigure my Postfix mail server to stop it from improperly relaying mail to addresses that are listed as recipients but don't have my server's domain. Say my mail server's domain is ...
user avatar
  • 101
0 votes
1 answer
67 views

sendmail /etc/mail/access REJECT based off of keyword and TO: field

someone placed my email to a weird list and i get 100s of messages each day. I want to block the word "Unsubscribe" in all body emails address to me@example.com To:me@example.com error:...
user avatar
6 votes
1 answer
478 views

No DKIM headers in sent mails from postfix

I have two postfix, one for receiving mails and the other for sending mails, and I am having trouble signing dkim on my outgoing mails. I followed this tutorial. Logs also is not helping me point to ...
user avatar
1 vote
0 answers
86 views

Debian 10: sendmail service stops constantly

Whenever I start sendmail service, it reports May 01 00:51:43 systemd[1]: Starting LSB: powerful, efficient, and scalable Mail Transport Agent... May 01 00:51:43 su[6784]: (to smmsp) root on none May ...
user avatar
  • 111
0 votes
1 answer
342 views

Why is sendmail only logging internal messages to /var/log/mail?

I'm pretty sure that in the past my sendmail (triggered from PHP) was logging messages sent from PHP to the MTA and also MTA to the recipient. Although emails are received by the recipient and I can ...
user avatar
  • 139
0 votes
1 answer
188 views

Sendmail not relaying to 127.0.0.1:25 instead of smart host

I am trying to use a SMART_HOST on RHEL7 with sendmail. I have configured sendmail.mc as follows: define(`SMART_HOST', `my.relay.com')dnl After compiling I have this line in sendmail.cf: # "...
user avatar
0 votes
1 answer
117 views

Mailbox file of mutt suddenly disappeared

I have recently seen that my entire mailbox with mutt has suddenly disappeared. I don't know how to backup, if it is possible ? I am on Linux Debian 10. The sent file of all mails sent has not ...
user avatar
0 votes
1 answer
48 views

sendmail - how to unknown local user

I'm using debian as my webserver and sendmail as my MTA I do NOT have mydomain.com in the hosts file. I have setup sendmail.cf with the following dnl # Masquerading options FEATURE(`always_add_domain')...
user avatar
  • 101
1 vote
1 answer
48 views

Centos 7 Withe Sendmail & Dovecot. Auth Broken

I have tried many different configuration options but using either Outlook or Thunderbird on macOS I cannot send through a server migrated to a new machine. I have done the Dovecot troubleshooting ...
user avatar

1
2 3 4 5
27