Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sendmail]

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

1
vote
2answers
29 views

Send email if script outputs string

I found this line: sh script.sh | grep 'NO' 2>&1 > grep.log && /usr/bin/mail -s "grep found something" m@mail.com < grep.log which will write the output of script.sh to grep.log ...
0
votes
0answers
24 views

Sendmail redirect copy of all incoming mails to another server

I am migrating a mailserver running sendmail 8.14.3 to a postfix server. The MDA on the new server is Dovecot. In order to ensure a seamless transition, it would be best if incoming mails are ...
0
votes
0answers
18 views

DKIM verification fails when email sent from PHP mail() function

I'm currently running a Ubuntu 16.04 system with Sendmail and OpenDKIM. Sendmail is configured with the OpenDKIM milter, Apache is using a different account for each of the website this box hosts so ...
1
vote
1answer
80 views

linux web server, send mail using external (hosting provider) dns

I set Ubuntu 16.04 LTS server as web server (apache-php-mysql and sendmail) with valid public ip-address. Also, I use a hosting provider to redirect www.mydomain.com to my Ubuntu web server. Web ...
-1
votes
1answer
27 views

How do I setup Sendmail and the FQDN for use with server images

I have loadbalancer sitting infront of serveral webservers. The website served up has a contact form that uses sendmail. I have installed sendmail on one of these webservers: web-01 This is the ...
1
vote
1answer
25 views

Sendmail not sending to domain of machines hostname

I just recently set up reverse DNS on our system and set the hostname of the server to mydomain.com. Since I've done this -- Sendmail will send to any domain except mydomain.com. I have read THIS ...
0
votes
0answers
21 views

OmniOS (Illumos) sendmail verbose option not working

When using mailx -v or /usr/lib/sendmail -v to send mail, we are not getting any text back. Mail does go out and log entries are found in /var/log/syslog. What can I check for or change? I am used to ...
0
votes
0answers
102 views

Ubuntu sendmail AUTHENTICATING FOR org.freedesktop.systemd1.manage-units

I have an EC2 instance with Ubuntu and am trying to install sendmail sudo apt-get install sendmail, however it seems to be using polkit (never heard of it nor have I ever run across it). It's asking ...
0
votes
0answers
35 views

Do you need to use IMAP to read bounced emails?

I'm writing a send email app in Laravel which will use my own email servers. Many apps read an IMAP inbox to log the number of bounces a user might receive- using some cron to check and delete bounces ...
1
vote
0answers
44 views

Where does sendmail get its user authentication information?

I set up a new remote CentOS email server using sendmail and dovecot. I am able to receive mail into mailboxes but can not use SMTP to send. Trying to login by hand using # telnet mail.steelydev....
2
votes
1answer
24 views

Translating sendmail “MASQUERADE_AS” to postfix?

Attempting to update an old server application (Sympa) to a newer OS. Fun. This includes related services (Sendmail to Postfix). More Fun. Going through the sendmail.mc, we have MASQUERADE_AS(`...
0
votes
1answer
22 views

sendmail and Smarthosting based on a particular port

I have a VPS with a sendmail instance on it which is used to deliver mail from a few Wordpress sites that I host. The sendmail is on the same machine as the Wordpress sites and I'm keen to keep it ...
0
votes
1answer
93 views

how do /var/spool/(clientmqueue,mqueue,mail) work?

If - for example - cron jobs output to stdout, which is the process collecting the output and writing to these directories ? /var/spool/clientmqueue /var/spool/mqueue /var/spool/mail Where ...
0
votes
2answers
107 views

How to make Sendmail add an evelope recipient(s) header to all inbound email messages?

Disclaimer: I have read some of the questions and articles here and elsewhere which deal with Sendmail rewriting headers. I haven't found an answer to the question below because the other question ...
0
votes
0answers
21 views

Multiple Received headers with sendmail php

I just initialized sendmail and I'm sending some test mails to my personal email address with a very simple PHP script. I noticed something odd, here: Received: from mydomain (MYIP.ip98.myhostname [...
1
vote
0answers
64 views

DKIM - how to account for different hostnames for the mail host (sendmail, FreeBSD 10.3)

I'm trying to use DKIM on a FreeBSD 10.3 box using "stock" sendmail. I followed this tutorial: https://www.dan.me.uk/blog/2016/06/01/add-dkim-signing-to-freebsd-servers and now DKIM "works" -- ...
0
votes
1answer
52 views

Sendmail doesn't seemto be reading the virtusertable on Solaris 11

I'm on Solaris 5.11 running sendmail. Local usernames are of the form <letters><numbers> (e.g. hn06511). In the past we used aliases to make point to <username>@olddomain.com. <...
0
votes
1answer
57 views

Linking GCP Compute Engine with Google Suite SMTP Relay Service

Recently we want to connect GCP Compute Engine with Google suite email service. at this documentation told that Google Compute Engine does not allow outbound connections on port 25. By default, ...
0
votes
1answer
39 views

Sendmail relay alters recipient email?

Hello I am trying to set up sendmail on a Centos 7 server to relay mails from a local program to our main mail server. I have configured sendmail.mc with the following, mail.[domain].com is our SMTP ...
1
vote
0answers
30 views

Can sendmail be configured to allow bare line feeds?

sendmail 8.14.4 / centos 5.x I have an older relay running sendmail 8.14.4 and occasionally our organization will get emails with bare line feeds which are rejected by sendmail. I understand that ...
0
votes
1answer
37 views

Echange 2013 internal server IP and name on message header

I have a server with Exchange 2013. Each message that is sent externally contains the IP and the internal server name. How can I hide this IP and internal name? Because some domains that reject the ...
0
votes
0answers
52 views

Sendmail from PHP mail() deferred, finds recipient's Cloudflare IP

I'm guessing this is a small issue, but I haven't been able to find someone with the exact problem before. I have a mailserver on a domain, let's say mymail.com. In Cloudflare, this domain's DNS ...
0
votes
1answer
288 views

E-mail configurations for postfix/sendmail on AWS EC2 and SMTP services

I'm new to AWS. We are migrating Joomla websites hosted on a VPS at Hostgator to AWS EC2 running Red Hat. It needs mail services for sending and receiving. I can install postfix and sendmail, but it ...
1
vote
2answers
126 views

sendmail still send via estmp when I configured relay system

I am trying to config sendmail to relay mail through external smtp server: sendmail.mc include(`/etc/mail/m4/dialup.m4')dnl include(`/etc/mail/m4/provider.m4')dnl dnl # dnl # Default Mailer setup ...
0
votes
1answer
46 views

TYPO3 Powermail Sending Mail from punycode Domain

I have a multiple Domain TYPO3 8.7. The powermail formular works fine. Except when I use it in the section with the punycode domain (there is an ä in it). TYPO3 automatically creates the punycode in ...
0
votes
1answer
31 views

Cron output emails created with delay

One of our users has a daily cron job which runs for 24 hours. The output is emailed to the user in the usual way. Because the output is piped into sendmail (postfix) over 24 hours, it appears in the ...
0
votes
0answers
23 views

How can I define/rewrite Localhost in Postfix?

I am running Postfix on Centos 7 that routes sent emails to Office 365 SMTP relay. My configuration works fine for external recipients and for local recipients where I specify the FQDN address, like ...
-1
votes
2answers
278 views

sendmail send Authentication-Warning

Dears, I receive successful message from postfix/pip in Centos7 (delivered via spamassassin service) while it doesn't deliver email to user with sendmail Authentication warning log. you can find log ...
0
votes
1answer
430 views

why sendmail in container not working when running on different host machines?

I've a Docker container running on Debian (stretch). I had sendmail installed through apt-get install sendmail on the Docker container so that I can send emails from the container. Here's how my ...
0
votes
1answer
211 views

sendmail, exim, or php mail settings to avoid “Sender address rejected: Domain not found” on vps

I have A VPS with multiple domains setup. Some of the domains have PHP sites that send email. It turns out that some email servers are rejecting those emails with error: "Sender address rejected: ...
-1
votes
1answer
54 views

Set Mail From Name via Virtual Host for sendmail

I have an issue with a Magento 2 store not setting the from path and from name for some reason. After a few hours of debugging I have decided to work around it temporarily while i figure out the ...
0
votes
1answer
306 views

setting reply-to in sendmail.mc

I'm using sendmail to send Mails from PHP and also forward some mails addressed to the server to a list of external mail-providers. The forwarding is done via an entry in /etc/mail/virtusertable: ...
-1
votes
2answers
245 views

Use PowerShell to send a secure email that contains a password [closed]

I'm implementing to write a PowerShell script to send a secured email which contains password in it. I've been investigating the good ways to implement, but I cannot find out a proper method. The ...
1
vote
1answer
50 views

Can't get Sendmail to connect to MIMEDefang

I would like to set a milter using MIMEDefang on Ubuntu 16.04. I have an existing server using Sendmail 8.15.2-3. I installed MIMEDefang 2.78-1ubuntu1.1 (default package from apt). I configured my ...
0
votes
1answer
443 views

550 No RDNS entry for my ip (in reply to RCPT TO command)

Some recipients are making RDNS verification to my mail server and being refused. I have a CentOS VPS with my website and mail server for my business. Is there anything wrong here? I can provice my ...
0
votes
0answers
36 views

CentOS 6.9 / Sendmail 8.14.4 / Mail gets stuck as “sending”

We have a "mail relay" server we use for copiers, scan-to-email and some other hardware devices that need to be able to relay e-mail. We recently retired our old mail relay and brought up a new VPS ...
4
votes
3answers
827 views

is it safe to delete /var/spool/mail/root

There is a specific server in the company I work that uses sendmail to send multiple emails to sendgrid. The file /var/spool/mail/root is about 4.9 GB, which is taking more than 50% of the disk usage. ...
0
votes
0answers
60 views

Sendmail error in server log

I am having a problem sending contact forms through contact form 7, when looking at the server log I'm getting the following error: sendmail: Not running with correct effective GID. Is sendmail ...
0
votes
1answer
52 views

Sendmail: Is there a way to configure a configure a “buffer” for Incoming Emails?

My Sendmail server receives in average 30 mails/minute, but during some peak times this number jumps to 5000/minute. For processing logic reasons, I would like to know if would be possible to set ...
3
votes
1answer
59 views

Sendmail process crashes as soon as STARTTLS is received

I just upgraded my server from FreeBSD 10.3 to 11.1. It's now running Sendmail 8.15.2 and OpenSSL 1.0.2k-freebsd 26 Jan 2017. Since the upgrade, sending mail to my server is failing. I cranked up ...
1
vote
1answer
58 views

Which side of this SMTP conversation is correct?

I have an odd scenario with two mail servers communicating with one another and need help determining which one is behaving correctly. It's a little complicated to explain, so I think a SMTP ...
0
votes
2answers
285 views

Google rejecting emails

Google is rejecting emails and send me <<< 550-5.7.1 [XXXX:XX:XX:XX::63] Our system has detected that this message does <<< 550-5.7.1 not meet IPv6 sending guidelines regarding PTR ...
1
vote
2answers
194 views

I stopped sendmail service and started postfix. Sendmail still shows in email logs?

This server has both sendmail and postfix installed. Sendmail has been running but is not working properly. I stopped the sendmail service and started postfix. Confirmed only postfix is running by ...
0
votes
1answer
373 views

sendmail: add domain to local usernames, masquerade hostname

I would like to send mails to local users (mail username -s test <<< "test") and let sendmail add the domain. Sending mail to the full address (mail username@domain.tld -s test <<< "...
0
votes
2answers
2k views

sendmail not sending [stat=Deferred: Connection timed out with …]

novice trying to use sendmail for the first time. only issue mails never arrive (not even in spam) I have the following logs: mail.err is empty mail.log shows accepted for delivery but I also get ...
0
votes
1answer
264 views

sendmail: rewrite part of envelope sender address

I'm is configuring sendmail on aix server and I need to rewrite part of envelope sender address. from this: user@servername.foo.org to this: user_it@foo.com As you can see what I need is rewrite ...
1
vote
1answer
136 views

Using MX records for providing mail gateway redundancy

my customer has some Exchange servers and they are using a secure mail gateway from a known vendor for their spam mails. Unfortunately this mail gateway software has developed by SMB-minded people, so ...
0
votes
1answer
454 views

How do I properly configure a FQDN for sendmail to work with PHP mail()?

I'm sure variations on this question have been asked and I apologize if this is a duplicate, but I just can't seem to find something that works in my situation without breaking something else. I'm ...
0
votes
0answers
23 views

Stop sendmail rejecting user's emails when LDAP server is unreachable

I have a sendmail inbound mail server that accepts emails delivered to local users. The local user database comes from LDAP using nss_ldapd. Occasionally the LDAP server is unreachable/down, and in ...
1
vote
1answer
823 views

Configuring sendmail for use of Gmail with SMTP on digital ocean

I followed these instructions, and I have this running from the command line. I run a test from the command line like so: echo "Just testing my sendmail gmail relay" \ | mail -s "Sendmail gmail Relay"...