Questions tagged [sendmail]

Sendmail is the traditional MTA (message transfer agent), i.e. the traditional server program to send, transfer and deliver email. If your question is about sending mail in general, see the tag /email.

Sendmail is the traditional unix message transfer agent (MTA). It listens on remote connections for incoming emails on connections, handles local delivery (possibly with the help of an MDA, and sends locally-originating email.

Sendmail is no longer the de facto standard MTA; alternatives include , , , etc. These programs provide a command called sendmail (usually located in /usr/sbin) for compatibility.

Use this tag if your question is about Sendmail. If your question is about another MTA, use the tag for that MTA instead. If your question is about sending mail in general, see the tag .

336 questions
6
votes
2 answers

How to initiate SMTP outbound traffic via secondary interface - Linux Sendmail

We have sendmail running in a RHEL box. We have two public IP address configured in the same box, one for SAP app and other for Sendmail. First interface will be used for SAP and second for Sendmail. I have binded the Sendmail daemon on secondary…
Pedge
  • 61
3
votes
3 answers

How to let sendmail preserve plus detail for .forward?

I have a normal sendmail installation. A user has a .forward like this: # cat ~elrond/.forward elrond@somewhere # sendmail -bv elrond+extra@localhost elrond@somewhere... deliverable: mailer esmtp, host somewhere., user elrond@somewhere Note that…
Elrond
  • 556
3
votes
2 answers

block specific user to send mail

I am using sendmail in RHEL 5. I have three mail accounts for the users jack, bob and alice. I want to make sure that user bob can send mail to alice but jack can't send mail to alice. But user jack can send mail to bob. How can i do this?
user2914
  • 2,661
3
votes
0 answers

Configuring sendmail as a relay to ISP

I need to setup sendmail daemon as a simple store-and-forward mechanism to forward mails to our ISP. I need to connect to the ISP SMTP server on port 465 using SSL/TLS and a username/password for authentication. This particular ISP (GoDaddy) does…
3
votes
1 answer

Is there any way to send mail without a relay server?

I want to send the mail from one server to an external domain (xxx@yyy.com). How can I implement this?
3
votes
2 answers

sendmail not using mailertable

I'm having trouble getting my mailertable to work.... /etc/mail/sendmail.mc contains this line FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl /etc/mail/mailertable contains this line domain1.com esmtp:[10.210.5.22] I ran…
LVLAaron
  • 1,735
2
votes
1 answer

Prevent sendmail from doing dns lookups before relaying

My machine (CentOS, sendmail-8.14.7-5.el7) accepts emails from machines and forwards all of them to my smarthost my-smarthost.mydomain.com, which in turn has several dynamic MX-records). Local mail stays local (using the…
2
votes
2 answers

root sending several emails a minute -- can't find out why and who's doing it

I can't seem to figure out why root is sending out several emails every minute. I would like it to stop because I am making out my ability to send emails every 24 hours (over 5k a day). First thing I have done is trying to forward root email to an…
Cesar Bielich
  • 123
  • 1
  • 5
2
votes
2 answers

Setting up sendmail to receive, but not to send

It seems everywhere I look there are tons of questions about sending mail with sendmail. However I want just the opposite and can not figure out how to configure sendmail properly. I want to set up a system on my ubuntu server to only RECEIVE mail…
Lain
  • 121
2
votes
1 answer

sendmail messages not delivered after fixing name resolution

On my server, sendmail was taking 60s to send a simple message. After some googling, I found out that it was due to a DNS problem. I had this log: Sep 13 08:00:01 myserver sm-msp-queue[1493]: My unqualified host name (myserver) unknown; sleeping…
2
votes
1 answer

I can't find executable file for sendmail?

I did a source install of Sendmail 8.14.4, and BerkeleyDB.4.1 in ubuntu14.04lts Amazon EC2. The installation was successfully compiled, as far as I know. With the installation of the source, I made ​​a copy to /usr/sbin/sendmail the new version of…
1
vote
1 answer

Tracking down where email sent is originating

I have a web server running Ubuntu 18.04 with Apache. I have three sites running. Looking in the mail logs, I can see there are many attempts to send email, however I cannot determine the source (e.g. which page of the website is generating the…
1
vote
1 answer

sendmail ignoring SMART_HOST

We have an internal network, which has its own DNS servers for that network. Internet addresses are not resolved on that network, except for some servers which have internet access. One of such servers with internet access is acting as a relay host…
nobody
  • 1,710
1
vote
1 answer

sendmail v8.15.2 reports 550 User unknown if the underlying Linux userid is not entirely lowercase

I've changed my /etc/hosts file as follows, I added the second line: 127.0.0.1 localhost 127.0.0.1 myservername.mydomain.com myservername I also added myservername.mydomain.com to the /etc/mail/local-host-names file I now can send an email as…
Brian B
  • 151
1
vote
0 answers

How to completely disable header from/to/cc modifications aka Masquerade in Sendmail?

I am running sendmail 8.15 on an Ubuntu 18.04 LTS server that is relaying emails from other internal and external mailservers and relays their emails as a smarthost to the internet. Even if some header fields may not be RFC compliant, I want to…
1
2 3