Unable to receive mails from email relay server


 
Thread Tools Search this Thread
Operating Systems HP-UX Unable to receive mails from email relay server
# 1  
Old 05-14-2016
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.
# 2  
Old 05-14-2016
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
# 3  
Old 05-17-2016
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 06-10-2016
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to receive mails in unix .....

HI experts, By using mailx command i can send mails to any email id. and my DNS is like oper@xyz.com ..... but if someone replied to the mail sent earlier using mailx command. then how to recieve or view that mail ... Is dre any command to do the same ... Im working on some project and got... (7 Replies)
Discussion started by: ankitknit
7 Replies

2. UNIX for Dummies Questions & Answers

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (2 Replies)
Discussion started by: lpacor
2 Replies

3. UNIX and Linux Applications

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (0 Replies)
Discussion started by: lpacor
0 Replies

4. UNIX for Advanced & Expert Users

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (0 Replies)
Discussion started by: lpacor
0 Replies

5. Shell Programming and Scripting

Send Receive Mails

Hi All, I am writing one script to automate one long process. In this process we need to upload some input files and download some output files. So , I want to automate this upload and download by using mail functionality. I want to trigger this script when I am sending mail to server. I know... (0 Replies)
Discussion started by: NirajThakar
0 Replies

6. AIX

Unable to receive mails

Hi, can any one help as i am unable to receive mail to outlook mail box from aix box. Kindly help. (2 Replies)
Discussion started by: richajoy
2 Replies

7. UNIX for Dummies Questions & Answers

Steps to configure sendmail to receive e-mails

Hi Unix Gurus, Please help me out here. Please tell me the steps to conigure sendmail to receive emails (same way we configure outlook client in windows)? Thanks in advance. -Dejavu (1 Reply)
Discussion started by: DejaVu
1 Replies
Login or Register to Ask a Question