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

23
votes
3answers
13k 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 ...
15
votes
1answer
68k 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 ...
10
votes
1answer
8k 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 ...
7
votes
3answers
3k views

Is sendmail a smtp server? Is there any difference between MTA and mail server?

I am new to mail and do not exactly know how it works. I have seen administrators use sendmail to send out email. Is sendmail a smtp server or is it a client that need to relies on smtp server to ...
6
votes
3answers
10k 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 ...
6
votes
2answers
948 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
4answers
2k 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, ...
5
votes
3answers
5k views

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

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 ...
4
votes
1answer
470 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
1answer
598 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 ...
2
votes
6answers
2k 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
2answers
17k 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 ...
2
votes
3answers
11k 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 ...
2
votes
3answers
3k 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 ...
2
votes
3answers
1k 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
871 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?
2
votes
1answer
531 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
761 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
2k views

Configure Sendmail Server to accept external incoming emails

For security reason sendmail is by default configured to accept connection from local system (127.0.0.1), to avoid open mail relay problem. But, How do I force sendmail to accept mail from the ...
2
votes
1answer
785 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 ...
2
votes
1answer
987 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
0answers
457 views

mail rejected with error 421 connection rate limit exceeded

I am running debian jessie with sendmail 8.14.4. I do not find where is the setting to disable the mails to be rejected for a certain host and i get periodically this message: May 28 16:20:30 mx6 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
812 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
3answers
21k 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 ...
1
vote
1answer
7k views

Send email with localhost on ubuntu with PHP (possible over external mail server)

I installed Ubuntu desktop 12.04 64bit on my laptop. I used these commands to install a simple web server: apt-get install apache2 apt-get install php5 apt-get install mysql-server All is working ...
1
vote
4answers
491 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
2k 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
1answer
3k 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
1k 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
26 views

Re-process emails from `/var/mail/root`

The mail forwarding was broken on one of my servers. Some emails accumulated in the local /var/mail/root mailbox instead of being forwarded. I fixed the forwarding now. Is there a way of reprocessing ...
1
vote
1answer
54 views

Use sendmail without standard input

I would like to use sendmail to send an e-mail from my backup software on Kubuntu Linux. However the software does not allow entering a full command line (only command name and arguments pattern ...
1
vote
1answer
620 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
657 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
30 views

Configure Sendmail as Secondary/Anonymous SMTP Solution

I have a scenario where I want to allow my clients a secondary SMTP service, e.g. they are hosted on SERVER1 and using the same server as a primary mail server, Now I want to allow them to use the ...
1
vote
0answers
55 views

How to use DNS alias as sender address for sendmail

I have the following setup: My Ubuntu (14.04) server gets a host name from DHCP (real.host.de) and there is a DNS alias (alias.host.de) that points to this host name. Now I want to configure ...
1
vote
0answers
103 views

How do you disable AUTH in sendmail?

I'd like to entirely disable AUTH on my home server's sendmail on Fedora 21, mostly because the constant fail2ban Emails are annoying, coming from constant CRAM-MD5 brute force attempts to get my ...
1
vote
0answers
116 views

sendmail: move deferred, timed out mails to the end of the queue

In some cases, a mail isn't sent successfully and remains in front of the queue for some reasons. Say: $ mailq /var/spool/mqueue/q6 (1 request) -----Q-ID----- --Size-- -----Q-Time----- ...
1
vote
0answers
44 views

bad text alignment with sendmail

I'm trying to send a mail and in the text of the mail put like these: xxxxx yyyyy zzzzz ----- ----- ----- 2424 324 23432 I send the email with sendmail but it shows me: xxxxx ...
1
vote
0answers
53 views

Use a custom sendmail binary in Thunderbird

I would like to add an option to "Outgoing Server" that uses a custom local sendmail binary (in my case for notbit) like it is possible in Evoution: Is there such an option in Thunderbird? (german ...
1
vote
1answer
2k 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
79 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
1k 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
8k 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
318 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
884 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
191 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
221 views

sendmail, ISP blocked port 25 of my incoming mail server

I want to setup a home mail server to receive incoming mails, but my ISP blocked port 25, so other mail clients (e.g., gmail) can't connect to my home mail server, right? I mean, I can telnet from ...
0
votes
1answer
19 views

Understanding /etc/aliases

I know that /etc/aliases is used to provide mail alias for system users (for either Sendmail or Postfix), for example, the listing like those in Understanding /etc/aliases and what it does. However, ...