Sendmail is the traditional MTA (message transfer agent), i.e. the traditional server program to send, transfer and deliver email. If your question is about sending mail in general, see the tag /email.

learn more… | top users | synonyms

2
votes
1answer
59 views

How can I change the from address in *nix mail globally?

I know that you can change the from address in *nix mail by specifying command-line options. However, is there a way to set it globally, so that it is respected by forwarding? I tried modifying the ...
0
votes
0answers
10 views

git sendmail attachment

I tried to send attachments with git sendmail but unable to do that. I haven't found any way to send source files like abc.c etc with git sendmail. only *.patch was possible. I tried mutt but that ...
2
votes
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
1
vote
0answers
17 views

Fedora Linux: I installed sendmail but now bash mail notification doesn't work

I installed the sendmail package on Fedora 23. So now I have /usr/sbin/sendmail that actually kind of works. Except now I don't get mail notifications in the bash shell. Why not? Fedora ...
0
votes
1answer
835 views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
0
votes
1answer
24 views

Accumulating sendmail processes

I've been having an issue where I'll see many instances of a particular process: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t I've done a bit of reading and it seems like the processes are ...
-1
votes
0answers
52 views

Sending mails from Linux

I trying to send email from my Linux box but its not working. I'm using below command echo "This is the message body" | mail -s "This is the subject" chhaya.vishwakarma@example.com -aFrom ...
3
votes
2answers
8k views

localhost [127.0.0.1] in email headers

I'm using sendmail to send a very simple email from a text file. Here is the text file: to:test@someaddress.com from:admin@hostname.tld subject:Testing test test test Which I send with: sendmail ...
-4
votes
1answer
26 views

Postfix can not send from Mydomain - only to third party domains

So I have setup an Ubuntu server and want to use postfix in order to sendmail via php. The server host: example.com When the server sends an email to anything@example.com, I get an error. If sending ...
1
vote
2answers
2k views

sendmail not using mailertable

I'm having trouble getting my mailertable to work.... /etc/mail/sendmail.mc contains this line FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl /etc/mail/mailertable contains this line ...
0
votes
1answer
35 views

How to turn off SMTP port in Solaris

I want to turn off SMTP port in Solaris server. I am getting follwing Message. /var/adm/messages:Mar 10 06:18:08 sendmail[20024]: [ID 702911 mail.alert] /var/adm/messages:Mar 11 06:18:08 ...
0
votes
1answer
23 views

Can sendmail be made to refuse connections if NIS or DNS are down?

We run a sendmail 8.14 server for a domain which has its user database managed in NIS. My nsswitch.conf is pretty vanilla: passwd: compat group: compat shadow: compat hosts: ...
0
votes
1answer
24 views

Strange error on exit mail from hpux

My HP-UX mailer works fine; I can reach machines and send emails and also delete. But on exit from mailx, after deleting messages, I get rmmail: cannot unlink /var/mail/myuser Why? My permissions ...
1
vote
1answer
50 views

Why does telnet localhost 25 works and telnet mailvm2 25 get Connection refused?

I am trying to set up an email server but my server is not receiving any emails. I discovered that port 25 is being blocked. When I do iptables -L I do not see any firewall rules. I am running ...
0
votes
1answer
25 views

Executing command for sendmail not working

Good Day, I'm still new in Linux CLI and I'm using RHEL 6. I'm executing command for sending email via terminal. $ cat log.txt | mail -s "Logs" myemail@e.mail.com Hosted by outlook365 When I try ...
1
vote
0answers
31 views

How to make excel interpret Chinese characters in CSV file

I am sending a report from a unix shell script that contains chinese characters. When I open the CSV report in plaintext editor like textmate I can see the chinese characters but when I open CSV ...
1
vote
1answer
49 views

I can't find the process sending mail?

I did something stupid and ran an awk that runs a while loop that sends an email every 10 seconds. I ran this as a background process: egrep '^[1-9]' /etc/hosts | grep -v 'localhost' | awk '{ ...
1
vote
1answer
70 views

understand sendmail log messages

I sent an e-mail message from machine named syslog-server with command mail -s "syslog test" test@example.net <<< "test". The mail message was not delivered to receiver and following messages ...
0
votes
2answers
32 views

Sendmail : save email into a file

I use sendmail to manage the emails of my website. I'm testing features which require to send emails, and I'd like to receive these emails in a local directory of my server, store them as text files ...
0
votes
1answer
19 views

Why doesn't sendmail validate credentials before sending out a mail

I am using the following code: cat - emailbody.txt <<EOF | /usr/sbin/sendmail -oi -t From: <PersonB@xyz.com> To: <PersonA@xyz.com> Subject: Testmail Content-Type: text/html; ...
2
votes
1answer
765 views

Sendmail not masquerading email “Received:” headers

I followed the instructions from NixCraft site and try to masquerade my emails with the following configuration: MASQUERADE_AS(example.com)dnl FEATURE(masquerade_envelope)dnl ...
1
vote
1answer
3k views

Null message body; hope that's ok

I have the following command below as part of a cronjob. When I run the command via cron or at the command line, I get Null message body; hope that's ok. The contents of the email are empty but when ...
0
votes
1answer
19 views

How to set subnets in /etc/mail/relay-domains?

If I need to set a /27 in the mentioned config file (sendmail), how can I do it? I need to write all the 30 IP's in it? Or does it accepts /27?
1
vote
2answers
29 views

Debugging “unable to connect to sendmail server”

In a corporate environment, we have a mail server which has only ports 25/tcp and 587/tcp available. When we use Perl Scripts (using HTML::Mail) to send hundreds of legitimate mails, it occasional ...
0
votes
0answers
12 views

relay all TLDs from relay-domains

On my production server, I want to relay all the top level domains, Server is configured with send mail + Dovecot. As I checked in the file /etc/mail/relay-domains if I add any domain then I can send ...
3
votes
3answers
7k views

Mail command to send attachements

I tried the below command uuencode data.txt | mailx –s “Test Mail” “mrp@xyz.com” But I get the below error ksh: uuencode: not found. Null Message body; hope that' ok which clearly tell that ...
0
votes
1answer
27 views

sendmail default mail path

I have just configured the postfix+dovecot and its working fine as I tested with configured in Outlook. Same way I am trying to setup a sendmail+dovecot, The mail problem I am facing here is the ...
2
votes
1answer
716 views

Sendmail with TLS support changes FROM: address

I have multiple domains on one server and when sending email to server, which supports TLS, server changes FROM field to default domain ($j). What should i do (in .mc level please) to remain primary ...
0
votes
1answer
26 views

Sendmail attach all files in directory

I want to send mail and attach all files in directory. Below doesn't work sendMail -a | find . -name '*.*'
0
votes
1answer
75 views

Sendmail says it has sent, but doesn't actually send

I installed sendmail using this tutorial: Install sendmail debian gnu linux I am using this command to send my test email: mail -s "Subject" "xxxxxxxx@outlook.com" <<< "This is the body" ...
2
votes
3answers
1k views

sendmail using incorrect timezone

I have sendmail running on my CentOS server. The server is set to BST and tzdata is correct. $ date Tue Jul 2 10:53:56 BST 2013 $ ll /etc/localtime lrwxrwxrwx 1 root root 33 Jun 28 17:07 ...
4
votes
1answer
59 views

Turn off color in bash for logs

I am running Ansible on multiple machines and redirecting the output to a file, say log-$(date), which is mailed to me every day. The output file has multiple text colors, how to turn them off? ...
2
votes
1answer
93 views

How to configure a two-factor-enabled Gmail account to work as sendmail on a Debian Jessie?

I am interested to get email notifications from my server to my Gmail account - the same notifications that the server gets in the /var/mail/root - either by forwarding the messages, or or directly ...
0
votes
1answer
92 views

Send mail not working with contact.htm

I have a Ubuntu 14 server and trying to get my web site contact.htm to send mail to my address jplazzo@hotmail.com here is the mail.log : Nov 18 17:22:34 ubuntu sendmail[7439]: tAIMMX5s007439: ...
0
votes
2answers
68 views

Can I send email in the background in Mutt while still being notified of errors?

Removing mutt's send delay I originally used mutt's built-in SMTP MTA. However, there is a considerable pause after hitting send. This can be disabled by using an external MTA with set ...
0
votes
2answers
22 views

What do the letters F T S R and E mean in Sendmail milter?

I see on sendmail.mc milters lines like this: Xclamantivirus, S=local:/var/run/clamav-milter/clamav.sock,F=T,T=S:4m;R:4m;E:4m I know what is a local socket. But what do the letters F T S R and E ...
-1
votes
1answer
26 views

Sendmail: how to create a spam folder automatically?

I have a mailserver(sendmail+dovecot+procmail+spamassassin) Works fine,for normal mail,for spam i want to create a folder called "Spam" for every user and put all spam mail there. I configured ...
0
votes
0answers
80 views

Sendmail is canonicalizing domain name from CNAME

I have an old mail server that I recently replaced. The replacement is delivering mail as expected, but there is an odd quirk. I have a variety of aliases that deliver mail to a list of people. ...
0
votes
1answer
120 views

sendmail smtp auth simple,why fail auth?

On sendmail i did this for smtp auth sasl is running root 1609 1 0 05:16 ? 00:00:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5 root 1610 1609 0 05:16 ? ...
1
vote
0answers
48 views

In FreeBSD, how do you send a mail message from a user on one server to a user on a different server?

The environment is FreeBSD 10.2 with default services including sendmail. Sending a message from one user to another on the system works fine: mail -s "A message" userb Hi b, this is a. CTRL-D ...
3
votes
1answer
440 views

Is there any way to send mail without a relay server? [closed]

I am new to configuring mail servers. I want to send the mail from one server to an external domain (xxx@yyy.com). How can I implement this? I need some help on it.
0
votes
2answers
99 views

How to check all desired files have been downloaded in shell script

I have downloaded the files from remote server by sftp.now i want to check that all of my files (nodeid given) have been donwloaded or not.if not downloaded then give the warning messages by sendmail. ...
4
votes
1answer
127 views

Why does sending email via mutt work to gmail but not to evernote?

I have freshly installed sendmail and mutt on Ubuntu 14, with no configuration. It works fine like this when sending a test email to a gmail account, e.g. mutt -s 'test 1' < /dev/null -- ...
0
votes
1answer
342 views

sendmail: User unknown

I am trying to run mail (or sendmail) from exadata lnux server and getting 'dead.letter' error. /var/log/maillog file shows stat=User unknown I even tried to update /etc/mail/sendmail.mc file and ...
1
vote
1answer
180 views

Sendmail issues “530 Authentication required” error message when authinfo is supplied

sender_email - email address that does not exist, but must be used as FROM address, because receiver host rejects emails from other emails. receiver_email - email that is supposed to receive the sent ...
0
votes
1answer
174 views

sendmail messages not delivered after fixing name resolution

On my server, sendmail was taking 60s to send a simple message. After some googling, I found out that it was due to a DNS problem. I had this log: Sep 13 08:00:01 myserver sm-msp-queue[1493]: My ...
0
votes
1answer
63 views

Cannot make sendmail to use a remote SMTP server [closed]

I followed the following guide on how to setup sendmail to use a remote SMTP server and authenticate: https://www.smtp2go.com/docs/sendmail/ However, sendmail shows that it sends emails out, but ...
0
votes
1answer
182 views

Sending email out at a specific time

I'd like to write emails now and have them go out at some specific time in the future, eg. when the office opens in the morning. What would be a good way to do that ? Most user agents don't support ...
1
vote
2answers
3k views

How to make sendmail write to new maillog

I want to rotate my maillog, but I want to make sure the newly rotated log contains the last 2M lines from the previous log: # write the last 2M lines to a new log tail -n 2000000 ...
1
vote
1answer
50 views

Using wildcard domains in sendmail

I need to add functionality a bounce handler for multiple virtual domains that are constantly dynamic. I have over 1,000 domains that change (additions & deletions) on an hourly basis. ...