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

0
votes
0answers
40 views

Impossible to send mail with Oracle Linux

I just installed sendmail on Oracle Linux and with mutt I would like to send an e-mail. In the local system I have the username user1; in the ISP mail account I have the address mailaddress@domain.com....
0
votes
0answers
22 views

Sendmail command freezes when called

I have problem on my Debian 7.5. Since few weeks I have problem with sending mails. Function mail() in php stopped working. Before everything working ok. I tried login on shell and send mail by: mail -...
0
votes
3answers
69 views

How to configure 'at' and 'sendmail' to mail output with Content-Type: text/html

I am upgrading some batch programs to produce html output rather than text. The batch programs are run with the at command, which in turn sends all output to the user using the sendmail command. ...
2
votes
2answers
35 views

Setting up sendmail to receive, but not to send

It seems everywhere I look there are tons of questions about sending mail with sendmail. However I want just the opposite and can not figure out how to configure sendmail properly. I want to set up a ...
0
votes
0answers
27 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
28 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 ...
0
votes
1answer
54 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
72 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
1answer
29 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 ...
3
votes
1answer
35 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
186 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
46 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 ...
0
votes
0answers
32 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 ...
4
votes
1answer
96 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 ...
0
votes
1answer
37 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 ...
-4
votes
1answer
46 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
68 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
28 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
127 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
53 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
64 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
88 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
257 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
1answer
40 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=...
0
votes
2answers
88 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
23 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
43 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
15 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 ...
0
votes
1answer
55 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-...
0
votes
1answer
51 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
91 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" ...
4
votes
1answer
72 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
137 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
137 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
29 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
51 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
2answers
107 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
1answer
174 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 ? 00:...
0
votes
0answers
99 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. ...
1
vote
0answers
65 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 ...
0
votes
2answers
125 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
165 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 -- me@...
0
votes
1answer
574 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 ...
0
votes
1answer
335 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 ...
1
vote
1answer
278 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
94 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
270 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
1answer
94 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. Essentially,...