Stack Exchange Network

Stack Exchange network consists of 174 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 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.

0
votes
0answers
7 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
23 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" ...
0
votes
0answers
35 views

Can't configure SSL with Sendmail

I'm tring to configure the Sendmail with SSL from LetsEncrypt. At first, I wasn't able to sent a mail from my server to eg. gmail.com, beacuse of security problem, i guess. I genereted a cert with ...
0
votes
0answers
38 views

SOLVED IPv6 enabled sendmail does not send to domains with IPv4 only MX which results in “config error: mail loops back to me”

I encountered a strange problem after enabling IPv6 on my sendmail. BTW, reverse resolution is fine for my domain A and AAAA wise. Sending mail to a domain with MX A and AAAA records switched now ...
1
vote
1answer
45 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
0answers
108 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
359 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 ...
0
votes
0answers
17 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
153 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
16 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
84 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
388 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
363 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
36 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 ...
1
vote
0answers
906 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
437 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
1k 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
146 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
111 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
715 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
73 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
473 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
788 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
824 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
2k 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
128 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
582 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
520 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
499 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
454 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
160 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
221 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
1k 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
511 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
739 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.
1
vote
0answers
498 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
556 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
68 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
600 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
61 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
681 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
37 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 ...
14
votes
3answers
11k 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 ...
1
vote
0answers
343 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----- -------...
3
votes
1answer
10k views

Configure Sendmail Server to accept external incoming emails

For security reason sendmail is by default configured to accept connection from local system (127.0.0.1), to avoid open mail relay problem. But, How do I force sendmail to accept mail from the ...
2
votes
1answer
2k views

mail rejected with error 421 connection rate limit exceeded

I am running debian jessie with sendmail 8.14.4. I do not find where is the setting to disable the mails to be rejected for a certain host and i get periodically this message: May 28 16:20:30 mx6 sm-...
0
votes
1answer
252 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 ...
1
vote
0answers
219 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 ...
0
votes
0answers
111 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 root@ftp.secret.net Mon Feb 2 11:35:15 2015 Received: ...
0
votes
0answers
307 views

PHP sendmail permission error

If I use php sendmail (already configured it with the right path on php.ini file and restarted the apache + sendmail server), it always gives permission errors like: 2014 Dec 30 18:14:46 Gaming sB**...