The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
-5
votes
0answers
21 views

How to install SMTP in my CentOS? [duplicate]

How to install SMTP in my CentOS? When systemctl start iptables running then i get following. how to allow iptables and at the same time yum ? # yum info sendmail Failed to set locale, defaulting to ...
1
vote
0answers
24 views

Unknown keyword `smtp-auth' when using --set=smtp-auth=login

I use a bash script to make some process, then send me a mail report. This works fine when I use a local postfix configuration, but this not works with smtp auth and I got the error «smtp-auth unknown»...
0
votes
1answer
78 views

Sending Output of Script By mail

I have a script to Monitor servers in Production , and I want to receive the result of this script execution every 2 hours by mail , how can I do this ? someone has an example ? this is my Script: ...
0
votes
0answers
54 views

Sendmail Bash Shell Script Help

I am new to SysAdmin (in Redhat) and need to correct a non-functioning shell script. The .sh file was originally running on a Solaris Unix system. There is an associated CRON job which launches the ...
1
vote
0answers
33 views

Raspian - emails won't send in postfix

Context: I'm working with my raspberry pie in my local private network. I just want to be able to let cron send me emails, but instead I get this following error from sending my last email. To see ...
0
votes
0answers
85 views

Is there any way to send the html mail in email body and a csv file as an attachment in linux

Please see my below snippet, it is ignoring the attachment, only displaying the HTML content in the email body. I want to attach CSV file with it. Thanks in advance!! awk -F ',' ' BEGIN { ...
0
votes
1answer
303 views

mail: Can't send message: process exited with a non-zero status

Any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this? sudo apt-get update sudo ...
0
votes
0answers
13 views

Sendmail Hostname error

We recently changed hostname on our Fedora server to xyz and Sendmail logs report like: July 08 00:06:36 xyz sendmail[20506]: That's fine. But we changed the hostname back to abc but the sendmail ...
0
votes
1answer
36 views

Postfix send e-mail on behalf of G Suite

I have a domain registered on G Suite and I'm building a app that needs to send Transactional email such as password recovery and email verifies. The smtp for gmail has a low quota for that. I need to ...
1
vote
0answers
42 views

sendmail -v email@email.com returns killed when root

For some reason some of my Solaris 10 systems won't send mail as root. If I try to send a test email as a non root user using sendmail -v I get a nice long list of details ending in success. If I ...
1
vote
1answer
130 views

NOQUEUE: SYSERR(www-data): can not chdir(/var/spool/mqueue-client/): Permission denied

Here's the folder: drwxrws--- 2 smmsp smmsp 4096 May 25 22:47 mqueue-client/ So I did this... usermod -a -G smmsp www-data # groups www-data www-data : www-data smmsp But I still get this error ...
0
votes
2answers
309 views

Sendmail “Message accepted for delivery” but doesn't make it “Deferred: Connection timed out”

I'm trying to get sendmail working. Sending an email to myself, it appears the email is delivered... May 24 06:55:13 texascoders sendmail[29544]: x4O6tDOL029544: to=, ctladdr=root@texascoders.com ...
1
vote
1answer
41 views

Is it possible for sendmail to not use all the output from a bash subshell piped to it?

( GNU bash, version 4.2.50(1)-release (powerpc-ibm-aix6.1.2.0)) ( echo "a" echo "b" echo "c" )| sendmail -F "Sender" recipients@a.com This runs inside a .sh file, and the log (when ran with the -x ...
0
votes
1answer
40 views

Logging all crontab output using MAILTO

I've been trying to get all cron job outputs to a file (not email). The alias is set in /etc/aliases. logthecron: "|cronlog.sh" And in crontab MAILTO=logthecron. The cronlog.sh file writes to ...
0
votes
1answer
366 views

Sendmail issue with “localhost.localdomain”

I have a DigitalOcean server which runs Ubuntu 14.04. I am having problems with sending emails from the PHP mail() function (which uses sendmail internally). I think the issue may be related to my ...
0
votes
0answers
134 views

sending email attachment with sendmail command

email() { sendmail -t <<EOF To: xyz@gmail.com Cc: xyz@gmail.com Subject: This is test email Content-Type: text/html Attachment: file1.html <html><font size="3">Hi Team,<br> &...
0
votes
0answers
152 views

Sending mail does not work from my Centos 7 server

In my java application I have a module that allows to send mails application.yml: ... mail: host: smtp.gmail.com port: 587 username: xxxxxx@gmail.com #Replace this field ...
0
votes
1answer
129 views

sendmail default sender

I have a lot of servers, let's say our company network is called Loosers, when using this command echo "Subject: testmail $(hostname)" | sendmail -v 'myemail@mycompany.com' I effectively receive an ...
0
votes
0answers
10 views

Milter for Sendmail not sending data over socket - very little documentation, any ideas?

I have configured Milter for sendmail on a virtual machine. I can send an email in my test environment, it is currently accepted by Sendmail and relayed to my exchange server (including when I enable ...
1
vote
3answers
391 views

Understanding sendmail binary

I have a website with some PHP based CMS on which I'm the only user. This website has a simple contact form (name, email, phone and body) by which I get mail from non registered users. One the one ...
0
votes
0answers
911 views

Send Mail HTML Table body & Attachment Text file

I am try to send a mail with HTML table by reading data from a text file. The table is getting formatted properly and can be seen in mail body but i also want the same text file to be send in same ...
1
vote
1answer
877 views

Linux Mailx is creating a dead.letter and not sending email [closed]

I am having issues with sending emails from my Redhat6 linux server. Each type of mailing command sendmail/mailx creates a dead.letter in the users home directory. Examples of how I am sending ...
1
vote
1answer
98 views

Sendmail migration: Replicating all incoming mails to another mailserver

I am migrating a mailserver running sendmail 8.14.3 to a postfix server. The MDA on the new server is Dovecot. In order to ensure a seamless transition, it would be best if incoming mails are ...
0
votes
2answers
989 views

Sending mail with attachment(image) using sendmail in Linux(ksh)

I am trying to send a mail with below command. I am sending this command from sqr to the command line, which is working fine. $FilePath_mail have To,From and other information along with mail body ...
0
votes
2answers
158 views

Sendmail to filter custom header

we have mail server which relays mails which has only internal domains( lets say @osp.com, @asp.com) to external world via following configuraiton in my mailertable configuration of sendmail . Any ...
0
votes
1answer
66 views

Error sending e-mail to internal domains hosted on linux server using sendmail

I currently have sendmail configured on a web server, and only need to send emails for newsletters, contact forms, notifications, any e-mail address using a domain hosted on the server fails to send. ...
1
vote
0answers
173 views

Sendmail authinfo for multiple users on the same relay?

I'm attempting to set up sendmail to use the mailgun smtp relay for some email invoices our company sends out. However, these are originating from a handful of different domains and when I try to set ...
2
votes
2answers
190 views

Sending attachments with GNU mail to @kindle.com

Background: I'm trying to set up a server to regularly pull RSS feeds, package them up in a mobi-ebook and send them to my kindle. Problem: If I configure the server to send to my @kindle.com email ...
1
vote
3answers
747 views

How is sendmail SMTP authentication logging controlled?

I get a ton of failed SMTP login attempts. I'd really like to defend against it, but the logging of those attempts is poor. I'm using sendmail 8.15, cyrus-sasl 2.1.26. The SASL setup is the simplest ...
0
votes
1answer
306 views

Sendmail queueing and not sending local mail promptly

OS: 2.6.32-696.23.1.el6.x86_64 (Centos 6) Sendmail: 8.14.4 sendmail will receive mail for local users from outside users but queue it and not deliver it promptly but in spurts; sample receipt line: ...
1
vote
0answers
64 views

Mailman auto-unsubscribe by bounce while all mail ids are valid in the list

I am working on Mailman version 2.1.12-14.el6.x86_64 and sendmail that came inbuilt with RHEL 6.0. My mailman does not directly send mails to the destined domains. It relays to another appliance ...
1
vote
0answers
374 views

sendmail relay problem

I have two hosts one of which can send emails to my address, while other can not. I am trying to figure how to make the other host send the mesg to first host so that the first host can send that mesg ...
2
votes
1answer
556 views

Make sendmail not log “did not issue MAIL/EXPN/VRFY/ETRN” messages?

We have sendmail servers behind an F5 load balancer. The load balancer is constantly opening/closing a connection to each mail server to see if it is answering. This means our syslog files are ...
0
votes
0answers
421 views

usr/lib/sendmail doesn't work

On one of our company server, suddenly /usr/lib/sendmail stopped working. We have a call to it in few scripts (owned and ran by oracle user) and none of them is able to send an email out, even ...
2
votes
0answers
56 views

How to configure sendmail so emails can be accepted by Gmail?

The server has two network interfaces: eth0 with direct IP = xxx.xx.xx.18 connected to provider, and eth1 with another direct IP = xxx.xx.xx.25 DNS for the zone is configured correctly and it ...
0
votes
3answers
227 views

How to add subject line in Sendmail

I get an email when I receive SMS in chan dongle. I want to add subject that email. I use PBX in Flash, Asterisk version 13.22. Number 1 - I get email. Number 2 - I don't get any mail. (1) exten =...
1
vote
1answer
832 views

How to block sending mails?

I want to block specific user from sending emails. I tried doing these things which did not help: Commented user in /etc/passwd Wrote passwd -l user and restarted sendmail service. User can't ...
0
votes
3answers
50 views

How to have trailing zero in CSV

The following is the sample csv file: 12354506.0,4 13129229.0,4 815612,5 7624107.0,5 6056548.0,5 The trailing zero in the first column is formatted to hole number on CSV VIEWER. Is there any option ...
1
vote
1answer
78 views

What is the standard interface used by linux system programs to send notification mail?

My mail needs are simple. I only want to send system notifications via a non-SMTP hook. (The hook sends out to a mailgun account over https). I imagine all linux programs (e.g. cron) calling ...
0
votes
1answer
35 views

Is there a Linux package on Ubuntu that offers a sendmail tool which can forward the message with SMTP or fallback to a file when SMTP fails?

I'm wondering whether there is a sendmail tool that would allow me to send emails without all the overhead we see in servers like Postfix. I use Postfix already, so I know how to set it up and all. ...
0
votes
3answers
1k views

How to send mail from Linux with To, From, Subject, and File Attachment

I need to be able to send mail from a bash script with the following: To Address, From Address, Subject, Body Text, and File Attachment I can send everything just perfectly using mutt EXCEPT, no ...
0
votes
1answer
611 views

Sendmail Has Stopped Working

I have multiple CentOS servers which all have sendmail setup with the masquerade_domain option. Our email server is Gmail; thus, each of these servers send mail to our domain on Gmail. I have ...
1
vote
1answer
2k views

Send an image in the body of the mail using any of the mail utilities in Linux

I am trying to send an email from Linux server, I want to send an image, not as an attachment, that should be displayed in the message body. I tried. mailx -s "TEST mail" <MASKED>@mask.com <...
0
votes
1answer
165 views

Fedora 28 - Sendmail 8.15 - Not accepting local connections

Ok my brain is about to explode I have been working on this issue for over a week now. I did an implace upgrade on my fc26 to fc28 which didn't go the best. So I decided to build a new fc28 fresh box. ...
0
votes
2answers
6k views

how to send a mail with attachment using sendmail command in unix

This is how I try to send, email with sendmail command. echo "Dear user, please find the attached file. Thanks, Support team " | mailx -s "x12 extract for 837 transaction" -a $LogFilePath/file.csv $...
3
votes
1answer
445 views

Unattended upgrades won’t use mailx when run by Systemd

I have setup unattended-upgrades on servers running Raspbian (Raspbian GNU/Linux 9.4 (stretch)). Version of Unattended-upgrades: 0.93.1+nmu1 Updates work, but I am having problems with the email ...
1
vote
1answer
403 views

What is the s modifier in DAEMON_OPTIONS?

I have been reading on how to configure sendmail as a smtps server. I have a personal rule through that I never enter anything into a configuration file unless I understand what it does. While for ...
-2
votes
1answer
693 views

Can’t send email – postfix/sendmail error referring to command line

I have a PHP script under a Wordpress theme sending emails using the mail() function.  I have postfix, dovecot and sendmail installed on the server. Mails are not being sent from that script.  After ...
1
vote
0answers
79 views

Cannot find alternative to sendmail on Windows

On Windows, I used XAMPP, PHP, and Sendmail to be able to send an email from a specific gmail account to another. LAMPP on Linux does not come with Sendmail, so I tried installing it and linking it, ...
0
votes
0answers
708 views

Multiple html files in message body-mailx

I'm using pandas to get csv to html #!/usr/bin/python import pandas as pd import sys import json sys.stdout = open('output.html','wt') df = pd.read_csv('users.csv') print(df.to_html()) For another ...