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

1
vote
2answers
3k 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
0answers
15 views

Magento can't send mails using postfix on ubuntu

For some reason mail() function fails when we try to send emails, I debugged the Magento base code and I found that it generates a call to mail function like this: $result = mail('test@test.net', 'My ...
0
votes
1answer
24 views

Bourne to grep and forward specific text from across a LAN

I'd like to develop a shell that keeps forwarding me the greped text(say compilation errors or warnings, in a single txt output) to some E-mail ID or on some NAS mount point, most importantly from ...
2
votes
1answer
2k 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 'smtplib.SMTPServerDisconnected'&...
0
votes
1answer
43 views

how to send mail to other user using terminal?

My question is about mailing to other user using terminal. In my login system if I open another users terminal and my terminal also .and then if I send mail to same user , other user can receive but ...
0
votes
2answers
13k views

sendmail not working

I have a website where mails are sent. Those mails from website (contact mail, booking mail) are being sent well. But when I go to shell with ssh and give sendmail myemail@mail.com it is not sending. ...
0
votes
2answers
38 views

Sendmail issue with AT&T SMS text messages

I have mail relay working properly where my DigOc host (which has many domains on it) is relaying mail through my separate cPanel-based shared hosting plan mail server, logging into a mail account I ...
0
votes
0answers
529 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
2
votes
1answer
193 views

systemd MAILTO-replacement failing

I'm trying to setup systemd to notify me via email if a unit fails, like Cron can be set up to do. I followed the guide on the Arch Linux wiki. So I set-up a sendmail shell script in /usr/local/bin/...
0
votes
1answer
2k 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: ...
6
votes
4answers
11k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating /etc/mail/submit....
0
votes
1answer
19 views

Postfix address remapping

My website contains a form (contact us) that send an email (WordPress via Ninjaforms). I've configured both ninja-form and postfix to send the email from myname@e-levelcom.com However it keeps sending ...
0
votes
0answers
20 views

Delete Files from a folder / Red Hat 5 [duplicate]

I have a red hat 5 machine in which spool directory there are many files .. how many I don't know, perhaps millions .. I wish to delete all of them. However when I give any command related to it ...
4
votes
1answer
88 views

Fedora Linux: I installed sendmail but now I don't get mail notifications when I log in

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? EDIT: I thought ...
3
votes
1answer
34 views

Why is procmail hanging?

I have a goofy sendmail aliases.local file set up to pass emails to procmail. This is a set up that was working on ancient Solaris systems. Now I am running it on a RHEL6 system: # cat /etc/redhat-...
3
votes
1answer
177 views

Native sendmail commands to operate the mail queue?

I'm on a CentOS 7 server that runs sendmail and unfortunately I'm not allowed to install new packages. Postfix tools are not installed; AFAIK the only tool available is mailq, that permits only to see ...
1
vote
2answers
32 views

IPV4 supportive mail function in linux

I'm working on a linux machine where changes are not allowed. But While I use sendmail function I'm getting following error. sendmail: warning: inet_protocols: IPv6 support is disabled: Address ...
2
votes
1answer
71 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
23 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 ...
0
votes
1answer
34 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 ...
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
38 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 ...
0
votes
1answer
50 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 sendmail[...
0
votes
1answer
25 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
27 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
85 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 RHEL6....
0
votes
1answer
42 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
53 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 ...
2
votes
1answer
75 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 '{ system("...
1
vote
1answer
165 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
58 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
31 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; charset=...
2
votes
1answer
797 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 FEATURE(...
1
vote
1answer
4k 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
21 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
35 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
14 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
43 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 mail-...
2
votes
1answer
749 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
40 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
85 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 /etc/...
4
votes
1answer
66 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
119 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
118 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
91 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 sendmail_wait=-...
0
votes
2answers
27 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
35 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
90 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. ...