On Sun, 19 Jan 2014 07:22:30 -0500, Tanstaafl wrote:

> I use plus addressing extensively (for mail filtering mostly), but for 
> the life of me cannot figure out how to get cron emails to have a 
> different MAILFROM other than just 'root'.
> 
> I'd like for each job to have a different MAILFROM... ie:
> 
> rkhunter cronjob should be from [email protected], etc...
> 
> Anyone know how to do this? I can't believe it isn't possible...

cron mails are sent from the user running the cron job, but some programs
have an option to set the address for any mails they send (not their
stdout that goes through cron). rkhunter is one of these.


-- 
Neil Bothwick

Q: How many accountants does it take to screw in a light bulb?
A: What kind of answer did you have in mind?

Attachment: signature.asc
Description: PGP signature

Reply via email to