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.
Questions tagged [sendmail]
133 questions
31
votes
3 answers
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 get rid of that so the message goes away? I ever…
user39251
22
votes
1 answer
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 to be sent for tomorrow?
Nam G VU
- 12,548
20
votes
3 answers
Is sendmail an 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 an smtp server or is it a client that relies on smtp server to relay email? I googled and read that it is a mail transfer…
Noob
- 1,675
13
votes
1 answer
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
/etc/hostname:
piotr-probook
/etc/hosts:
127.0.0.1 …
user21886
- 433
- 2
- 6
- 9
12
votes
3 answers
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 when e-mail is sent using either the mail or sendmail commands, or from programming languages like PHP (which just uses a…
DanielGibbs
- 497
10
votes
5 answers
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, I entered my ip and set the FQDN to:…
BreezyChick89
- 291
- 5
- 15
7
votes
2 answers
How to send out emails without using SMTP from server?
I am trying to write a scheduled job that will send out email with attachments after exporting a set of data from the database to a group of users. The job will be hosted on the server.
I need something that I can run on the server to send out…
xenon
- 554
6
votes
1 answer
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 internet?
The article at…
xpt
- 9,385
- 44
- 120
- 178
6
votes
2 answers
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 me to get it working. Is there any online service…
QAH
- 325
- 1
- 3
- 8
5
votes
3 answers
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 mail.log
Feb 2 12:35:56 sd-42311 sendmail[14881]:…
Nicolas Beauvais
- 153
5
votes
1 answer
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 can write script to run something like ssh…
Sergey
- 193
4
votes
0 answers
Sending text messages from Raspberry Pi via email fails
I'm using mailx on my raspberry pi to try to send text messages updates for event monitoring.
My phone number: 9876543210
My phone's email-to-text gateway address: 9876543210@txt.att.net
I can
Send emails from my raspberry pi to various email…
physicsmichael
- 1,068
4
votes
2 answers
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 executing the above command, so whats going on and…
rkb
4
votes
1 answer
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 sendmail login attempts to prevent brute force…
Andrew Case
- 176
4
votes
1 answer
Sending Emails within a Docker Container
Hello I'm trying to run the following command in my container
mail -s "This is Subject" someone@example.com < /path/to/file
How should my dockerfile look so the above command can be executed ?
I tried the following…
Montassar Dridi
- 141