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
0answers
32 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 &...
0
votes
2answers
178 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)...
2
votes
1answer
212 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
465 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 ...
0
votes
0answers
99 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 ...
1
vote
0answers
103 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....
0
votes
1answer
1k views

solved: 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 ...
1
vote
0answers
647 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 ...
1
vote
1answer
41 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 import@domain.com: "| java -jar importFromEmail.jar import@domain.com" ...
1
vote
1answer
152 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 me@example.com 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: ...
1
vote
1answer
549 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 ...
0
votes
1answer
2k 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 ...
1
vote
0answers
53 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 my@email.com However, if I have file: To: mymail@gmail.com Subject: sendmail test two ...
0
votes
1answer
355 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 /...
0
votes
1answer
19 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-...
0
votes
1answer
344 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 ...
1
vote
0answers
663 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 ...
1
vote
1answer
635 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, ...
1
vote
1answer
38 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 ...
4
votes
1answer
1k views

Sending Emails within a Docker Container

Hello I'm trying to run the following command in my container mail -s "This is Subject" someone@example.com < /path/to/file How should my dockerfile look so the above command can be executed ? I ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
377 views

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

#!/usr/bin/perl use MIME::Lite; my $to = 'mkumar@birdserver.com'; my $from = 'pkumar@birdserver.com'; my $subject = "Eventful"; my $message = " Hi - Test email"; $msg = MIME::Lite->new( ...
1
vote
0answers
199 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. ...
1
vote
1answer
1k 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 ...
1
vote
1answer
147 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?
1
vote
0answers
557 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 ...
0
votes
1answer
1k views

Configure postfix to deliver mail to particular directory

I want to setup postfix so that any outbound mails to admin@mydomain.com 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 ...
0
votes
1answer
1k 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 ? ...
0
votes
1answer
5k 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/...
0
votes
0answers
168 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 ...
0
votes
1answer
939 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?
1
vote
1answer
855 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 ...
0
votes
0answers
791 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 ...
0
votes
1answer
714 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 ...
1
vote
0answers
248 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 ...
1
vote
0answers
263 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 ...
0
votes
3answers
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 ...
1
vote
1answer
1k views

Understanding /etc/aliases

I know that /etc/aliases is used to provide mail alias for system users (for either Sendmail or Postfix), for example, the listing like those in Understanding /etc/aliases and what it does. However, ...
0
votes
1answer
1k views

Prettified way to read mail in linux command line?

I was wondering if there is a command-line way to read the stuff that is in /var/mail/$USER in an attractive way? Thanks in advance.
2
votes
1answer
635 views

Debug or disable sendmail auth=SERVER

It seems like people are sending spam through my mailserver using SMTP server authentication. I’m getting bounces of undelivered mail The bounces contain correct Received: headers from my mail server ...
1
vote
0answers
1k 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 ...
-1
votes
1answer
73 views

Sendmail doesn't receive messages from other domains

I'm trying to set up sendmail on my server. But so far I encountered one problem: I can't receive messages from public email services. /var/log/mail.log shows nothing, like post doesn't reach my ...
1
vote
1answer
934 views

Use sendmail without standard input

I would like to use sendmail to send an e-mail from my backup software on Kubuntu Linux. However the software does not allow entering a full command line (only command name and arguments pattern ...
0
votes
0answers
66 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 ...
-1
votes
2answers
811 views

Problems automating sending mail through a bash shell script [closed]

command: echo "define(`SMART_HOST',`smtp.server.ac.in')" >>/etc/mail/sendmail.mc Output : -bash: command substitution: line 1: unexpected EOF while looking for matching `'' -bash: command ...
0
votes
1answer
41 views

A Linux Distribution w/ Version which contains Sendmail version 8.6.9

I'm looking for Sendmail version 8.6.9. What distribution (I don't think that matters) or version of said distribution contains the old 8.6.9 version of sendmail. If I'm going about getting that ...
18
votes
3answers
14k views

Is sendmail an smtp server? Is there any difference between MTA and mail server?

I am new to mail and do not exactly know how it works. I have seen administrators use sendmail to send out email. Is sendmail an smtp server or is it a client that relies on smtp server to relay ...