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

Hit “sasl_decode error=-1” while sending mail via sendmail server on RHEL

Having installed sendmail and openwebmail on RHEL workstation 6.3, I can send email through webmail(cgi-bin/openwebmail/openwebmail.pl), but failed to interact with sendmail server in Perl script as ...
0
votes
3answers
60 views

send email to approximately 10,000 users in bcc using mailx

We have a requirement to send an email to ~ 10,000 users in BCC. We have used mailx command to send email to 10-15 users by using -b option and delimiting all the email id's with "," is there any ...
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" ...
0
votes
1answer
47 views

Where are my emails stored on CentOS 5.6

I have a CentOS 5.6 VM installation and currently have a handful of emails that I would like to get access to. When I run mail as root, I get: [root@dev mail]# mail Mail version 8.1 6/6/93. Type ? ...
2
votes
2answers
145 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 ...
0
votes
1answer
46 views

Sendmail relay to dmz to another relay

We have two domains. One of which is isolated. We're trying to forward mail from one domain, through a DMZ to a relay on the other domain. Using EHLO through telnet works. Using the mail command and ...
0
votes
0answers
31 views

How can I configure postfix to send mail from my domain?

I currently have a VPS set up with postfix and dovecot, running on a mail server located at mail.noelforte.com. The setup works fine for receiving mail, as whenever mail is sent to @noelforte.com, the ...
0
votes
0answers
16 views

bind9 problem with mail server address

I had installed postfix but since I didn't needed it anymore I removed it. So now the dns is broken and every time I type localhost:8080 in my address bar the browser redirects me to ...
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. ...
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
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 ...
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?
0
votes
0answers
303 views

How to set up smtp and send emails?

I'm new to raspberry pi. I installed the raspian OS on it. I want to send emails from it using my gmail account. I want to send from the command line interface and from php scripts. I followed this ...
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 ...
0
votes
1answer
80 views

Linking the `mail` and `sendmail` commands to Dovecot and Postfix

I have recently set up my mail server with Debian 7.2 (Wheezy), Dovecot, and Postfix, as described in this guide. This is all working fine, and I have installed and configured Roundcube and ...
1
vote
0answers
73 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 ...
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 ...
0
votes
0answers
83 views

Problem sending email from Wordpress form throught EC2 Linux

I have an Amazon EC2 Linux box (it's an Amazon Linux AMI basically a Centos) I have a bunch wordpress sites on them, most of them have contact web form. I believe they are using sendmail. I had an ...
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`" ...
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 ...
1
vote
1answer
443 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
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 ...
0
votes
0answers
265 views

How to change default sender name in PHP mail()?

I'm using LAMPP and sendmail on Ubuntu 12.04. When I call the mail() function in PHP specifying a sender address, it won't work. Every mail I get is sent by an address "daemon@myhostname". I've ...
0
votes
1answer
5k views

sendmail error dsn=5.0.0, stat=Service unavailable

i have configured an sendmail configuration in ubuntu 12.04 64 bit machine when i'm send th email through a perl script it gives the below error dsn=5.0.0, stat=Service unavailable and mail is not ...
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 ...
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. ...
0
votes
1answer
101 views

setting up sendmail on debian?

I have a LAMP localhost server setup for some development and I want to test out if my code is working. Some of the tests involve checking if the correct emails are sent out by the code at the ...
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 ...
0
votes
1answer
396 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 ...
1
vote
1answer
904 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, ...
4
votes
1answer
523 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
149 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
143 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
230 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
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 ...
0
votes
0answers
1k 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
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. ...
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
3answers
155 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
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 ...
0
votes
0answers
146 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
572 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
155 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
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 ...
0
votes
1answer
340 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
564 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
491 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
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 ...
0
votes
0answers
239 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 ...