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

2
votes
1answer
916 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 ...
0
votes
1answer
635 views

Can't send mail with sendmail

I use SENDMAIL, I noticed that none of my mail is sent. I have all my mail in the /var/spool/mqueue when I looked at the log and I have this error MDeferred: Connection refused by ...
2
votes
1answer
2k 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, ...
5
votes
1answer
917 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 ...
0
votes
1answer
206 views

Sendmail relay without authentication

I have an issue:when the email is sent from an address other than 127.0.0.1 the authorization is required even if ip is on the same machine. How can I avoid to make request authorization for a given ...
0
votes
0answers
233 views

Sendmail authentication

when I try to send email from my new system: Distributor ID: Scientific Description: Scientific Linux release 6.4 (Carbon) Release: 6.4 Codename: Carbon with sendmail Version 8.14.4 I have this ...
0
votes
2answers
382 views

sendmail using incorrect timezone

I have sendmail running on my CentOS server. The server is set to BST and tzdata is correct. $ date Tue Jul 2 10:53:56 BST 2013 $ ll /etc/localtime lrwxrwxrwx 1 root root 33 Jun 28 17:07 ...
1
vote
1answer
314 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 ...
0
votes
0answers
2k views

SMTP Issue: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

We had a urgent requirement for creating a mail server to send mail for our Portal application using Liferay. The mail account will be an administrative account to maintain the portal. I was able to ...
2
votes
2answers
129 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. ...
3
votes
2answers
3k 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
3answers
222 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, ...
2
votes
3answers
232 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 ...
0
votes
0answers
180 views

Sending mail using sendmail

Need a few clarifications regarding sending mail using sendmail. I actually configured Bugzilla on a test server. The configuration was successful and I am now able to use it. I also want that, ...
0
votes
1answer
875 views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
0
votes
0answers
209 views

msmtp-mta: Add $HOSTNAME to every mail

I have a fleet of Ubuntu clients running msmtp-mta along with heirloom-mailx. I'd like to have the same /etc/msmtprc on all machines. At present, when someone uses mailx or sendmail, the mail will be ...
2
votes
1answer
3k 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 ...
0
votes
1answer
473 views

Send email if specified files do not exist

I am new to unix scripting. I have to do something like : In a folder /x everyday 10Pm and next day 3 AM, 2 files are placed. I have to write a script which will check the folder /x and confirm if ...
1
vote
1answer
804 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): ...
3
votes
1answer
548 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"; ...
2
votes
2answers
213 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 ...
0
votes
0answers
270 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
2
votes
2answers
920 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 ...
1
vote
1answer
219 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 ...
3
votes
0answers
383 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 ...
1
vote
0answers
148 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, ...
2
votes
1answer
766 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
1answer
336 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, ...
3
votes
2answers
635 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. ...
1
vote
1answer
231 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 ...
3
votes
1answer
360 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 ...
2
votes
0answers
325 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
2answers
650 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
2answers
4k 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----- ...
3
votes
2answers
617 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 ...
2
votes
1answer
628 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
277 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
2answers
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 ...
1
vote
1answer
2k 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 ...
4
votes
3answers
3k 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 ...
2
votes
1answer
338 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 ...
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 ...
4
votes
2answers
1k 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
2answers
5k 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 ...