0

Background

I have configured my crontab to send me emails that way

MAILTO=myemail@company.com
...

And I am receiving the e-mail in myemail@company.com's inbox through the company SMTP server without having to configure anyting. (They do not require authentication if you send an e-mail from the company's network a company e-mail address).

The server is linked to our Windows active directory through Kerberos and Samba, if this is of any help to diagnose the issue.

The issue

I want to edit the e-mail settings because I need to authenticate to the SMTP to be able to send the cron e-mails on non-company e-mails.

What I've tried already

After a quick look on google, I've found this question. Problem: Sendmail is not installed on the server and there is nothing related to e-mail configuration in /etc/sysconfig/crond.

What else can I do to figure out what is used to send e-mails from crond and how to configure it ?

Noah Boegli
  • 111
  • 4

1 Answers1

1

The solution

Looking into the headers of the e-mail, there was a small line mentionning postfix.

Furthermore, I could have directly thought of looking for postfix when I found out that sendmail was not installed.

Conclusion: Next time I'll double check e-mail headers before posting.

Noah Boegli
  • 111
  • 4