Stack Exchange Network

Stack Exchange network consists of 175 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

0
votes
0answers
20 views

Mail not being sent using Sendmail / stat=service unavailable - dsn=5.0.0 / stat=user unknown - dsn=5.1.1

I've setup a droplet on Digital Ocean that functions as web & mailserver. I'm trying to send out a mail, when a form on my site has been filled in, using Sendmail. I've setup all the required ...
0
votes
1answer
10 views

Postfix sends plain text emails from PHP but rejects html

After moving to another host my site stopped sending E-mails (UTF-8 HTML). But I'm still able to send text emails like these: echo test | mail -t me@example.com -s test php -r 'mail("me@example.com",...
0
votes
0answers
13 views

Sending mail with sendmail - not sending

I have apache2.4 web server with PHP on Debian server. I noticed that my PHP mail() function doesn't send any mail. Looked at the spam folder as well. I cleared all the mail logs on my server and ...
3
votes
1answer
59 views

sendmail aliases - send to root plus external address?

There are plenty of examples of how to use aliases to send email to multiple addresses, but I'm interested in sending to an internal name and an external address. For example, this doesn't work, but ...
0
votes
0answers
11 views

CentOS 7 stuck email, unable to send from Mailer-daemon to self

I have a web server that is responsible for serving a web application. It can also send some email as myname@mycompany.com. Now, there was some mismash between us and the domain owner and because of ...
1
vote
1answer
48 views

Sendmail in FreeBSD send with external SMTP without auth

I'm sorry if this might sound confusing at first. My brother asked me to make a web server for him because he wanted to self host his own website and not use a hosting service anymore. The problem ...
1
vote
1answer
31 views

Sendmail bash script invoked by cron can't read from stdin

I try to write a little script that overwrites from adress of nullmailer. Nullmailer has an option "allmailfrom" you can put a mail adress into /etc/nullmailer/allmailfrom and all mails sent have this ...
0
votes
2answers
48 views

CentOS 7 fresh installation having trouble sending emails to gmail

I have just setup a small VPS on Vultr.com using CentOS 7 to serve a few Wordpress sites. Apart from Nginx and PHP the server is completely fresh. The Wordpress setup went fine except when trying to ...
0
votes
2answers
884 views

Sendmail From address

Any help would be greatly appreciated. I'm trying to use sendmail to send a message with a custom "from" e-mail address. The body of the message is a file, pasted below. What I'm seeing is that ...
1
vote
2answers
69 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 ...
1
vote
1answer
95 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
47 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
40 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
1answer
30 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
255 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
41 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
56 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
32 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
24 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
174 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
201 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
27 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
82 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
66 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
90 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
45 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
38 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
48 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
60 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
397 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
203 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
53 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
39 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
35 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
375 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
585 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
308 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: ...
0
votes
1answer
79 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
406 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
380 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
61 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
511 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
42 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
1k 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
69 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
60 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
66 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
63 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
341 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
255 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 ...