Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sendmail]

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.

0
votes
1answer
49 views

Mail in spam - spf is set

I'm trying to send mails from my domain tickety.be. I'm using sendmail to do this. My sender is info@tickety.be. My receiver is also info@tickety.be. My application is hosted on my Scaleway server. ...
0
votes
1answer
272 views

Sendmail is periodically sending emails [closed]

The exchange mail server showed that there is a server is sending emails with 17000+ emails in queue. After blocking the server from sending emails, we investigated the outgoing traffic using ...
1
vote
1answer
373 views

Dealing with non-standard SMTP ports with sendmail -t

On my development machine, I have a special kind of SMTP server running on non-standard port which is used for testing purposes. On my virtual machine I'm trying to push a message to that SMTP server ...
0
votes
1answer
68 views

Send specific log with specific pharse to my mail

I want to send specific log which has specific phrase to my mail. For example: ERROR LOG SOMETHING.COM IP XX.XXX.XXX.XXX PORT:2343 Bad XXXXXXX And if upper log has phase SOMETHING.COM, send me this ...
1
vote
1answer
3k views

How can I add an attachment with Sendmail (limited options)?

I am working with a locked-down RHEL box. The goal is to send an email with a file attached. The only mail service available is sendmail (cannnot use sendemail, mail, mailx, mutt, etc.) In ...
1
vote
0answers
475 views

Centos Email Server Unable to Send Email

I have a Centos 5 box. My server is running plesk. Individual domains are able to receive emails on plesk created email accounts. However, my server is not able to send emails. I tried to use php ...
2
votes
2answers
1k views

sendmail with html and file content

I need to send contents of a file in an email and add some html note at the beginning and ending of the file. I have used "sendmail" for the purpose, however when I receive the email I do not see the ...
2
votes
2answers
5k views

Send html format mail stored in variable using sendmail command

Below script works fine in my Linux server. ( echo "From: name@xyz.com"; echo "To: name2@xyz.com"; echo "Subject: Test Subject"; echo "Content-Type: text/html"; echo "MIME-Version: 1.0"; echo ""; ...
-1
votes
1answer
5k views

Sendmail error dsn=4.0.0 stat=Deferred: Connection refused by [127.0.0.1]

I am at a loss to what is causing my issue but when trying to send a mail from my server i see this in my maillog: Oct 16 12:11:19 MYSERVER sendmail[63109]: v9GBBJxD063109: to=myemail@address.com,...
0
votes
2answers
113 views

Sendmail compatibility interface

Postfix (and lots of other stuff) claim they offer sendmail compatible interface. Since I want to write my own sendmail implementation, I was wondering what that actually means. Is there anything RFC-...
0
votes
0answers
266 views

fetchmail sendmail: domain of sender address doesn't resolve

Lately, whenever my laptop changes wifi networks (even just among those I've used before), I find I cannot fetch my emails with fetchmail. I receive errors like the following, for ALL inbound emails: ...
1
vote
0answers
65 views

How to process each interface differently on a mail server

I am running number of web servers on google cloud platform. Google cloud bans port 25 to prevent spam, so to receive mails I use different server which forwards all mail to a google server on a ...
5
votes
3answers
2k views

How to send raw mail message on Linux?

If I have the full contents of a MIME message, what is the best utility on Linux to send the message? The MIME message would include the full headers and mail body, for example: Received: (qmail ...
2
votes
0answers
233 views

suddenly mail is stop working for linode [closed]

Sendmail has stopped sending mail suddenly on my Ubuntu machine. /etc/init.d/sendmail status MSP: is run via cron (20m) MTA: 5425 /usr/sbin/sendmail-mta -Am -L sm-mta -bd -q10m UID PID PPID ...
1
vote
2answers
1k views

Disable sendmail component sendmail_submit queue on FreeBSD 11.0

I have installed freebsd 11.0 using the image and disabled the sendmail on the installation utility. Still, it is getting started in the init sequence and login takes times. I have also tried ...
1
vote
0answers
439 views

Send mails on Ubuntu 16.04 - Failed to authenticate on SMTP server with username using 3 possible authenticators

I'm trying to send mails on my ubuntu server (from gmail). I have the Starter Cloud package from Scaleway. I have installed sendmail on my ubuntu server with the following tutorial. In my Laravel ...
0
votes
1answer
606 views

How to send mails with given bcc field with swaks?

How do I send a mail thanks to swaks with BCC recipients?
2
votes
1answer
1k views

“send-mail: Applet not found” when using mail command on alpine linux

I am using alpine linux running in a docker container to run a webapp. The webapp is supposed to send emails using the mail command from the command line. To support this, I have installed mail as ...
2
votes
1answer
616 views

How to convert a colored file to mail readable in bash?

I have a file which was created by a script which will be colored when I open using cat. But when I tried to send that file as attachment, it is not showing properly. Like below it is showing. ^[[33m=...
0
votes
1answer
434 views

Is it possible to track mails sent?

I am sending mails to many persons through a shell script. I just want to track the mail and collect some information like time difference between sent mail and acknowdgement mail and process the data ...
2
votes
1answer
1k views

Concatenating script output in mail body and send it as one email?

I want to concatenate all the output that I receive from the script and send it via single email. This is what I've tried but it ended spamming my inbox. :) for f in $(ls "/vz/root") ;do if ...
0
votes
1answer
420 views

Sendmail through smarthost on non-standard port

I'm trying to get my sendmail server to send mail through GoDaddy as a smarthost. I confirmed that I can telnet to smtpout.secureserver.net on port 3535 and their SMTP responds properly. But my ...
2
votes
1answer
471 views

Add the user's signature on MTA (sendmail) instead of on the MUA

In a scenario on which we have a local network with Outlook/Thunderbird clients and sendmail on a Linux server: it is possible to use some sendmail's milter to modify the incoming mail to add the ...
1
vote
0answers
59 views

How do I set up mail.log in PHP?

I'm trying to set up mail.log in PHP. I updated php.ini's mail.log setting on the server: ; Log all mail() calls including the full path of the script, line #, to address and headers mail.log = "/var/...
0
votes
0answers
71 views

An alternative solution for sendmail problem

I use sendmail on solaris I want a secure configuration so i use TLS 1.2 and RunAsUser configured with user smmsp. Permission are correct and tls works fine. But when i run email give me this error ...
1
vote
1answer
589 views

Can't send mail via sendmail

I'm trying send mail via sendmail, but mail is not received. Here is the command: /bin/cat /scripts/zabbix/test.txt | mail -v -s "Blocked IPs" example@example.com Here is the output example@example....
0
votes
1answer
212 views

Sendmail 8.14.4 on CentOS 6.8 tcpwrappers problem

I am running a sendmail server on CentOS 6.8. For MTA connections on port25 I want to use tcpwrappers to reject host with no PTR DNS record. so my hosts.allow looks like : sendmail: ALL EXCEPT ...
0
votes
1answer
1k views

Auth error when sending mail through Postfix with SSMTP

I'm trying to send mail from server A running SSMTP via a server B running Postfix. The Postfix server is running just fine and has been in production for a while without any problems. It runs Postfix ...
0
votes
1answer
1k views

Delivery error File too large messag file too big

I have a smarthost with Getmail+Postfix+Dovecot. And i am receiving from some user accounts at my remote mail server this message when i am downloading to my smarthost: Delivery error (command ...
1
vote
2answers
5k views

How to send mail with multiple attachments?

I need to read list of files from another file and attach them together and send mail. e.g. filenames.txt has: /path/file1 /path/file2 /path/file3 /path/file4 Command or script should read from ...
2
votes
2answers
2k views

root sending several emails a minute — can't find out why and who's doing it

I can't seem to figure out why root is sending out several emails every minute. I would like it to stop because I am making out my ability to send emails every 24 hours (over 5k a day). First thing I ...
2
votes
1answer
573 views

adding a regexp filter to block a subdomain and TLD in sendmail

Running Sendmail Version 8.15.2 on Fedora 24 and lots of spam is coming in from (subdomain).(manydomains).us. I'd like to add a filter like what's available in the access file to block and .us TLD's ...
0
votes
2answers
650 views

Mail failed to send 550 unknown host

Trying to send mail from my centOS 7 server but they are failing. Below is an extract from the mail with what i think is the cause but im not sure how to fix. I believe i have the correct setup in ...
0
votes
1answer
813 views

Piping cat to sendmail not respecting new lines

I have a script which runs a few sanity checks, outputs the results to a file which is then concatenated and piped to a sendmail function as so: { echo "$headers"; echo; cat health_check.log; } | ...
0
votes
1answer
11k views

How to configure sendmail to listen to ports 25 and 587?

The provided sendmail.mc file is used to enable ports 587/submission and/or 465/smtps. The problem is that enabling either one disables port 25/smtp. I only have one server and would like to use it ...
0
votes
1answer
51 views

How to unmask High Volume sender (Dovecot and Sendmail on Red Hat Linux)

Recently one of my boxes started to send high volume of mail which in return has spiked my load percentage on my Linux box. I have SPLUNK tied to my box which catches everything the box reads/writes. ...
3
votes
1answer
3k views

CentOS 6 stuck at starting service (sendmail) & cannot login

I've got a CentOS 6 server that's not starting up. If I press ESC during the splash screen I can see it's getting as far as 'Starting sendmail: _'. Leaving it for 15+ minutes and it's still there. ...
1
vote
1answer
2k views

Msmtp does not understand `/etc/aliases`

I have configured my Debian server to use msmtp for sending mails. Current use case are for example sending a daily report from logwatch to my isp email. echo "$body" | mutt -s "$topic" -- "myisp@...
0
votes
1answer
969 views

Saved message in /usr/rp//dead.letter when sending e-mail on CentOS

We just changed a server from RHEL to CentOS. We have some scripts which run some reports and e-mail them. The part that does the e-mailing is below. function email_report { ( echo "Report ...
0
votes
1answer
264 views

Sending mail using Sendmail : DSesmtp setting

Need some clarification on Mail Settings. We are managing around hundreds of applications. These applications runs on Linux based hosts and used to send mails to users based on user registration at ...
0
votes
1answer
1k views

sending alerts from linux machine through email to MS outlook exchange

I Have a Scenario. I have written a shell script who check the space of mount point '/u06'. if free space is greater then 20% then its OK or if free space is less then 20% then it should generate a ...
0
votes
1answer
344 views

HP-UX redirect all mails to a single mail id

I want to redirect all mails which are being send from my system to a single mail id. For example, if I use following command from my system echo "This is going to be body of the mail - server" |...
1
vote
1answer
938 views

SendEmail having issues, any alternatives?

As opposed to writing something else, I'm looking for an alternative to sendemail or maybe even some help with trying to fix the issues I'm experiencing. I've always used sendemail with absolutely no ...
1
vote
0answers
64 views

How to output detail message about 5.x.x error on Sendmail

I'm using Sendmail Version 8.14.4 on Centos 6.3. sendmail.cf of the Sendmail is left default of CentOS. Sendmail does not output detail response message like below. Aug 8 21:44:44 localhost ...
0
votes
1answer
129 views

Migration of Sendmail from RHEL 3 to RHEL 6

We have a upcoming task of Migrating our Production mail server to a new environment. Mail Server is sendmail and OS is RHEL 3. sendmail-cf-8.12.11-4.RHEL3.4 We are planning to migrate on ...
0
votes
1answer
927 views

Hetzner sendmail problem “return to sender: User unknown” [closed]

for some reason my sendmail is not able to send mails from my virtual server at Hetzner via sendmail. In my /etc/mail/aliases config look like: mailer-daemon: postmaster postmaster: root nobody: ...
1
vote
1answer
207 views

How make sendmail not relay (under certain conditions)

I have sendmail configured to relay emails to another service for delivery. However, in my personal e-mail I want to send directly without using the relay. How can I override the relay settings? I ...
0
votes
0answers
1k 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
3answers
800 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
415 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 ...