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 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. Sendmail receives for one user and skips the other…
Dorothy
  • 179
  • 7
0
votes
0 answers

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 the logs: Unable to set From="me@example.com" This…
nadrad
  • 1
0
votes
0 answers

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 relays. What would cause this? Example mail.log…
Dorothy
  • 179
  • 7
0
votes
1 answer

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 mail server is an LDAP client. In…
0
votes
0 answers

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 by Noreply whatever…
0
votes
1 answer

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 this to test: echo "Subject: hello" | sendmail…
Anton A
  • 9
  • 1
  • 6
0
votes
1 answer

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(`SMART_HOST', `example.mail.protection.outlook.com')dnl If…
supmethods
  • 287
  • 4
  • 16
0
votes
1 answer

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', to 'webmaster', I find that: To:…
QF0
  • 183
  • 1
  • 7
0
votes
0 answers

sendmail is giving errors of sm-mta

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 happening.I am not able to understand Sep 9 11:25:35…
0
votes
0 answers

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=, ctladdr=net@e2e-101-208.ssdcloudindia.net (1000/1000), delay=00:00:01, xdelay=00:00:00,…
0
votes
0 answers

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 DKIM was enabled. Sendmail version did not…
Dorothy
  • 179
  • 7
0
votes
1 answer

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 send mail but actually, the mail is not in my…
Sadegh
  • 101
  • 1
0
votes
2 answers

How do i use the mail CLI?

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 monitoring emails. If one of you guys could walk me…
Issykul
  • 1
  • 1
0
votes
1 answer

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
  • 11
  • 2
0
votes
1 answer

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.mimecast.com/docs/DOC-1369#553 This makes me think…
Alien Life Form
  • 2,309
  • 2
  • 21
  • 32