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

19
votes
3answers
10k 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 ...
9
votes
1answer
31k 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 ...
6
votes
2answers
827 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
1k 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
1answer
5k 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 ...
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 ...
5
votes
2answers
5k 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 ...
4
votes
1answer
432 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
487 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
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
7k 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
971 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
3answers
1k 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
1answer
578 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
479 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
687 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
529 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
661 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 ...
1
vote
3answers
18k 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
4answers
469 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
14k 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
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
1answer
4k 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
1answer
2k 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
958 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
496 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
552 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
16 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
25 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
0answers
821 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
1k 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
71 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
6k 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
290 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
831 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
669 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
188 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
2answers
103 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
129 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
116 views

Tuleap: mail configuration on CentOS [closed]

we are new to the tuleap community. in order to evaluate tuleap, I have made a full instalaltion on a fresh Centos 6.5. The mail feature seems not to work which is critci as it is the way to validate ...
0
votes
1answer
405 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
3k 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
25 views

Is there a way to prepend to every email in Linux?

I want to set up my SMTP server so that every email I send has the same tag [TAG]at the beginning of the subject. Is there any way of achieving this?
0
votes
2answers
98 views

Sending mails and narrowing what script does it

I'm using a very old Ubuntu server that was some time ago a mail server which was infected. Sadly there is a running web page on that server. Some script/page/malware is trying to send a lot of spam - ...
0
votes
1answer
522 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
3k 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
146 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
1k 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 ...