Questions tagged [sendmail]

Sendmail is a free and open-source mail transfer agent (MTA), originally created in the 1980s. It is primarily used on Unix-like operating systems to deliver and transfer mail.

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
3k views

Sending Emails within a Docker Container

Hello I'm trying to run the following command in my container mail -s "This is Subject" [email protected] < /path/to/file How should my dockerfile look so the above command can be executed ? I ...
Montassar Dridi's user avatar
3 votes
0 answers
2k views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
Orlo's user avatar
  • 263
2 votes
1 answer
5k views

Getting connection timeout when using sendmail

I’m using CentOS (basically): $ uname -a Linux sandbox.my-domain.com 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux and trying to send email using ...
Dave's user avatar
  • 71
2 votes
0 answers
1k views

Set the from address on emails from cron/Set default from address for sendmail

As a normal user I can send email, either from the commandline or from PHP. But when a cron job has error output, sending of that email fails (I have a [email protected] at the top of the crontab)....
Darren Cook's user avatar
1 vote
0 answers
253 views

XAMPP sendmail issue

I have the following configuration setup in XAMPP: In php.ini: [mail function] SMTP=smtp.gmail.com smtp_port=587 sendmail_from = *******@gmail.com sendmail_path = "\"D:\xampp\sendmail\sendmail....
Abhik Bhattacharjee's user avatar
1 vote
0 answers
791 views

Could not send email with password reset using SendGrid with Django on PythonAnywhere

Could someone point me in the right direction on how the password reset, that is built-in with Django admin, is going to send an email for the password reset. I am using the following: PythonAnywhere ...
mike26's user avatar
  • 11
1 vote
1 answer
1k views

Postfix pipe emails to certain email accounts only

I have configured postfix to run a script when email is received. The script gets tirggered whenever email is received on postfix. However the problem is that it is being triggered on all the email ...
Hammad's user avatar
  • 111
1 vote
0 answers
94 views

sendmail with input file not working

I cannot make sendmail work with an input file. This works fine: echo "Subject: sendmail test" | sendmail -v [email protected] However, if I have file: To: [email protected] Subject: sendmail test two ...
noobz's user avatar
  • 11
1 vote
0 answers
936 views

Linux mail server and Outlook configuration

I have a linux box where I am hosting my own internal mail serverusing sendmail. I used to send mails to a abc user in the mail server from my windows outlook using abc@mail keyword in the To field ...
yonikawa's user avatar
  • 123
1 vote
1 answer
89 views

Does installing Sendmail(using apt install) allow my computer to act as an email server?

I am new to networking and have installed sendmail to allow me to send mail via mutt. I wanted to know if by doing this I have allowed my computer to act as an email server, or if the sendmail ...
Rollelaw's user avatar
1 vote
0 answers
307 views

sendmail stops sending emails after sometime

I've a fresh install of CentOS 7 (followed this guide on howtoforge https://www.howtoforge.com/perfect-server-centos-7-apache2-mysql-php-pureftpd-postfix-dovecot-and-ispconfig3 ) and it has sendmail. ...
Ergec's user avatar
  • 121
1 vote
1 answer
2k views

Edit sendmail /etc/aliases not working

I'm using sendmail to send the server (centos 7) root system mails in a external gmail account, but the amount of mails i get is massive, but only a few are actually needed. In this particular case i ...
Douglas Cardona's user avatar
1 vote
0 answers
609 views

My mail server seems to be sending out spam and I am trying to find the cause

I have a mail server hosted with amazon aws. I setup the server on Ubuntu 14.04 with postfix & dovecot. I keep getting emails from mail delivery system saying mails are returned to sender that I ...
Jinxzy's user avatar
  • 11
1 vote
1 answer
3k views

Configure postfix to deliver mail to particular directory

I want to setup postfix so that any outbound mails to [email protected] are stored locally in to /apps/mails directory and each mail should have file name in YYYY-mm-dd hh.mm.ss.eml Format. Please ...
KumarJohn's user avatar
  • 417
1 vote
0 answers
387 views

Configure Sendmail as Secondary/Anonymous SMTP Solution

I have a scenario where I want to allow my clients a secondary SMTP service, e.g. they are hosted on SERVER1 and using the same server as a primary mail server, Now I want to allow them to use the ...
Alyas's user avatar
  • 111
1 vote
0 answers
491 views

How to use DNS alias as sender address for sendmail

I have the following setup: My Ubuntu (14.04) server gets a host name from DHCP (real.host.de) and there is a DNS alias (alias.host.de) that points to this host name. Now I want to configure ...
fyaa's user avatar
  • 111
1 vote
0 answers
2k views

How do you disable AUTH in sendmail?

I'd like to entirely disable AUTH on my home server's sendmail on Fedora 21, mostly because the constant fail2ban Emails are annoying, coming from constant CRAM-MD5 brute force attempts to get my ...
Eddie's user avatar
  • 223
1 vote
0 answers
446 views

sendmail: move deferred, timed out mails to the end of the queue

In some cases, a mail isn't sent successfully and remains in front of the queue for some reasons. Say: $ mailq /var/spool/mqueue/q6 (1 request) -----Q-ID----- --Size-- -----Q-Time----- -------...
Jeon's user avatar
  • 183
1 vote
0 answers
431 views

bad text alignment with sendmail

I'm trying to send a mail and in the text of the mail put like these: xxxxx yyyyy zzzzz ----- ----- ----- 2424 324 23432 I send the email with sendmail but it shows me: xxxxx ...
user650034's user avatar
1 vote
0 answers
81 views

Use a custom sendmail binary in Thunderbird

I would like to add an option to "Outgoing Server" that uses a custom local sendmail binary (in my case for notbit) like it is possible in Evoution: Is there such an option in Thunderbird? (german ...
rubo77's user avatar
  • 4,920
1 vote
0 answers
1k views

Sendmail local domain relay

Sendmail on webserver.mydomain.com is sending all emails properly except email addressed to [email protected]. mydomain.com's mail is not handled locally and mx records are configured to point to ...
Eaten by a Grue's user avatar
1 vote
0 answers
463 views

Ubuntu sendmail relay with username and password

I have a Ubuntu server which I want to setup a mail server on. Now, I've heard that sendmail is the only mail server that supports a relay server. Why I need a relay server is because my Ubuntu Server ...
Sven's user avatar
  • 153
1 vote
1 answer
3k views

How to stop 'You have mail' message in linux.

I have sendmail installed. nothing else. i just logged into my server via SSH and typed.. service httpd restart Stopping httpd: [ OK ] Starting httpd: ...
user avatar
1 vote
0 answers
457 views

Sendmail not working on ubuntu guest - unqualified host name

I have a win7 host running ubuntu guest through vbox. it is configured with a bridged network adapter and I am using DHCP to assign an ip of 192.168.0.5 which is mapped to smartstart.dev in my windows ...
SwiftD's user avatar
  • 528
1 vote
0 answers
996 views

Send Mail not working properly on Ubuntu server 10.04

I am trying to send a test email from ubuntu server 10.04 using the sendmail service. Below is the command. cat /var/gs/livecron/design.txt | mail -s "Cron Job Duration Notification" sangramsanand@...
Sangram Anand's user avatar
0 votes
0 answers
34 views

Sendmail: Only allow specified hosts to send and from one specified domain

I am trying to configure sendmail to only allow sending from specific hosts but in addition I want to only allow mail from specific domain.. Sending from any other domain would be blocked. I have ...
Mumblestiltskin's user avatar
0 votes
0 answers
67 views

Gmail Server not accescepting mails form sendmail

I am tring to send email using sendmail app via aws SES system. The outlook server easly accepts the email request but gmail server dosen't. can someone help me with wrong in this. Thnakyou. here are ...
Rahul Gupta's user avatar
0 votes
0 answers
24 views

Postfix delivers messages locally despite configuration for discovering external agent

A small node operates several web applications attached to a domain. The same domain is used for mailboxes, hosted off site by a commercial service. On the name server operated by the registrar, A, ...
brainchild's user avatar
0 votes
0 answers
132 views

Change mail from header in sendmail

We have two separate RTs (request trackers) configured on one server. They both are configured to send the emails through sendmail. We are trying to configure now SPF and DMARC records for these DNS ...
Julia Mala's user avatar
0 votes
0 answers
116 views

Forward outgoing mails to another port on home PC then to VPS and send it through VPS port 25

Hi I recently noticed it seemed my home ISP had banned me from sending through port 25 (I could send mails when my mail server just launched though). I tried to telnet to services like smtp.gmail.com ...
cyvb's user avatar
  • 1
0 votes
1 answer
197 views

Sendmail/roundcube delivery issues only through command line to external email

I have been playing with this issue that was discovered initially when people were unable to use the vacation feature in roundcube, it would provide a 554 5.7.1 *@gmail.com: Relay access denied 554 5....
Zero_Cool09's user avatar
0 votes
0 answers
147 views

Is there a way to disable sendmail bounce notification?

Is there a way to disable bounces in /usr/sbin/sendmail? What i mean by bounces, when you send an email that can't be delivered (for example the To: address is invalid) sendmail will send a bounce ...
Private_Citizen's user avatar
0 votes
0 answers
553 views

Unable to telnet to 127.0.0.1 (local Linux VM) to test SMTP port 25

I have the latest Kali Linux running on Hyper-V as a VM: Sendmail is installed (testing email server) Domain name purchased, say AlphaMoon.org with MX record pointing to my ISP IP address Netstat ...
Doug's user avatar
  • 1
0 votes
0 answers
238 views

Send an HTML file using Sendmail from Linux server

I tried to use this command but it doesn't work from my server. Any suggestion for this case. ( echo "From: ${from}"; echo "To: ${to}"; echo "Subject: ${subject}"; echo &...
Hamza ZD's user avatar
0 votes
1 answer
2k views

Can I use sendmail instead of mailx in unattended-upgrades?

I've configured unattended-upgrades for apt to upgrade automatically and setup sendmail with a gmail account I made for it. Now I want unattended-upgrades to use sendmail to send me an email with the ...
douira's user avatar
  • 131
0 votes
0 answers
456 views

Mail is not working on debian server - Outgoing SMTP "Connection timed out"

I have Debian 8 VPS and websites running on PHP 5.6, using Cloudflare DNS servers. I tried to install sendmail and postfix, but sending mails is not working, even through the CLI. I can see syslog I ...
TheUnreal's user avatar
  • 147
0 votes
1 answer
41 views

ending txt contents in csv file by placing values in column format

I would like to get help on sending below txt contents in csv file by placing values in column format DEV-C axpp4-pkrisbtm 04-25-2018-01.15 04-25-2018-01.20 UAT AXKIN-PBBCT4 04-25-2018-22.02 04-25-...
khuharshree's user avatar
0 votes
1 answer
1k views

Sending email from LAN PCs to local email server

I'll start with saying: I'm not sure what exactly I need. I googled for "sendmail LAN" and variants, and it seems I need a "null client" setup. So that is my assumption, not my requirement (hence the ...
ciuly's user avatar
  • 315
0 votes
0 answers
2k views

sendmail dead but subsys locked

An Oracle 6.8 server cannot send mail. The service status is like this: [root@myserver]# service sendmail status sendmail dead but subsys locked sm-client (pid 349376) is running... I ...
Jo Shepherd's user avatar
0 votes
1 answer
630 views

I am not receiving the email when I try to send using Perl (MIME::Lite)

#!/usr/bin/perl use MIME::Lite; my $to = '[email protected]'; my $from = '[email protected]'; my $subject = "Eventful"; my $message = " Hi - Test email"; $msg = MIME::Lite->new( ...
Pankaj Kumar's user avatar
0 votes
1 answer
2k views

Sending mail from outlook to linux machine

I am not sure if this is feasible. But, using sendmail or mutt or mail command, I am able to send mail from linux machine to a outlook server. Whether the vice versa case is possible ? If yes how ? ...
Dinesh's user avatar
  • 999
0 votes
0 answers
202 views

Disable Sendmail from rescue mode CentOS 6 Virtual Server

Hello we rent a virtual server of 1and1 CentOS 6 with Parallels Plesk Panel 12 (64-bit) they have put it into rescue mode as it was "found to be part of a network of compromised machines leading a ...
Dizzy Bryan High's user avatar
0 votes
1 answer
1k views

how can I view the Delivery status notification in sendmail?

I'm using a script to send newsletters via sendmail so, I want to access to Delivery status notification in case the mail failed, is there a command to list the content of DSN?
abdo's user avatar
  • 1
0 votes
0 answers
958 views

Migrate emails to new server but prevent Outlook from re-downloading them

I have a sendmail server that is nearing end-of-life. I need to move all email accounts to a new server (postfix), but I don't want Outlook users to re-download all their existing messages after the ...
Ryan Griggs's user avatar
0 votes
1 answer
845 views

sendmail relay refusing to use @outlook.com forward

I use my own sendmail box which has been forward email to a gmail address for a while. Decided to switch to an outlook.com address and configured the sendmail server (via virtusertable table) to ...
jyavenard's user avatar
  • 125
0 votes
0 answers
72 views

hostname -f shows reverse DNS twice

On a Debian 4.7.2-5, I got some problems sending mail correctly with sendmail. It appears that ELHO sender is different from domain name. When I ask machine for its hostname FQDN : hostname -f I got ...
nbonniot's user avatar
  • 103
0 votes
1 answer
374 views

Outlook: Switched from POP to IMAP. Mail doesn't send from OUTBOX when From address doesn't match default IMAP folder

I wanted to start using IMAP for all my emails, that i am currently accessing using POP. There are about 10 different email address that i previously had all going to 1 PST file. Creating new IMAP ...
user1161137's user avatar
0 votes
0 answers
161 views

why did sendmail generate this mail?

Today I received this strange mail generated by sendmail to one of the recipients from the aliases file. it is the first time we get this From [email protected] Mon Feb 2 11:35:15 2015 Received: ...
user2653557's user avatar
0 votes
0 answers
674 views

macosx: How to unblock SMTP port?

In /var/log/mail.log I see runs of time-out errors in quick succession, like this Dec 13 15:50:31 myserver postfix/smtp[2911]: connect to alt2.gmail-smtp-in.l.google.com[74.125.138.26]:25: Operation ...
kjo's user avatar
  • 1,241
0 votes
1 answer
3k views

Error sending email. Address is missing domain

I am trying to install an email server on a VPS box, using the following programs: Sendmail+Dovecot+Horde Now, I believe all y configurations were correct. Yet, when trying to send emails from horde,...
Srihari's user avatar
  • 101