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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 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
23 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
95 views

sendmail ignoring SMART_HOST of local subnet IP addr and going directly to internet

Running Amazon Linux on an AWS EC2 instance with sendmail version 8.14.4. My sendmail.mc file contains: define(`SMART_HOST', `[10.0.0.10]')dnl and I've verified that sendmail.cf contains: # "...
sootsnoot's user avatar
  • 199
0 votes
2 answers
99 views

How to setup cronjob with automated emails in linux?

I've been working on creating a script to scan a series of mailboxes on a linux server, find ones that have more than 250 emails in the mailbox, and then send an email with the name of those mailboxes ...
user avatar
0 votes
0 answers
70 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
135 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
108 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
391 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
1 answer
431 views

Can't send mails as root with Mutt through MSTP

I successfully set up Mutt and SMPT to send to myself some logs through emails. As user, it works perfectly However, when I ask through sudo crontab -e as root to send some logs after running some ...
Azertux0's user avatar
1 vote
1 answer
445 views

Sendemail command not found in cygwin

So I am trying to use sendmail in cygwin because on the server I cannot use other options like mutt because they aren't supported. I have downloaded the sendmail package during the cygwin setup, but ...
jakebake's user avatar
0 votes
0 answers
167 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
2 answers
340 views

Have sendmail authenticate users against dovecot (or passwd-style files)

I have set up a Debian 10 mail server with sendmail and dovecot+virtual users in preparation of a migration (the old server is also running sendmail + dovecot, but older versions and with "real" users)...
moeffju's user avatar
  • 123
2 votes
1 answer
1k views

Sending emails using sendmail in freebsd

I am trying to send a test email from command line (for debugging purpose). I cannot make the sendmail to send the email. The Ctrl+d does not work on my ssh console and I could not find a solution by ...
wmac's user avatar
  • 1,427
0 votes
1 answer
235 views

sendmail does not recognize the local host name

Recently I'm learning Sendmail in CentOS,But I have got some prombles when I am following the tutorial on youtube. I have followed the steps in the video, but when I try to test the Sendmail with the ...
user avatar
1 vote
1 answer
5k views

How to use mail command from within Windows Linux Subsystem?

I'm using Ubuntu 18.04 from within WSL. I installed postfix, sendmail and mailutils. After some headaches I got the mail command to run without errors but I'm not getting the emails I'm sending ...
Muc's user avatar
  • 121
0 votes
1 answer
1k 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
398 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
1 vote
0 answers
241 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
1 answer
3k views

m4:/etc/mail/sendmail.mc:176: cannot open '/usr/share/sendmail-cf/feature/'relay_hosts_only'.m4': No such file or directory

I've looked for an answer to this error all over, and I keep finding only the one people would get if sendmail-cf wasn't installed. Yes the file doesn't exist, but do I try to make it and with what ...
Silverpyro84's user avatar
1 vote
0 answers
772 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
56 views

is sendmail aliases sending the email received as a parameter when redirecting to program?

good afternoon, I am learning sendmail and had a doubt about how aliases work. If I have the entry below in my /etc/aliases [email protected]: "| java -jar importFromEmail.jar [email protected]" ...
masber's user avatar
  • 173
1 vote
1 answer
255 views

linux - send an email where body is a line of text from a file - date dependent

I would like to add a cron task that sends an email to [email protected] once a day and includes a line of text from a file depending on the date as the message body. My file.txt would look like this: ...
Mike's user avatar
  • 13
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
0 votes
1 answer
4k views

issues setting up sendmail

I need to send emails to different recipients (many), from my gmail account, the same message for each, but different attachments. So I looked into command line mail clients and stumbled upon this ...
Erwann's user avatar
  • 129
1 vote
0 answers
89 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
0 votes
1 answer
451 views

sendmail in slackware 14.2 unable to recieve mails but able to send

I'm a sys ad newbie and I'm learning slackware this not a production env, slackware comes preinstalled with sendmail and alpine, here's my problem, i've built the sendmail.cf file properly via cd /...
Jonathan Israel Serrano's user avatar
0 votes
1 answer
32 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
1 vote
1 answer
849 views

postfix/sendmail error unknown referring to command line

I have a php script under a wordpress theme sending emails using the mail() function. I have postfix, dovecot & sendmail installed on the server. For a long time the script functioned properly ...
Jadeye's user avatar
  • 203
1 vote
0 answers
856 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
  • 129
1 vote
1 answer
713 views

Use of sendmail as input mail gateway with Google G Suite

I'm attempting to use Google G Suite to host some email addresses but not all. I currently have a server hosting my domain and the MX server for this domain. There are no local email account, ...
jyavenard's user avatar
  • 125
1 vote
1 answer
69 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
4 votes
1 answer
2k 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
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
  • 305
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
554 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
1 vote
0 answers
283 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
1 answer
275 views

Send all users commands via email when user logs out

In Linux, is there a way to send an email with user session (e.g. commands) when he quits an SSH or console session?
Thomas Storm's user avatar
1 vote
0 answers
594 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 ...
Jinx13's user avatar
  • 11
0 votes
1 answer
2k 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
  • 397
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
  • 919
0 votes
1 answer
6k views

Centos 7 - Sendmail not working

I'm trying to setup sendmail on my centos 7 server, but it's failing for some reason. I've opened port 25/tcp on firewall-cmd and selinux is disabled as well. It's still not working... /var/log/...
Jojo01's user avatar
  • 103
0 votes
0 answers
193 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
1 vote
1 answer
1k views

Re-process emails from `/var/mail/root`

The mail forwarding was broken on one of my servers. Some emails accumulated in the local /var/mail/root mailbox instead of being forwarded. I fixed the forwarding now. Is there a way of reprocessing ...
Greg's user avatar
  • 317
0 votes
0 answers
910 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
819 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
1 vote
0 answers
340 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
395 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
0 votes
3 answers
2k views

sendmail, ISP blocked port 25 of my incoming mail server

I want to setup a home mail server to receive incoming mails, but my ISP blocked port 25, so other mail clients (e.g., gmail) can't connect to my home mail server, right? I mean, I can telnet from ...
xpt's user avatar
  • 8,299