WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

506

I have a Pi3B running an older version of Raspbian. Not going to upgrade because there's a lot of stuff I and others have written to take advantage of this particular OS version. It's in the cards at some point, but not now.

I'm using the cron MAILTO= variable to catch and send any errors that jobs generate to myself. However, the cron daemon is adding the user's name to the FROM: address. For example:

user@ address@ mydomain.com

Of course, the mail host is rejecting this primarily because it knows that's not a valid user for the mail relay. (It never gets to the "this is a bad address format" check.) This seems to be the only system service that's doing this. Of course, everything on this one is running System======D.

WTF is going on here? I've disabled cron's MAILTO parameter and just have jobs writing to a log, but I'd like to figure out why it's doing this.

I have a Pi3B running an older version of Raspbian. Not going to upgrade because there's a lot of stuff I and others have written to take advantage of this particular OS version. It's in the cards at some point, but not now. I'm using the cron MAILTO= variable to catch and send any errors that jobs generate to myself. However, the cron daemon is adding the user's name to the FROM: address. For example: user@ address@ mydomain.com Of course, the mail host is rejecting this primarily because it knows that's not a valid user for the mail relay. (It never gets to the "this is a bad address format" check.) This seems to be the only system service that's doing this. Of course, everything on this one is running System======D. WTF is going on here? I've disabled cron's MAILTO parameter and just have jobs writing to a log, but I'd like to figure out why it's doing this.
[–] 0 pt

As long as I can get the information somehow, I should be good.

It has the added benefit of removing all the errors from the mail.log...

Will make some changes later and see what happens.