:: Re: [DNG] Configuring cron and exim…
Etusivu
Poista viesti
Vastaa
Lähettäjä: dng@d404.nl
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Configuring cron and exim4 to send e-mail after running cronjob
On 15-11-2020 01:03, Marc Shapiro via Dng wrote:
> I use Thunderbird for e-mail, so I have never bothered with
> configuring an MTA.
>
> I have a few lines in root's crontab to do periodic backups and I
> would like to receive an e-mail when the job is completed.  I have
> added a MAILTO line to my crontab with my gmail address.  The job
> runs, the backup is created, but I do not receive any e-mail from
> cron.  I am assuming that I need to run dpkg-reconfigure on
> exim4-config, but I don't want to mess up my e-mail that is going
> through Thunderbird.
>
> Can anyone tell me how to configure exim4-config to do this, or
> provide a link that will rpovide this information?
>
>
> Marc
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



Are you sure that your exim4 mta has not been simply denied access by
Google because it has no static ip, spf, dkim etcetera? An alternative
would be to use your isp smtp-server by configuring it as a smarthost
like in this example
https://www.4armed.com/blog/install-and-configure-exim-4-smtp-relay-via-smarthost-on-ubuntu/

Grtz

Nick