Sponsored Content
Operating Systems AIX Not able to receive emails after job execution Post 302935574 by aaron8667 on Tuesday 17th of February 2015 04:36:35 PM
Old 02-17-2015
Thanks for your help.

port 25 is open on only one server. not on all other exchnage servers

I can only telnet to "mymail2hub.domain.com". and looks like mail command worked; it prompted for subject, cc details etc. but I did not get any email message.


Please see the errors below from logs.

Code:
logs
=====

Feb 17 16:09:53 aixhost mail:info sendmail[9374416]: t1HL9rHd9371656: from=root, size=78, class=0, nrcpts=1, msgid=<201502172109.t1HL9rHd9371656@aixhost.domain.com>, 

relay=root@localhost
Feb 17 16:10:41 aixhost mail:info sendmail[9834405]: t1HLAfJg9830514: from=root, size=11, class=0, nrcpts=1, msgid=<201502172110.t1HLAfJg9830514@aixhost.domain.com>, 

relay=root@localhost
Feb 17 16:11:08 aixhost mail:info sendmail[9373316]: t1HL9rHd9371656: to=myemail@example.com, ctladdr=root (0/0), delay=00:01:15, xdelay=00:01:15, mailer=esmtp, 

pri=30078, relay=example.com., dsn=4.0.0, stat=Deferred: Name server: example.com.: host name lookup failure


 aixmibd.log
=============
 
Wed Jan 21 14:28:28 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Thu Jan 22 11:33:20 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Fri Jan 30 23:56:20 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Sun Feb 15 01:15:10 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying

hostmibd.log
==============

 01/21/15 02:28:28 PM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 01/22/15 11:33:20 AM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 01/30/15 11:56:20 PM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 02/15/15 01:15:09 AM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying


snmpmibd.log
=============

 01/21/15 02:28:27 PM -  dpi_main.c (790) snmpmibd (4456584) is starting.
 01/22/15 09:15:08 AM -  dpi_main.c (1416) snmpmibd (4456584) is terminating.
 01/22/15 11:33:19 AM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 01/22/15 11:33:19 AM -  dpi_main.c (790) snmpmibd (3473408) is starting.
 01/29/15 09:28:57 PM -  dpi_main.c (1416) snmpmibd (3473408) is terminating.
 01/30/15 11:56:19 PM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 01/30/15 11:56:19 PM -  dpi_main.c (790) snmpmibd (3801216) is starting.
 02/13/15 05:47:46 PM -  dpi_main.c (1416) snmpmibd (3801216) is terminating.
 02/15/15 01:15:09 AM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 02/15/15 01:15:09 AM -  dpi_main.c (790) snmpmibd (3997826) is starting.


* when i setup mail/realy server details in sendmail.cf file ; and i can receive email from aix lpar using sendmail command.

please let me know if you see anything from logs.

thanks much
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sequential execution of job in cron

Hi I have a file say xyz.sh, whose contents are as follows : *************************** #! /bin/ksh set -x . /a.sh . /b.sh . /c.sh ***************************** Now will this execute all the three process simultaneously or sequentially? If it will process simultaneously, is... (3 Replies)
Discussion started by: pankajkrmishra
3 Replies

2. UNIX for Advanced & Expert Users

Job execution through Xming

Hello, Every evening I run few shell scripts on AIX Production Box, One shell script takes about one hour to complete and does some DB updation and application processing etc. The shell scripts are getting launched from prompt and not through cron or any scheduler as they require some manual... (0 Replies)
Discussion started by: panchpan
0 Replies

3. IP Networking

Configuring POSTFIX to receive emails only from localhost

Hello, I am new to POSTFIX. My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Discussion started by: mojoman
1 Replies

4. UNIX for Dummies Questions & Answers

Confirm job execution

Hello everybody, Can anybody tell me how do we comfirm the execution of a scheduled job ? In other words, how do I know whether my scheduled script is being executed or not ? Thanks Jitu JK (2 Replies)
Discussion started by: jitu.jk
2 Replies

5. Solaris

Solaris 10.5 perl and cron job execution problem

Hi, I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly 10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt However this does not work .Then I go to /var/mail/root and find an error in the output: From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies

6. Shell Programming and Scripting

Job Execution in Parallel and Maintain Dependency

All, We need to run multiple jobs in parallel with the dependencies intact. I was trying to use the same with &, but in vain. Is there is any other way to resolve this issue. I need to run Set1 A.sh B.sh C.sh Set2 D.sh E.sh Set3 F.sh (10 Replies)
Discussion started by: anand_msm
10 Replies

7. Shell Programming and Scripting

Parallel Job Execution

Hi All, At present I am using a UNIX Script which is running a set of JOBS. These JOBS are to be repeated for 20 times, means the same set of JOBS are repeated by just passing different arguments (From 1 to 20). Is there any way by which I can execute them parallel? At present its all... (4 Replies)
Discussion started by: Prashantckc
4 Replies

8. Programming

Is it possible to receive emails from my computer?

Could someone help me receive emails sent to my ip address with a c program? (5 Replies)
Discussion started by: Errigour
5 Replies

9. Shell Programming and Scripting

Problem with Job execution using crontab

Hi All, I am facing a problem with crontab.I made an entry in crontab like this 05 07 * * * /afs2/cdwfullacc/current/exe/cdw_generate_special_klant.sh > /afs2/cdwfullacc/current/scratch/cdw_gen_cron.log But job was not getting executed. Entry in crontab was made with same user by whom... (4 Replies)
Discussion started by: krishna_gnv
4 Replies

10. Shell Programming and Scripting

Execution problem with CRON job

HI, I have written an executable file in unix and I was able to execute it successfully but when I called this file with cron job it was giving error like "permission denied" and "No such file or directory". Please help in how cron calls the file and what permission is required on the file... (2 Replies)
Discussion started by: vipin kumar rai
2 Replies
NOTIFY(8)						      System Manager's Manual							 NOTIFY(8)

NAME
notify - HylaFAX user notification script SYNOPSIS
/var/spool/hylafax/bin/notify qfile why jobtime [ nextTry ] DESCRIPTION
bin/notify is the command script invoked by the facsimile server to notify a user about the status of an outbound job. The default notifi- cation script sends the user electronic mail describing the event or action. The arguments are: qfile the pathname of the job description file. why a string that specifies why the user is being notified; one of: Why Notes Meaning done 1 job was completed successfully failed 12 job was not completed rejected 1 job was rejected for specified reasons requeued 2 job was not completed, but was requeued for retry removed 1 job was deleted from the queue killed 1 job was deleted from the queue timedout 1 job could not be sent before kill time expired format_failed 1 document conversion failed no_formatter 1 the document conversion program was not found poll_rejected 12 a polling request was rejected by the remote side poll_no_document 12 a polling request failed because nothing was available poll_failed 12 a polling request failed for an unknown reason blocked 3 job is blocked by concurrent jobs 1 A final job state 2 A transcript of the failed communication is returned to the sender. 3 No emails are sent for the block state, the job has been neither requeued nor done, but remains waiting in the queue for the ability to be sent. jobtime the total transmission time of a successful job or the connect time of a failed request (passed as a string). nextTry the time (passed as a string) at which the next attempt will be made to complete the job. This parameter is passed only if why is ``requeued''. NOTES
The behavior of notify is intended to be customizable via the etc/FaxNotify script, if present. FaxNotify is sourced after the q-file is parsed and all default values are preset. Useful settings for FaxNotify are: WHY is identical to why mentioned above and can be useful in determining under what conditions various settings should take effect. For example, if [ "$WHY" != "done" ]; then RETURNFILETYPE=pdf; fi This would only set RETURNFILETYPE when the job did not complete successfully. RETURNFILETYPE can be set to ``tif'', ``pdf'', ``ps'', or ``original''. If set, this causes notify to return a copy of the submitted documents to the SENDER address along with the notification message. The ``original'' setting uses the format type that was used in the submis- sion. Multiple values may be specified by separating them with whitespace. In that case a separate attachment is created for each filetype. TEMPLATE the template subdirectory to use when sending e-mails. HylaFAX ships with a base set of templates, and some direct translations. To use the German translated templates, set TEMPLATE=de in FaxNotify. This is relative to the base template directory. NOTIFY_FAXMASTER is used to deliver a notification message to TOADDR (which defaults to ``FaxMaster'') that contains technical information about the job. This is useful in allowing the administrator to be aware of any problems before those problems are reported by the users. Possible settings are ``yes'', ``always'', ``no'', ``never'', and ``errors''. If ``errors'' is used then the notification message is only sent to FaxMaster when the job experienced an error. The default is ``no''. The settings of the user in $notify (read from the sendq job file) controls whether the user will get the notification email. If you want to force notification emails, irregardless of the users selection, or force a blocked notification (which is not sent by default), you can set notify="always" which will force the notify script to send the email. FILES
/var/spool/hylafax spooling area /usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-server(5), sendq(5) May 8, 1996 NOTIFY(8)
All times are GMT -4. The time now is 11:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy