I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me?
How can I resend it automatically? Is there any resend logic by using the mailx?
I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me?
How can I resend it automatically? Is there any resend logic by using the mailx?
it kinda hard to help to actually fix the problem (why your mail failed) it should just sit in the que for a few days then drop if it cant make the destination by then.
Have you checked that the cron job is running okay, it may not be running for some reason.
If the cron job runs it should show up in one of your log files, syslog, etc.
Andy Hibbins

Sorry, I simply create a new thread on another place.
I am sure the cron job was being executed. The only thing is, the mail cannot be send, or in another way, the receiver cannot receive the email.
What can I do? Any ideas?
Thanks.