Questions tagged [sendmail]
General purpose email routing software that supports mail transport via TCP/IP using SMTP
1,347
questions
7
votes
3
answers
29k
views
How do I Forward root's email to an external email address?
I have a small server (Ubuntu 10.04) at my house and I would like to forward root's email to my gmail hosted domain to get security notifications and what not.
I ripped everything out and started ...
7
votes
2
answers
2k
views
Is there a graceful way to pick up new changes in sendmail?
Is there a graceful way to have Sendmail reload/process configuration changes from sendmail.mc without completely restarting services and potentially impacting smtp delivery that's in progress at that ...
7
votes
4
answers
10k
views
/etc/aliases vs virtusertable
I have a mail server running Sendmail that hosts multiple mail domains. So for instance, emails addressed to @aaa.com and @bbb.com are both going to this same server. All this time I am using /etc/...
7
votes
1
answer
4k
views
Why is sendmail adding an extra carriage return in headers?
I've got SendMail 8.14.4 running on a CentOS 5 server.
A user in Japan is sending a message and when it gets processed by the server, SendMail is adding an extra carriage return for some reason.
...
7
votes
3
answers
44k
views
How to configure sendmail to use a different SMTP server?
I'm trying to configure sendmail on Centos 5 so that all mail goes through another SMTP server. In this case, it happens to be an Exchange Server. I've edited the sendmail.mc file with this line:
...
7
votes
4
answers
16k
views
Getting sh: 1: /usr/sbin/sendmail: not found error in apache
There's lots of sh: 1: /usr/sbin/sendmail: not found in my apache2 error.log, the problem is, I don't recall any of my site/apps trying to send mails or whatever, and I've already installed WP Mail ...
7
votes
2
answers
25k
views
postfix uses hostname instead of myhostname
I am trying to set up an outgoing mail server for sending emails which is to relay to our ISP.
In /etc/postfix/main.cf I have myhostname to ourcompany.example.com and myorigin and mydomain to $...
7
votes
2
answers
7k
views
How can I decrypt STARTTLS communication over SMTP in a packet capture (if I have the private key)?
For the purpose of troubleshooting, I need to see what an email looks like when it's sent to my sendmail server via SMTP. The upstream server requires the SMTP connection to use STARTTLS so a packet ...
7
votes
4
answers
19k
views
Configuring php mail() per domain
I have about 6 sites on my dedicated server (running centos5), and all emails sent using php's mail function are sent by [email protected] e.g. "Received: from nobody by servername....
6
votes
1
answer
30k
views
ERROR: Message not sent. Server replied: 354
On webmail every user gets error "ERROR: Message not sent. Server replied: 354" while sending mails.
But mails are sent properly and reaches properly.
Can you tell me where is problem, and why it ...
6
votes
2
answers
6k
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 ...
6
votes
1
answer
9k
views
sendmail vs smtp server
I currently don't have a SMTP server setup. However, in my PHP code, I send all my SMTP request to sendmail. Are there any down fall to using this procedure? If yes, what are the advantages of ...
6
votes
2
answers
23k
views
process mail in /var/spool/clientmqueue in linux
How do I get sendmail to process mails in /var/spool/clientmqueue? sendmail -q does not work for this directory.
6
votes
2
answers
2k
views
Change sender address of queued mails
Is it possible to change the sender address of mails that are already queued?
The relay-server we've used so far has silently changed its policy a few days ago and rejects now mails without a ...
6
votes
2
answers
18k
views
Sendmail to local domain ignoring MX records (part 2)
I have the exact problem, like in this post: Sendmail to local domain ignoring MX records . I am also using an email provider like GMail For Your Domain (which stores your mail and manages it). I am ...
6
votes
1
answer
3k
views
Disable mailing in cron globaly
The web is full of suggestions how to disable mailing in cron like asked here stop linux from emailing me cron errors?. Is there really no global config flag I can set to disable mailing in cron for ...
6
votes
1
answer
35k
views
Why are messages queued and not sent with sendmail?
I am having trouble with one of my sendmail servers. Users are informing me about that registration emails do not arrive. The logfile claims that the message has been queued, but the queue is empty:
...
6
votes
7
answers
7k
views
Receive email alerts from Linux file server
GOAL: Get a text file on my file server into my gmail inbox.
The file server is running Ubuntu Server 8.04 I currently SSH into it from time to time and to check logs, SMART stats for hard drives, ...
6
votes
2
answers
22k
views
Is it necessary to manually rebuild a sendmail.cf file or is this done automatically on service restarts?
CentOS 5.x | SendMail
I'm noticing inconsistent information regarding pushing changes from sendmail.mc
Some documentation suggests that making changes to the sendmail.mc file requires two steps:
...
6
votes
3
answers
7k
views
Sendmail : ignore local delivery
I've a Ubuntu webserver with Sendmail as my MTA
Currently when i email outside my webserver's domain e.g. example.com to something like gmail or any other email outside the example.com domain it ...
6
votes
2
answers
14k
views
Sendmail: Setting envelope sender to a fixed value
I need a way to configure sendmail to set the envelope sender of every message to a fixed value (say [email protected]). Note that this is not answered by any of the MASQUERADE features/macros (that I know ...
6
votes
1
answer
9k
views
How to disable reverse DNS in Sendmail
I would like to disable reverse DNS lookups in Sendmail.
We have an SMTP relay, running Sendmail, with an IP-based access.db. We have no requirement for reverse lookups and, in fact, they may be ...
6
votes
2
answers
12k
views
Sendmail messages rejected from Microsoft when using TLS
I'm going to preface this with a statement that I am no expert in sendmail. I rarely use it, but in this situation I have to for my client.
Background:
A client of mine has a mail server running ...
6
votes
1
answer
2k
views
Linode w/ Google Apps - how to get mail from PHP working?
I have a CentOS Linode instance that I'm running as a LAMP stack. I'm also using Google Apps for email. I have my MX records pointing at google's servers and everything is working in terms of relaying ...
6
votes
3
answers
8k
views
How to reject/detect emails claiming to be from my own domain?
We have following e-mail topology:
Exchange server --------- Sendmail server ---------------Internet
On sendmail server there is no any user mailbox and messages with sender address [email protected]....
6
votes
1
answer
2k
views
No DKIM headers in sent mails from postfix
I have two postfix, one for receiving mails and the other for sending mails, and I am having trouble signing dkim on my outgoing mails. I followed this tutorial.
Logs also is not helping me point to ...
5
votes
4
answers
3k
views
Does "\root" do anything in /etc/aliases?
I've found on a couple servers that have the following entry in /etc/aliases:
root: \root,[email protected]
You can send mail to /dev/null like this:
root: /dev/null
I can't find \root used in any ...
5
votes
4
answers
4k
views
stop linux from emailing me cron errors?
Today i setup ssmtp to email me from sendmail. However what i didnt expect is that applications like cron would email me.
One of my cron scripts before backing up the db tries to create path/year/...
5
votes
4
answers
36k
views
What command can I use to search sendmail logs for ALL message details involving a specific recipient.
CENTOS 5.x | Sendmail
Occasionally I need to search through sendmail delivery logs to find out what happened to a missing message. This usually involves two (or more) steps:
STEP 1: Search /var/...
5
votes
1
answer
23k
views
Question on SendMail daemon actions when load average is too high
My sendmail server started rejecting connections because load average was too high (due to a spam issue that has since been resolved).
Error was: sendmail[13400]: rejecting connections on daemon MTA:...
5
votes
2
answers
33k
views
AOL bounces with: AOL will not accept delivery of this message [closed]
AOL started bouncing emails from my mail server with the following error:
521 5.2.1 : AOL will not accept delivery of this message.
554 5.5.0 Remote protocol error
On the troubleshooting page AOL ...
5
votes
1
answer
1k
views
Sendmail - Is it secure, and really essential?
I have a web application server running Ubuntu. The Application is built in Python/Django, but does not have any specific use cases to send email. We have log management software that allows us to ...
5
votes
2
answers
4k
views
Configuring sendmail to archive a copy of any outgoing message
How do I configure sendmail to keep a copy of any message I send. An option would be to automatically send a copy back to my box.
5
votes
1
answer
6k
views
Debugging sendmail - dsn=5.0.0
I am getting alot of the following messages from an ISP when sending out emails.
Is there any way to get more information from these ? Users are reporting that they are not receiving any emails?
...
5
votes
1
answer
20k
views
Can't change sender address/domain in sendmail
I have a server with sendmail and I need to send email througt PHP. I have an internal SMTP server on the same subnet, so I configured sendmail with FEATURE(nullclient', mail.server.local')dnl where ...
5
votes
1
answer
4k
views
Sendmail: "TLS verify=FAIL", "554 5.1.8 : Sender address rejected: MX record not found"
Have been struggling for a day already and can't find solution. When try to send mails to some hosts:
Jan 5 10:31:37 vps**** sm-mta[2192]: STARTTLS=client, relay=mail-x.*****.co.uk., version=TLSv1/...
5
votes
1
answer
7k
views
Sendmail adds X-Authentication-Warning for trusted users?
So, I've digged through tons of articles and answers to configure sendmail on Ubuntu 12.04 correctly but still my emails are being flagged with X-Authentication-Warning header by sendmail:
X-...
5
votes
2
answers
11k
views
Sendmail process failed with error code 67
Everything was worked fine but someday sendmail stop working on me.
I'am trying the following command line:
echo "Body text" | mail -s "Some subject" [email protected]
And got:
/home/<...
5
votes
1
answer
4k
views
Outgoing mail from linux not being delivered
I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box.
I think it is ...
5
votes
1
answer
6k
views
Abnormal sendmail activity using up the server memory on my Ubuntu 12.04 server
Environment
Rackspace
Ubuntu 12.04
Wordpress
MySql
The issue
I have been experiencing quite serious out-memory-issues in the last couple of days.
While I resolved one possible cause the issue I ...
5
votes
2
answers
14k
views
Sending e-mail from sendmail with headers
I'm trying to send an e-mail with sendmail, but I need to specify some headers (From, Content-Type, Subject). Here is the command I am currently running:
echo "Content-Type: text/plain\r\nFrom: do-...
5
votes
1
answer
6k
views
How to make sendmail to relay local mails?
I have www server called say mywebsite.com and mail serwer mymail.com. Mail for mywebsite.com is handled by mymail.com (mx record for mywebsite.com is mymail.com). Problem is that I want to send mails ...
5
votes
2
answers
2k
views
sendmail on ubuntu (9.10) machine "stopped" sending mail
I'm developing on my ubuntu 9.10 machine for the web (php).
I'm using it sendmail for sending mails, and while developing on my local machine, I send local mails (to my user 'doron').
Up until a ...
5
votes
1
answer
601
views
Postfix stops picking up mails at night
Our postfix system stops sending mails at night.
Every night at 2am it stops picking up mails.
The server is a monitoring server, which sends a lot of mails per day. /bin/mail drops the mails in the ...
5
votes
1
answer
3k
views
Preventing RCPT TO: username enumeration in sendmail on ubuntu
I'm trying to configure sendmail to prevent it from allowing username enumeration through the RCPT TO: command.
I've been googling endlessly and, from what I can see, the best way to achieve this is ...
5
votes
1
answer
2k
views
Sendmail Tuning For Batch Mail Jobs
I have a webservers that send out emails to a sendmail relay server as a batch job. The emails need to be accepted by the relay sendmail server as fast as possible, however, they do not need to go out ...
5
votes
4
answers
2k
views
can't get php mail() working on Ubuntu desktop version with sendmail and postfix
I'm running Ubuntu 9.10 LAMP and trying to do a simple email test with PHP and I'm not getting any emails sent.
mail("[email protected]", "eric-linux test", "test") or die("can't send mail");
I ...
5
votes
3
answers
5k
views
Error when sending mail from command line as non-root user
I'm trying to send mail from the command line as a non-root user on CentOS. I'm using the following command but getting an error:
$ echo test | mail -s "test" [email protected] -c [email protected]
WARNING:...
5
votes
4
answers
8k
views
How I (simply) Forward All Incoming Email to an External Address (ie. Gmail)?
With Google Apps no longer being free for small businesses/teams, I'm left pointing my MX records at my application server. I'd still like to receive email at a Gmail address sent to the domain ...
5
votes
1
answer
6k
views
sendmail - DSN: Name Server host not found
I've recently setup a new backup server and have configured sendmail with a smart_relay_host
Except every email from the command line doesn't go anywhere. From mail.log:
Oct 3 14:32:52 *****back01 ...