• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

unix mail issues

My group has a job that runs daily at 06:00 on server123 which sends an e-mail to dba@tester.com (the FROM address is Oracle Database Owner [oracle@tester.com]).  Several weeks ago, it started producing a second e-mail from ‘nobody@tester.com’, at the same time but with no content. Can you help me identify what is producing this second message at the same time?

check_oracle_logs.sh
/acct/user/edwdev/scripts/oracle_log_check.sh > /tmp/oracle_log_check.out
# mail to oracle dbas this file...  < /usr/dba/oracle/admin/scripts/oracle_log_check.$TODAY
mailops="dba@tester.com"
mailx -s "edwdev" $mailops < /tmp/oracle_log_check.out
0
AIX25
Asked:
AIX25
  • 3
  • 3
1 Solution
 
arnoldCommented:
Check your cron entry to make sure it is no being generated when the cron runs.
i.e. do you have a forwarding directive under the cron account. i.e. in root you have a .forward file that redirects the email to you?
Check the maillog to see what/when generates the email messages to see whether it occurs when the cron job ends.
0
 
AIX25Author Commented:
It is not a cron job. It is scheduled with the oracle server.
0
 
arnoldCommented:
Not familiar with what you are using, but things to consider:
Check the scheduler to see whether the running of a scheduled job generates a notification.
Could it be that the scheduler has a success/fail notification?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
AIX25Author Commented:
Could it be that the scheduler has a success/fail notification?
It emails the outputs either way.
0
 
arnoldCommented:
Does the scheduler have a setting where you can define whether the notification should be sent on success, failure or both?
0
 
AIX25Author Commented:
Still trying to find out, will update
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now