Crontab - Email notifications by alternate user

Hi,

I have a crontab which sents email to a group in a certain interval. The email contains my user id in 'from' field of email - because my user crontab.

I don't have root access for that AIX 5.3 host - and should have to change 'from' field to either 'root' or any other common names.

Do i need to ask our admin to include the job in 'root' crontab. ? Is that only possible way to do so. ?

Could you please write me your suggestions/ alternate ways, if any.

Thanks, Vasu.

You need to ask admin.

1 Like

aside from the admin altering the sendmail configuration for you a simple way to accomplish this is to execute the sendmail command directly from the cron job and set the headers manually. mail/mailx will not work.

Yes, it's easy if you are trusted users (normally root, deamon and uucp). You need to ask admin!!!!!

Ok, Very good. Thanks for your reply.