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.

Filter by
Sorted by
Tagged with
-3
votes
0answers
35 views

Linux Fans - kindly PLEASE assist me with identifying the spam source on my Centos6.9 smtp sendmail server

The server has also httpd with PHP services running I did read the guide here : https://a1websitepro.com/find-track-filthy-spammer-block/ I did install EXIM My client complains they never had this ...
0
votes
1answer
18 views

Sendmail PAM authentication not working

I have been trying to migrate my mail functionality to a new server. I've copied my alterations to sendmail.mc and rebuilt sendmail.cf. For authentication I use a DB file that is configured in /etc/...
1
vote
0answers
68 views

What is the correct way to enable source downloads in CentOS 8-stream?

So I tried to do this:- yumdownloader --source sendmail But hit this problem:- Last metadata expiration check: 0:08:48 ago on Wed 16 Dec 2020 10:34:00 AM GMT. No package sendmail-8.15.2-34.el8.src ...
0
votes
1answer
27 views

Is my server using SSL encryption to deliver e-mails?

I have deployed a little mail server using sendmail. I think the agent is properly configured to accept delivery requests both with and without encryption. That's because, with the following telnet ...
0
votes
1answer
15 views

Can sendmail use mailutils to forward incoming mail?

I am using sendmail and mailutils. I am able to send outgoing mail using mailutils. I am able to receive incoming mail to my domain using sendmail. However when I try to forward emails using the /etc/...
0
votes
2answers
123 views

sendmail Authorization failed in cron jobs

When I search for 'cron' using grep in /var/log/syslog I get some lines as follows: Oct 2 11:10:02 hplaptop cron[141532]: sendmail: Authorization failed (534 5.7.9 https://support.google.com/mail/?p=...
0
votes
0answers
42 views

sendmail: Using alternative port with smart-host

Sendmail not following smart_host alternative port macro. Using Exchange server, exchange.redacted.com, we are using port 2525 for internal devices and some Linux based machines, allowing them send ...
0
votes
1answer
42 views

Sendmail Service Issue: “rejecting new messages: min free: 100”

For a test email with the following command (echo "Hi") | mailx -v -r from@something.com -s "Subject Test" -c cc@something.com to@something.com I get the following output in a ...
0
votes
1answer
61 views

Why sendmail sending blank text file?

I want to create a script which able to send the log file by email. The problem now is the text file I have received through email is blank. Which part is the problem? MYSQL_SLOW_LOG_USER="****&...
0
votes
0answers
54 views

How to send email on linux with HTML content AND attachment?

I have Oracle Linux server 7.8, on which I am trying to explore programs which be used for emailing HTML content and also send an attachment. Let say I am in my home directory and i have the following ...
0
votes
1answer
38 views

“Unable to set AuthPassword” ssmtp

I am setting up smtp to sent mails via terminal and getting "non-zero" status. In my log files there is a log about "Unable to set AuthPassword" password contains characters and ...
0
votes
1answer
48 views

Sendmail: Block email going to specific address [Centos]

We've inherited some systems with CentOS that are sending emails to people are no longer working for us. So, since there is no clue which app is sending these emails, I wanted to block them from the ...
1
vote
1answer
96 views

How to check STARTTLS usage when sending emails with sendmail?

I have installed and configured sendmail on my little VPS running Debian in order to send some e-mail notifications when something happens on it. Currently, the setup seems to work fine but, since ...
0
votes
1answer
57 views

Is there a way with SendEmail that you have a custom text and under that a command output?

I am trying to use SendEmail. What I want is that I get an e-mail with the output of a ls command but above that output I want a custom text with some explanation. If I try -u it overrides my ls ...
0
votes
2answers
144 views

How do I setup email on FreeBSD? [closed]

I am new to handling things in a low level fashion and I am horrified at the lack of documentation for newbies who have had zero experience setting up MTAs, MDAs, etc. I simply need to connect to my ...
0
votes
0answers
272 views

getting error “drop_privileges: setuid(207) failed” while sending test email in unix server

I am trying to send a email from unix box to my personal email using the below command mail -s "TEST_EMAIL" abc@xyz.com on pressing enter and writing the body hi this is a test email. Cc: vuy@abc....
1
vote
1answer
38 views

send mail manually by mail command

After installing mailutils on ubuntu 18.04 $sudo apt-get install mailutils I try to send email manually on CLI $mail -s test To: myname@gmail.com Cc: then.... what should I do????
0
votes
1answer
943 views

Sendmail with CSV file & plain body text

I am trying to send an email with CSV file as attachment and also print the data available in the text file as Email body using the below shell scripts. But im getting only attachment and there is no ...
1
vote
1answer
18 views

sendmail v8.15.2 reports 550 User unknown if the underlying Linux userid is not entirely lowercase

I've changed my /etc/hosts file as follows, I added the second line: 127.0.0.1 localhost 127.0.0.1 myservername.mydomain.com myservername I also added myservername.mydomain.com to the /etc/mail/...
1
vote
1answer
159 views

hostname --fqdn on Azure Ubuntu server has unique domain name ending in .internal.cloudapp.net. How to change to my own domain?

I have added my first Azure server for production use on my domain. Azure assigned a domain name in their DNS, I created a CNAME entry in my domain to forward there. Works great. When I enter the ...
0
votes
2answers
33 views

I need to fetch the relay=hostname.com from the sendmail logs

I need to fetch the relay=sender.hostname.com from the Sendmail log example below. sendmail[0000]: 03O7cddddddd: from=<user@user.hostname.com>, size=782, class=0, nrcpts=1, msgid=<...
0
votes
1answer
77 views

Is there any IMAP/POP3 rely and archiving server application?

Classic email setup: [REAL-MAIL-SERVER] [IMAP/POP3 >] ---------> [EMAIL-CLIENT] [Storage] Is there any server application (open source) that would permit to store ...
0
votes
1answer
199 views

sendmail uses too much cpu

I am running Fedora 31 and time to time I get high CPU for dozen of seconds randomly during the time like every ten minutes or so that is caused by sendmail. So far I am not able find out why. Can ...
1
vote
0answers
124 views

msmtp with iCloud account doesn't work

I'm very new to Linux (Raspbian at Raspberry Pi 4 Model B) and I just try to send an e-mail via command line. Right now, this is working with msmtp and a gmx.de account following this guide. apt-get ...
0
votes
1answer
201 views

issue with sendmail & html format in body

I need to send mail in unix with 2 attachments and the subject in html format. i did the following, it helps in getting the attachment but not the body content in the mail #!/bin/bash from="b@b.com" ...
0
votes
0answers
125 views

Using 'Try_TLS:broken.server NO' does not work

sendmail 8.14 configured as "submission-only" on SLES 11 SP3. In submission-only I have: Modified /etc/sysconfig/sendmail and made DAEMON=no Modified /etc/email/submit.cf and pointed D{MTAHost} to ...
1
vote
1answer
430 views

Prevent sendmail from doing dns lookups before relaying

My machine (CentOS, sendmail-8.14.7-5.el7) accepts emails from machines and forwards all of them to my smarthost my-smarthost.mydomain.com, which in turn has several dynamic MX-records). Local mail ...
0
votes
1answer
951 views

Mail command in linux

Want to send mail to my email id, but I'm not able to send. I have done sudo apt install mailutils. Here is my code: ssmtp name@gmail.com Hello world Showing error ssmtp :cannot open mail 25
0
votes
0answers
13 views

www-data sending mail

I'm using an Apache Docker image with symfony4.2 application in my local environment. I configure swiftmailerbundle with sendGrid. When I try to send mail it works. In integration deployment I have ...
0
votes
1answer
281 views

Is there a way to attach file in sendmail command without using uuencode

I'm trying to send an email from shell script using the below code: fileToAttach=cpu_usage.log `(echo "To: XXXXXX@gmail.com" echo "From: XXXXXX@gmail.com" echo "Subject: Issue with CPU" echo ...
0
votes
0answers
10 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)...
0
votes
0answers
59 views

Problem with sending Unix mail from home (because of Spamhaus block list?) [duplicate]

I have a script that sends a simple email at the end. When running it while my laptop is inside my university'e network, everything works just fine. However, when I send an email from home using a ...
0
votes
0answers
18 views

Tabular email format along with attachment

I have a customer file which is generated at a path. I want to send the data in that file in tabular format along with the file as attachment in the email. I had a sample script from which i took ...
2
votes
2answers
2k views

How to add subject to sendmail function

I have the below line code in ksh: echo -e "$SUBJECT"|/usr/sbin/sendmail -f XXXXXX@gmail.com -t XXXXXX@gmail.com but I'm still getting the $SUBJECT in the body, and not as the real subject. what's ...
0
votes
0answers
28 views

How do I send mail consisting of sqlquery results - but only sending if certain users run?

I'm trying to run a command to send the results of sqlplus query in an email but only if certain users set the command to run - not the dev team. Something like: (emailwhenran) sqlplus username/...
0
votes
2answers
633 views

sendmail - sendmail using relay (Why it doesn't work?)

I am trying to configure configure sendmail to use a relay. I've tried several procedures, but I don't know why it doesn't work since the same relay is used by other services and it works. Below is ...
0
votes
1answer
275 views

Attaching multiple files using bash and emailing it out using SWAKS or another program

I'm trying to: Attach multiple files into one email. Have the email sent out using a Gmail account with the current date and time in the subject header. I'm having trouble with the for a loop ...
1
vote
0answers
40 views

How to completely disable header from/to/cc modifications aka Masquerade in Sendmail?

I am running sendmail 8.15 on an Ubuntu 18.04 LTS server that is relaying emails from other internal and external mailservers and relays their emails as a smarthost to the internet. Even if some ...
1
vote
1answer
72 views

How to tell sendmail to send out all mail using Mandrill smtp, smtp port, username, api key?

How to tell my CentOS sendmail to send all the mails of my incoming SMTP using following credentials (which is a third party service, who deliver my mails)? Host smtp.mandrillapp.com Port 587 SMTP: ...
1
vote
0answers
128 views

Unknown keyword `smtp-auth' when using --set=smtp-auth=login

I use a bash script to make some process, then send me a mail report. This works fine when I use a local postfix configuration, but this not works with smtp auth and I got the error «smtp-auth unknown»...
0
votes
2answers
1k views

Sending Output of Script By mail

I have a script to Monitor servers in Production , and I want to receive the result of this script execution every 2 hours by mail , how can I do this ? someone has an example ? this is my Script: ...
0
votes
0answers
376 views

Sendmail Bash Shell Script Help

I am new to SysAdmin (in Redhat) and need to correct a non-functioning shell script. The .sh file was originally running on a Solaris Unix system. There is an associated CRON job which launches the ...
1
vote
0answers
152 views

Raspian - emails won't send in postfix

Context: I'm working with my raspberry pie in my local private network. I just want to be able to let cron send me emails, but instead I get this following error from sending my last email. To see ...
0
votes
0answers
634 views

Is there any way to send the html mail in email body and a csv file as an attachment in linux

Please see my below snippet, it is ignoring the attachment, only displaying the HTML content in the email body. I want to attach CSV file with it. Thanks in advance!! awk -F ',' ' BEGIN { ...
2
votes
1answer
4k views

mail: Can't send message: process exited with a non-zero status

Any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this? sudo apt-get update sudo ...
0
votes
0answers
20 views

Sendmail Hostname error

We recently changed hostname on our Fedora server to xyz and Sendmail logs report like: July 08 00:06:36 xyz sendmail[20506]: That's fine. But we changed the hostname back to abc but the sendmail ...
0
votes
1answer
185 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
51 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
612 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
3k 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 example sendmail[29544]: x4O6tDOL029544: to=, ctladdr=root@example.com (0/0), ...

1
2 3 4 5
7