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
19 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
33 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
25 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
43 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
35 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
30 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
27 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
57 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
64 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
35 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
7 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 ...
0
votes
3answers
183 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
554 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
464 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
60 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
536 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
78 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
58 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
123 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
144 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
450 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
201 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
56 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
269 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
397 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
286 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
48 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
183 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
513 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
44 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
62 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
33 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
0answers
346 views

How to setup nullmailer on CentOS 7.5?

We have an external smtp server that we usually use alongside with a nullmailer on a Debian server to send emails. Nullmailer is small, simple and works. Unfortunately, It is not available as an rpm ...
0
votes
3answers
872 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
448 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
1k 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
154 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
4k 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
371 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 ...
0
votes
1answer
325 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
633 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
76 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
639 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 ...
0
votes
2answers
2k views

Send mail with an attachment and body of mail with table format

I need to send a mail with an attachment and body of mail in table format.I have used the below code to send mail. but unable to attache file. (echo "From: "; echo "Subject: testing of table ...
4
votes
1answer
1k views

Can I read /var/mail with a GUI?

I can set up local-only mail accounts using sendmail or postfix, and messages will be stored in /var/mail/USERNAME and readable in a terminal window using mutt. I tried setting up a couple of MUA ...
0
votes
1answer
902 views

configure sendmail for php email()

Recently I installed sendmail in Ubuntu sudo apt install sendmail sudo sendmailconfig When I try to send mail using php email(); function to send email $to = "myemail@gmail.com"; $subject = "Mail ...
-2
votes
1answer
68 views

Domain doesn't exist message

I'm Trying to send mail from my RedHat 5.9 machine. so a command look like this: echo "Test mail" | mail -s "test" tgc-olga@technion.ac.il will end up me getting an error mail look like this: > ...
0
votes
1answer
4k views

Sending mail with sendmail and attachment

This is how I try to send, email with sendmail command. With html file in body and attached zip file. The mail received is corrupted (without body and with corrupted attachment) . ( echo "From: ...
0
votes
2answers
295 views

How to configure Simple Event Correlator (SEC) to send info about mail delivery failure

My log file contains the following 3 log entries: 2017-11-16 15:50:45 1eFLV7-0003so-Cd <= <> R=1eFLV7-0003sZ-4v U=Debian-exim P=local S=1853 T="Mail delivery failed: returning message to ...
0
votes
1answer
48 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. ...