Linked Questions

3
votes
2answers
3k views

Forcing email address cron is sent FROM [duplicate]

I'm running Ubuntu on AWS and am using their SES (Simple Email Service) and sSmtp to email logs since that is the only need for email on the server. I have ssmtp sent up and everything works, except ...
0
votes
0answers
23 views

mail Linux command include username along with from address [duplicate]

Is there any way to hide username if we send email via Linux terminal? For example, I just want to hide or delete "root" username from the email header. I have one cron job send a report ...
20
votes
8answers
48k views

ssmtp change " From: "root" <xy@com>" root name

My root user send emails with ssmtp. However I can't change "From: root ..." root name. Is there any way to send email with another name without using another user? Tried: echo 'From: "New name" ' | ...
10
votes
3answers
37k views

MAILTO is not working for CRON. How can I fix this?

I have setup cronjob for the root user. However when the cron fail I should receive an email from the cronjob because I have set MAILTO like this in /etc/crontab : MAILTO=my@email.com I have ...
13
votes
3answers
8k views

Setting 'From' header for cron email using msmtp

I've got msmtp setup on Ubuntu 10.10 so that cron can send me emails. That works like a champ, for the most part. However, emails coming to my gmail account show up as coming from (unknown sender), ...
3
votes
4answers
3k views

How to customise email headers from Vixie-cron (debian) and msmtp?

I have had some trouble with getting cron to send emails. My ISP requires that the "From:" field match the email address the email is being sent from, otherwise the email is rejected. As cron ...
4
votes
1answer
5k views

exim: Rewrite "From" header to envelope "FROM"

Cron sends emails with the "From" header always set to "From: root@example.com (Cron Daemon)" for all users, even though the envelope address (seen in the "Delivered-To" header in received email) is ...
1
vote
2answers
4k views

linux, change "email from" address for user

I have ssmtp installed in order to use the company server to send emails from the machine. The problem is that the server is outlook and the emails have the "reply to" set to the user name: "root". ...
1
vote
3answers
1k views

Cronjob: E-Mail with Cronjob output from mailutils is empty

I am tempering with my cronjobs to change the sender and subject for emails sent by the cronjob. For sending emails I installed the mailutils package on Ubuntu 14.04. This is how I am sending my ...
0
votes
1answer
251 views

Stop cron jobs from sending emails as root but allow sendmail to work

I've recently got Postfix working as a send only MTA relaying through Google Workspace (formerly Google G Suite). I would now like to send emails after completed cron jobs to my personal email. The ...
0
votes
2answers
212 views

Cron Email Locally

I have my crontab configured to mail to a specific address, for example purposes lets say "test@test.com". test.com is also the host name of my box, however I have my mx email records configured ...
0
votes
1answer
90 views

How can I change the sender's name for email messages sent by cron

We have several nearly identical servers with a fairly classic server-NN naming convention, each running cron jobs that we like to monitor via email. There are is a group of users, who receive the ...