Unix/Linux Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Unable to receive mails from email relay server

HP-UX


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-14-2016   -   Original Discussion by anaigini45
anaigini45 anaigini45 is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 17 November 2017, 5:01 AM EST
Posts: 97
Thanks: 4
Thanked 0 Times in 0 Posts
Unable to receive mails from email relay server

Hi,

I have reports that are generated in one server (10.61.1.108), hostname l28bi01. These reports are supposedly sent to a group of email addresses hourly via an email relay server. However, this is not happening.

In sendmail.cf in bi01, the DS Smart Relay Host ip address is:

DS192.168.12.26

I have attached the output of /var/adm/syslog/mail.log here.
I am not sure how to detect the error here. Could you please help detect the error?

I restarted the sendmail service, then the reports are sent, however, some reports are not.

The time now is 6:56 MYT. However the mail.log's last output is at 2 something MYT.
Attached Files
File Type: txt bi01maillog.txt (13.2 KB, 3 views)
Sponsored Links
    #2  
Old Unix and Linux 05-14-2016   -   Original Discussion by anaigini45
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 19 November 2017, 7:33 PM EST
Location: NM
Posts: 11,239
Thanks: 571
Thanked 1,116 Times in 1,030 Posts
You appear to have several problems:
The DSN error (I believe) is related to network issue caused by a DSN failure - probably because the DSN server is not configured to allow reverse lookups.

The other is a real deal killer
putbody write error usually means there was a serious problem writing a pipe (special
type of file) because of some issue with disk space on the device where the mbox file for the sending user's mbox file lives. The sending mbox does NOT necessarily belong to root, BTW.

Here is an error reference: from ( [Chapter 36] 36.5 sendmail's exit() Status )




Code:
 36.5.3 EX_IOERR A System I/O Error Occurred

An exit value of EX_IOERR (the value 74) means that a serious operating system error occurred. This class of error relates mostly to disk I/O.

If the body of a mail message could not be read, the following error message is logged:

    putbody: df
    qid
    : read error

The file may have vanished because of a disk crash and may have been restored to lost+found . 
The qid is the queue identifier that will help you to find the qf file. Inside that qf file are an I line that give the inode and major and minor device 
numbers of the disk that held the df file (see Section 23.9.7, I line ).

An error that occurs while writing to the pipe (2) connection to a delivery agent causes the following error to be logged and for the fork (2)'d child to exit with EX_CONFIG:
putbody: write error

Suggestion -
1. try compressing those files then sending them as an attachment.
2. check disk space and disk quota rules.
3. find the problem device
Sponsored Links
    #3  
Old Unix and Linux 05-17-2016   -   Original Discussion by anaigini45
anaigini45 anaigini45 is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 17 November 2017, 5:01 AM EST
Posts: 97
Thanks: 4
Thanked 0 Times in 0 Posts
I also check /var/adm/syslog/syslog.log and found errors like :


Code:
May 14 02:20:37 L28bi01 vmunix: msgcnt 43 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol10 file system full (1 block extent)
May 14 02:21:02 L28bi01 vmunix: msgcnt 45 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol10 file system full (1 block extent)
May 14 02:21:15 L28bi01 vmunix: msgcnt 47 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol10 file system full (1 block extent)
May 14 02:22:15 L28bi01 vmunix: msgcnt 49 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol10 file system full (1 block extent)
May 14 02:23:16 L28bi01 vmunix: msgcnt 51 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol10 file system full (1 block extent)

This lv represents the /var directory which was 100% utilized. As far as I understand, this directory holds system files and logs, etc. It does not contain the files/reports that need to be sent to people's email addresses(the main problem here).

How does housekeeping this /var directory resolve this issue?

In fact after I housekeeped this dir (reduced from 100% to 79% usage), and restarted sendmail, the email relay issue has not reoccurred.
    #4  
Old Unix and Linux 06-10-2016   -   Original Discussion by anaigini45
anaigini45 anaigini45 is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 17 November 2017, 5:01 AM EST
Posts: 97
Thanks: 4
Thanked 0 Times in 0 Posts
Mail server issue reoccurred

The mail server issue has reoccurred, however this time, all the mailbox servers are affected. There are about 10 - 12 mailbox servers which are not sending emails out.

The email relay server is also included here.

The email relay server is not pingable from the affected servers, but they are pingable from the jumpbox which is used to access these mailbox servers.

From the logs (mail.log) that I have checked from one of the servers, it shows "Connection timed out" error to the email relay server.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to receive mails in unix ..... ankitknit UNIX for Dummies Questions & Answers 7 08-23-2012 08:28 AM
postfix config: how to relay mails for only one user of a certain domain lpacor UNIX for Dummies Questions & Answers 2 02-23-2012 12:34 PM
postfix config: how to relay mails for only one user of a certain domain lpacor UNIX and Linux Applications 0 02-23-2012 11:24 AM
Send Receive Mails NirajThakar Shell Programming and Scripting 0 09-21-2011 07:24 AM
Unable to receive mails richajoy AIX 2 09-06-2010 09:13 AM



All times are GMT -4. The time now is 03:48 AM.