Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

Senmail configuration problem..,,,

SOLVED
Go to solution
Kannandgl_1
Frequent Advisor

Senmail configuration problem..,,,

Hi Friends,

Now tying to configured send mail in my hp-ux server...
we are not using the dns server... this server locally connected to the network.

i am facing some problem in configuration time.
-----------------------------------
1.more qfm9M7plh03665
V4
T1224661907
K1224661907
N1
P10739
I64/8/48234
Mhost map: lookup (xxx.gov.bh): deferred
Fb
$_root@localhost
Sroot
Aroot@+81w.xxx.gov.bh
----------------------------
2.I am already edit with /etc/mail/sendmail.cf and /etc/hosts file.
3.I can apple to ping my mail server [ with ip and host name] i don't what was the problem.

Pls any one help on this condition...

with regards
kanmani
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Senmail configuration problem..,,,

Shalom,

Mhost map: lookup (xxx.gov.bh): deferred
Key issue.

By default sendmail tries to look up the target address, resolve the DNS name and then connect through smtp port 25 and send the mail.

This will not work with most corporate or government secure networks.

Therefore you need to find out what server your organization uses to relay mail.


Then in sendmail.cf

DShostname_of_relay_server

This is an example

You can bypass DNS lookup and speed things up.

DS
[192.168.0.10]

Where that IP address is the address of the relay server.

Both of the above are examples and you need to get good information before implementing from your network department.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

# restarts sendmail

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Aneesh Mohan
Honored Contributor
Solution

Re: Senmail configuration problem..,,,


Hi,

Can you confirm your smtp-relay server listed in sendmail.cf file

#grep "^DS"/etc/mail/sendmail.cf

Please post the o/p of

#sendmail -v -d8.99 -d38.99 yourname@domain.com


Aneesh
Kannandgl_1
Frequent Advisor

Re: Senmail configuration problem..,,,

Hi Aneesh Mohan ,

As per command executing at the time i am getting the following error.
=========================================
# sendmail -v -d8.99 -d38.99 kannan.vellaisamy@mew.gov.bh
;; res_querydomain(hogisdata2, , 1, 1)
;; res_query(hogisdata2., 1, 1)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
seq_map_parse(aliases.files, )
;; res_query(2.10.10.10.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
;; res_query(45.1.38.10.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
openmap() dequote:dequote NULL: valid
openmap() host:host NULL: valid
getcanonname(mew.gov.bh), trying dns
dns_getcanonname(mew.gov.bh, trymx=1)
dns_getcanonname: trying mew.gov.bh. (ANY)
;; res_querydomain(mew.gov.bh, , 1, 255)
;; res_query(mew.gov.bh., 1, 255)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
NO: errno=239, h_errno=2
dns_getcanonname: trying mew.gov.bh. (AAAA)
;; res_querydomain(mew.gov.bh, , 1, 28)
;; res_query(mew.gov.bh., 1, 28)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
NO: errno=239, h_errno=2
getcanonname(mew.gov.bh), failed, status=75
mew.gov.bh: Name server timeout
kannan.vellaisamy@mew.gov.bh... Transient parse error -- message queued for futu re delivery
========================================
1.i can able to ping my mail server.(mew.gov.bh).