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.

learn more… | top users | synonyms

4
votes
3answers
2k views

Help with piped program in sendmail's /etc/aliases

I'm trying some sort of auto-subscription via a homegrown script. I know it can be achieved by mailing lists such as Mailman but I also want to learn at the same time on how to do it by hand. Here's ...
4
votes
2answers
879 views

What is the MIME equivalent of uuencode for sendmail?

e.g., I've got files I want to send by sendmail but the receiving mailbox (for posting pictures to my blog) will not accept uuencode files a la $uuencode file | sendmail user@domain I'm guessing ...
4
votes
1answer
520 views

Minimal MTA that delivers mail locally (for cron)?

On my laptop, I have set up a cron that performs a weekly job. If there is something to report, I would like to get an e-mail for it. Right now I am using KMail as MUA which is able to read mail from ...
3
votes
2answers
492 views

sendmail not sending to the cloud (local mail works)

I'm using a perl module (Mail::Sendmail) which uses sendmail to send stuff. It hasn't been working, but hasn't been giving me any errors. So now I suspect sendmail. I tried: telnet 127.0.0.1 25 mail ...
3
votes
2answers
2k views

localhost [127.0.0.1] in email headers

I'm using sendmail to send a very simple email from a text file. Here is the text file: to:test@someaddress.com from:admin@hostname.tld subject:Testing test test test Which I send with: sendmail ...
3
votes
2answers
4k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating ...
3
votes
1answer
180 views

How can I set an e-mail's headers using /usr/bin/mail?

I have a bunch of scripts on an IBM AIX server's crontab that call the mail command to send myself an e-mail, kinda like this: $ mail -r myon@hakugyokuro.gk -s "Results for `hostname`" ...
3
votes
1answer
490 views

Why does sendmail work differently in different shells?

The following code works when I directly run it in bash shell: SUBJECT="SUBJECT-"`date`; MAIL_FROM="abc@site.com"; MAIL_TO="abc@site.com"; MAIL_CC="abc@site.com"; MAIL_FILE="/path/of/html/body.html"; ...
3
votes
1answer
48 views

Mail delivery problems

Once upon a time there was a server. Lets call it zzz.com, running Ubuntu LTS 10. Then, domain owner decided to create his corporate mail via Google Apps, and created account username@zzz.com. ...
3
votes
3answers
154 views

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, ...
3
votes
2answers
509 views

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. ...
3
votes
1answer
321 views

Sendmail/procmail/Exchange truncating mail

The level of enlightenment by a colleague to find a pattern in this has saved me from a new depth of madness. My hope is that the brain trust here can now tell me why... The Scene: We have several ...
3
votes
2answers
1k views

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 ...
3
votes
0answers
317 views

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 ...
2
votes
3answers
209 views

What email features/functionality are baked into a typical Linux/GNU distro? [closed]

I am curious how system daemons on a local Linux host send email. Is there some type of email framework already built in? Do I need a MTA or a MUA? What part does "Sendmail" play and is it a ...
2
votes
2answers
120 views

Where do uncaught local emails go?

Suppose I run - mail goldfish There is no such account on the system and no such aliases defined, where would the mail go? How do I see a list of such mails?
2
votes
2answers
687 views

What is the process `sendmail`?

When I type top commond, I see many sendmail, what are these sendmail? I never set mail in my service. SER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16110 root 17 0 234m 35m ...
2
votes
1answer
145 views

Sendmail can't find local users (with uppercase letters)

Sendmail works through sending to a smarthost, but can't find local users. # sendmail -bv LocalUser@myhost.net LocalUser@myhost.net... User unknown # grep LocalUser /var/log/maillog Sep 8 03:48:30 ...
2
votes
1answer
1k views

PHP + Exim4 on Debian - mail does not get delivered

I have a fresh Debian installation with LAMP. There is a PHP script that sends email messages to arbitrary addresses using the mail function, but it does not work - the messages don't get delivered. ...
2
votes
2answers
95 views

quick filter of IP that's causing sendmail DOS under FreeBSD

I've got what appears to be a malicious/spam host that is overloading my Sendmail server causing it to refuse connections to other hosts. I'm overloaded by connections from one particular IP address. ...
2
votes
1answer
682 views

How to prevent /var/log/mail.log from inflating?

I am using Ubuntu 11.10 (oneiric). /var/log/mail keeps inflating on my server: Aug 5 10:48:25 domU-12-31-39-0B-C4-54 sm-msp-queue[13360]: q71He1xw027248: to=postmaster, delay=3+17:03:10, ...
2
votes
2answers
496 views

Is there a way to completely disable outbound opportunistic TLS support in SendMail?

CentOS 5.x SendMail 8.14.4 An overzealous network security feature is causing TLS negotiations to fail when my Sendmail server tries to talk to external hosts. This is causing sendmail to constantly ...
2
votes
1answer
2k views

Email Sent via root@domain.com despite modifying /etc/aliases

First, here are the entries I added/modified in /etc/postfix/main.cf file: mydomain = domain.com myorigin = $mydomain relayhost = email-smtp.us-east-1.amazonaws.com:25 smtp_sasl_auth_enable = yes ...
2
votes
1answer
298 views

How are email headers generated?

When you send an email a header is part of the message. For example, when you check your mail you can view the raw source and see the headers, which has information about the sender of email in it, ...
2
votes
1answer
595 views

How to send non-local mail, with GMail(GApps) SMTP?

I have some (~3) Debian boxes, and I want to post system mail to my non-local mailbox. But I have a problem with configuring exim4. Also I don't like so much exim4's config. Too different, and also ...
2
votes
1answer
316 views

How to generate a report summary of messages that triggered a specific DSN code

I use Sendmail on CENTOS 5.x, I hope this is a simple question. =) I need to generate a report summary of messages that triggered a specific DSN code. For example: Jan 11 07:43:34 server-example ...
2
votes
2answers
170 views

Rebuilding sendmail on FreeBSD application server after adding new activedirectory domain controller to network

In the process of adding a new ActiveDirectory domain controller to our network, we decided to rename the domain from "domain.local" to "domain.priv." I scoured all parts of our application server for ...
2
votes
0answers
13 views

Need help interpreting sendmail maillog response

I'm new using sendmail. I have sendmail set up to only transfer mail sent to "mydomain.com" to each user's personal email though none of the users are actual users of the system. I get a lot of ...
2
votes
2answers
143 views

Mail command to send attachements

I tried the below command uuencode data.txt | mailx –s “Test Mail” “mrp@xyz.com” But I get the below error ksh: uuencode: not found. Null Message body; hope that' ok which clearly tell that ...
2
votes
0answers
164 views

How to configure Sendmail in a jail to get correct FQDN?

I am building a mail server using FreeBSD 9.1-RELEASE with a jail. On the direct OS, all what I have to do was only adding my domain name to /etc/mail/local-host-names file. Anyway I wanted to run ...
2
votes
1answer
602 views

Postfix: force local users (PHP) to use the SMTPD for outside recipients

My server has been hacked and was sending lots of spam over the Internet. The first thing I did is shutdown postfix, close the outgoing port 25 and take the time to clean the website, the postfix ...
2
votes
0answers
289 views

Sendmail configuration with user mapping on Solaris

I have the following: host1.intra.net which has sendmail and users: user1, user2 & user3. It is running SunOS 5.10. host2.intra.net which has SMTP server. No authentication, no encryption. Email ...
2
votes
1answer
261 views

Apache mail sending flowchart / workflow?

I am currently trying to get my head into learning how Linux systems send mail, starting from Apache, to Sendmail and finally out the door. Specifically I'm using CentOS 5 which is using Sendmail, ...
1
vote
1answer
141 views

mails being marked as spam

I configured my own mail server using sendmail for our application . Mail server is used to send automated mails when a user registers at our site . I was able to implement this successfully, but ...
1
vote
2answers
3k views

How to send the email which is sleeping in my queue list?

When i send email it sleep in my queue list. How can i send them out? (Fedora 15 distro). # mailq /var/spool/mqueue (2 requests) -----Q-ID----- --Size-- -----Q-Time----- ...
1
vote
1answer
441 views

Why did CentOS 6.4 set up sendmail-related stuff up this way?

After my CentOS 6.4 install, sendmail-related components were set up as follows: mail:x:12:mail,postfix in /etc/group drwx------ 2 root mail 4096 Sep 6 14:06 /var/spool/mqueue And I was getting ...
1
vote
1answer
901 views

sendmail through virtual machine

I am successfully performing some very basic SMTP sending in my machine with a basic Python script: .... things ... try: smtpObj = smtplib.SMTP('localhost') smtpObj.sendmail(sender, recievers, ...
1
vote
1answer
1k views

How to make sendmail write to new maillog

I want to rotate my maillog, but I want to make sure the newly rotated log contains the last 2M lines from the previous log: # write the last 2M lines to a new log tail -n 2000000 ...
1
vote
1answer
158 views

send email from my local domain example.com to external mail server using Sendmail

I'm using Sendmail as an MTA. I setup a local domain example.org, everything is running well, so now I want to use this local mail server to send email to my Gmail account or any external server. Just ...
1
vote
3answers
49 views

verify: command not found exception when trying to get value from user

Code Explanation: The below code is a simple script written by me to send a Installation status alert mail. It will be sent after completion of a linux software installation. In this code, If the user ...
1
vote
1answer
1k views

Nagios uses sendmail, new mail server, need to change SMTP server

I'm working with a CentOS server that has Nagios running and sending notification emails. The emails are still going to the old email system which was kept up to ensure all emails were being routed to ...
1
vote
1answer
563 views

Why is sendmail appending my hostname to unknown destination domain?

I am testing the handling of mail bouncing. When I send a test email to a bad domain, for example: eric@blahblahfail.org, I get the following error in my log: SYSERR(root): ...
1
vote
0answers
58 views

Mail server broken my LAMP installation

I was installing mail server, postfix/sendmail I suppose. Then I had no need to use it anymore so I removed it. But now when I type localhost in my browser it redirects me to https://mail.example.com. ...
1
vote
0answers
71 views

Configure sendmail to send only

I want to configure sendmail only to send emails – not to listen and receive. In /etc/mail/sendmail.conf I’ve got: DAEMON_MODE="None"; QUEUE_MODE="Daemon"; Iptables are disabled (temporarily; only ...
1
vote
0answers
76 views

MailScanners: spamassassin vs spamd & clamav vs clamd [closed]

I'm trying to decide which method is better question for you today. I'm running a Debian+Sendmail(w/TSL+SASL)+MailScanner+SpamAssassin+Clam setup. I'm wondering which is a better way to execute my ...
1
vote
1answer
174 views

Courier-imap with sendmail setup: why is my IMAP inbox empty?

I've successfully installed sendmail, but when I connect to the Courier IMAP server via Outlook, the Inbox is listed as empty. When I check the inbox with Alpine locally on the server, it has content ...
1
vote
0answers
138 views

Unmanaged VPS bought today. Sendmail not functioning correctly

I purchased an unmanaged VPS today. I moved my website on over, and when I try to send an email. It returns a blank page. Not to mention I had to install PHP myself. Apache was there, for some reason, ...
1
vote
1answer
199 views

Sendmail with TLS support changes FROM: address

I have multiple domains on one server and when sending email to server, which supports TLS, server changes FROM field to default domain ($j). What should i do (in .mc level please) to remain primary ...
1
vote
1answer
1k views

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 ...
0
votes
1answer
42 views

Sendmail cannot write /var/spool/mail/root

I have a problem with sendmail (postfix is not installed) in my CentOS, the file /var/spool/mail/root is missing, I have tried to restart sendmail and send mail from shell with: mail -s "test mail" ...