Score:0

MAILTO in crontab

id flag

My MTA is ssmtp. In crontab I have set the MAILTO line to my email address. What is the actual command that the MAILTO line triggers? Is it possible to modify it? I actually need to start ssmtp as firejail --net=wlp1s0 ssmtp .... instead of mere ssmtp ....

Artur Meinild avatar
vn flag
I think cron uses the default `sendmail` command. However, how you start ssmtp has nothing to do with this.
Aqualung avatar
id flag
@ArturMeinild, thank you. Here's what I actually need, just so you better understand my conundrum: I need cron to send an email every time it triggers a job, and that email needs to be sent out via a specific wireless network interface. I figured I'd use firejail to bind ... whatever application it is that cron uses to send email to that specific network interface. I am pretty sure that my MTA is ssmtp.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.