Sendmail is a free and open-source mail transfer agent (MTA), originally created in the 1980s. It is primarily used on Unix-like operating systems to deliver and transfer mail.

learn more… | top users | synonyms

11
votes
3answers
7k views

Safely get rid of “You have new mail in /var/mail” on a Mac?

I was messing around with sendmail in Rails a year ago and have had this message popping up in the terminal after every command ever since: You have new mail in /var/mail/Lance How do I properly ...
6
votes
2answers
698 views

Easiest way to send mail from Linux Server

I want my server to send me email alerts every time it does things such as run a backup. I have tried to setup programs like Sendmail, Postfix, etc on my Ubuntu Server box and it is really a pain for ...
5
votes
3answers
5k views

Benefits of running my own mail server versus switching to google apps

I've happily been running a mail server on my home network to handle my personal domain email for the last 6 years. The old PIII server that is my mail server is now on it's last legs and I'm ...
5
votes
1answer
1k views

Sendmail very slow - /etc/hosts configuration

It takes ~15 seconds to send single e-mail using sendmail. /var/log/mail.log: Jul 31 09:52:42 piotr-probook sendmail[2912]: My unqualified host name (piotr-probook) unknown; sleeping for retry ...
4
votes
4answers
374 views

What all is required for email from my server to pass through spam filters?

I have a serverbeach server with postfix installed. The hostname is something like p3204059.pubip.serverbeach.com The FQDN is specified as NONE for the server itself. I clicked change ptr record, ...
4
votes
1answer
354 views

Preventing Sendmail Brute Force Attack on Solaris 10

I want to dynamically block specific connections that use the same IP address based on a rate or connection limit. Is this possible using Solaris/IPF or some sendmail extension? I want to limit ...
3
votes
2answers
446 views

Changing default from e-mail address for system accounts when using sendmail

I would like certain system accounts (root and www-data) to have the header From: Example Company <noreply@example.com> when e-mail is sent using either the mail or sendmail commands, or from ...
2
votes
6answers
1k views

Why is mail from the server not reaching Yahoo users?

The mail sent from the server does not reach to Yahoo users. Whereas sometimes, it appears in spam folder of gmail account. How do I correct this problem?
2
votes
3answers
533 views

Cron job outputs HTML; how to send mail as HTML

I have a cron job that if it fails outputs HTML. If it succeeds it outputs nothing, in which case I get no mail. If it does fail and write HTML, cron sends me the mail but it comes as plain text and ...
2
votes
1answer
5k views

Scheduled and recurring email in Outlook?

I need to send some emails at a specific time of the day and need to do it every day. How can I do it with Outlook? Delay delivery helps to send mail at a specific of time; but how to create new mail ...
2
votes
1answer
375 views

sendmail/qmail both run on the same server. Which used to send emails?

sendmail and qmail both run on the same server. How can I know the one used to send email ? I have a PHP application that sends email via the mail() function. The SMTP server it uses has both process ...
2
votes
1answer
442 views

Why does sendmail replace non-existent domains with the local domain name?

When I send an email to a non-existent domain, or a domain without an mx record, I am receiving the email at my domain for the same user. To clarify my issue, here's an example: from the command line ...
2
votes
1answer
450 views

Using sendmail over SSH

I have a SSH access to the server with working sendmail provided by my hoster. I want to configure my local sendmail to use remote server as a relay. How can I do that? Is it posiible at all? Note: I ...
2
votes
1answer
381 views

How to forward email for an entire domain to an email address using SRS (Sender Rewriting Scheme)

I have a domain for which I want to forward all email destined for addresses at that domain to a single email address. For example, I want to forward john@example.com and fred@exapmle.com and ...
1
vote
3answers
4k views

Hide email adress of sender when sending on behalf of

Situation: using Microsoft Outlook 2003 using Exchange 2007 server What I want to do: send email on behalf of xyz@example.com want to hide my own exmail adress abc@example.com I managed to ...
1
vote
4answers
426 views

Sendmail replacement on a home debian machine

Once in a while I'd like to report a bug using Debian reportbug facility... or use other programs which assume working sendmail. However I'd rather like not to install any mail server on a home ...
1
vote
2answers
1k views

mail refused by port 25

When I try to send a mail from my Linux (CentOS) server, the exit status is 0, but the mail never reaches it's destination. The /var/log/maillog file has an entry something like this... Mar 18 ...
1
vote
2answers
11k views

Mail command not working in Linux

I have questions about mail, I am using following command on my linux account of my compnay mail -s 'Hi' username@gmail.com But I dont receive any emails, where as did not receive any error while ...
1
vote
3answers
130 views

Debian sendmail Cannot write

I had a working sendmail configuration on my debian server, i tried to put a postfix to receive email but abandoned, remove postfix, re install sendmail but nothing work anymore :( here is my ...
1
vote
1answer
1k views

mailx is not sending any mail

I'm new to super user and I am trying to teach myself how to code bash and work my way around the GNU/Linux operating system. I've become pretty comfortable with vim, emacs and some basic commands but ...
1
vote
1answer
830 views

Sendmail - setting the from address?

I've just set up sendmail to send emails from joe@javawag.com from within PHP (javawag.com is my domain and I have google apps mail set up on it). The problem is, when I read the mail I receive, it ...
1
vote
1answer
343 views

Gmail relay will not email account on its own domain (google apps)

I am running sendmail on Ubuntu. I've configured it all as normal to relay email via my Google apps server. I have another account on a ubuntu VM that works just fine and it can email itself etc. I ...
1
vote
1answer
428 views

Transfer mail from local machine to Gmail

I'm trying to use Gmail to manage a MS Exchange email that I log into with Outlook Web Access. The Exchange email has IMAP and SMTP access but not POP3 access so I can't use Gmail's "check mail from ...
1
vote
0answers
67 views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
1
vote
1answer
30 views

Getting connection timeout when using sendmail

I’m using CentOS (basically): $ uname -a Linux sandbox.my-domain.com 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux and trying to send email using ...
1
vote
0answers
56 views

Ubuntu sendmail relay with username and password

I have a Ubuntu server which I want to setup a mail server on. Now, I've heard that sendmail is the only mail server that supports a relay server. Why I need a relay server is because my Ubuntu Server ...
1
vote
1answer
236 views

Sendmail - domain listed in both relay-domains and local-host-names

Recently took over a seemingly undocumented Sendmail 8.13.1 server, running on CentOS 4.7. Basically need to figure out what they are trying to accomplish via the config files. One thing that I find ...
1
vote
1answer
496 views

Sendmail “Delivery Status Notification” mail flood

I am not entirely sure whether this belongs here, so feel free to redirect me in case I posted this to the wrong board. I have a small apache2 webserver (raspberry) registered under the domain ...
1
vote
3answers
2k views

Sendmail Configuration SMTP Relay Port 465

I am trying to setup a Ubuntu VM with sendmail (LAMP) and I cannot seem to get sendmail to actually send anything. I have read that I need to setup a SMTP relay to a valid domain name, which I have ...
1
vote
0answers
180 views

Sendmail not working on ubuntu guest - unqualified host name

I have a win7 host running ubuntu guest through vbox. it is configured with a bridged network adapter and I am using DHCP to assign an ip of 192.168.0.5 which is mapped to smartstart.dev in my windows ...
1
vote
0answers
726 views

Send Mail not working properly on Ubuntu server 10.04

I am trying to send a test email from ubuntu server 10.04 using the sendmail service. Below is the command. cat /var/gs/livecron/design.txt | mail -s "Cron Job Duration Notification" ...
1
vote
0answers
503 views

Set the from address on emails from cron/Set default from address for sendmail

As a normal user I can send email, either from the commandline or from PHP. But when a cron job has error output, sending of that email fails (I have a MAILTO=me@example.com at the top of the ...
1
vote
0answers
181 views

How do I replicate Gmail filtering (forwarding mostly)? [closed]

I have reached the limits of Gmail forwarding. Before there was no need to verify forwarding addresses. It's a problem for me now because the addresses I want to forward to are not natural inboxes but ...
1
vote
1answer
1k views

Postfix on Snow Leopard unable to send MIME emails, including header contents in message body

I configured postfix on snow leopard by adding the following line to /etc/hostconfig: MAILSERVER=-YES- I then configured postfix to relay through my ISP's SMTP server. I added the following two ...
0
votes
3answers
11k views

sending mail from linux commad line

Is it possible to send mail from linux terminal to any gmail account. If possible then what are the configuration are needed. I tried with mailx and sendmail but its not working. I also tried with ...
0
votes
2answers
36 views

Formatting a file for sendmail

How can I format a file so I can just do cat file | sendmail? By putting Subject: This is the subject, I don't need to specify the subject in sendmail, but adding the To: myemail@hostname.com field ...
0
votes
1answer
125 views

Dangerous sendmail behavior?

What's going on here?? sendmail cat/etc/passwd sendmail cat\etc\passwd sendmail xxxcat/etc/passwd Why in the world does this actually execute the cat command? This works at least on Fedora Core 4 ...
0
votes
1answer
60 views

How to disable the hotkey to send a composing message in Outlook 2012?

I often accidentally send incomplete emails by hitting Alt+S. I want to turn this hotkey off when I'm using Outlook 2012. How can I do this?
0
votes
1answer
310 views

Is it possible to send email from local linux machine to internet?

I have a linux machine running at home. I installed sendmail as MTA. But I can't send email outside to internet email addresses. I am not sure whether it's because the config of my sendmail or ...
0
votes
2answers
2k views

Permission denied linux mail command

I ran a simple command "mail" on my Suse Linux 11.1 box and it's display "/var/mail/john: Permission denied" I had two users, john and peter When I login as peter and ran "mail" it display the same ...
0
votes
1answer
302 views

config error: why sendmail concatenates domains?

trying send mail via sendmail forward to cf16r@wp.pl, my domain is dorotamama.eu. and I get following: May 6 17:55:47 myubuntu sm-mta[3856]: r46FrhNl003854: to=cf16r@wp.pl, delay=00:02:03, ...
0
votes
1answer
1k views

DNS dig +tcp OK, udp NO

my topology: NAT->NetGear router (192.168.1.1 + wired machines) -> TP-Link (192.168.0.1 [in NetGear LAN 192.168.1.2] with some machines wireless and some wired). my problem is I can't get response ...
0
votes
1answer
122 views

Does Send mail can turn on external recursion in BIND DNS Server?

I've a Ubuntu 10.04 package from Godaddy, It includes BIND and Sendmail pre-installed. Normally recursion enabled for Internal DNS queries and recursion is disabled for External DNS queries. (Please ...
0
votes
2answers
771 views

How does Thunderbird Send Email?

Well, the title might be a bit misleading, but I couldn't find a better way to describe my question. I tried to set up my machine to send email via the php mail() function. It turns out I can't. My ...
0
votes
1answer
423 views

Force mail to be sent externally with sendmail

I'm trying to automatically send an email to a mailing-list. The machine running sendmail is example.org, which is a standard Ubuntu with Postfix. The recipient is foo@example.org which is a Google ...
0
votes
1answer
22 views

Why my freebsd has several sendmail processes?

While using freebsd 8.2, I noticed, by top, that several sendmail processes are always running. I never explicitly start any of them. Is it safe if I just kill them? And how can I detect which ...
0
votes
0answers
26 views

Sendmail local domain relay

Sendmail on webserver.mydomain.com is sending all emails properly except email addressed to anyone@mydomain.com. mydomain.com's mail is not handled locally and mx records are configured to point to ...
0
votes
0answers
9 views

How can I use rss2email with sendmail under Cygwin?

I'm trying to run rss2email under Cygwin, having it send the mails from the local machine (not from an SMTP server). Originally, I got the error that the sendmail command could not be run. I did some ...
0
votes
0answers
25 views

How do I configure sendmail to relay all messages for domains listed except for the ones I want to pipe to a script?

I have two servers... One CentOS6 server with nginx - 3 versions of php - mysql 5.6 and sendmail One cPanel server I want to host multiple sites on the nginx box, and let cPanel handle the mail for ...
0
votes
0answers
15 views

linux + files under - /var/spool/clientmqeueue

please advice if I need to make some other actions after chkconfig --level 5 sendmail off ? chkconfig --level 6 sendmail off ? in order to activate the new configuration ? ( affect the ...