Operating System - HP-UX
1838334 Members
3000 Online
110125 Solutions
New Discussion

sendmail message that is stuck

 
Marty Metras
Super Advisor

sendmail message that is stuck

Hi,
I have a sendmail message that is being sent to me everyday at the same time. Should be once per week. The Script runs once a week and only email me once. Every day I get the same message. My server sends the email and it goes directly to internet it dose not get reprocess anywhere as far as I can tell. I control this user account so I don't think some one is playing games with me.
So I think this email is stuck some where and getting requeued from some where. I can't find it.

Any ideas?
Marty
The only thing that always remain the same are the changes.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: sendmail message that is stuck

Hi Marty,

Do you have anything sitting in your mailqueue "mailq'?. I would also check your /var/adm/syslog/mail.log to see if your script is not generating mails everyday. You should see entries there if the mails are generating from your system itself. If you are using a mailhost, then you should see entries with 'relay=yourmail' in mail.log. If that is the case, you would need to check your mailhost.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Geoff Wild
Honored Contributor

Re: sendmail message that is stuck

Is it the same message?

Modify your script to time stamp in the body of the email..

Did you check the headers?

Rgds..Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Marty Metras
Super Advisor

Re: sendmail message that is stuck

Thanks.
After going throught the routine you pointed out, I found it.
THis cron job should only run on Sunday. Other days it just process with out doing any thing because the database is open.
Therefore, the cron job should been set to run at "44 12 * * 0" I over looked the fact that I was testing it 2 weeks ago and left it set to run "44 12 * * *". Yup! 7 days a week. I did it to myself.

Thanks for helping me to think.
Marty
The only thing that always remain the same are the changes.