- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail trouble
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 12:34 AM
тАО03-08-2005 12:34 AM
sendmail trouble
I use sendmail on my HP-UX server in order to sent mail to MS exchange server, and in order to forward mail from root.
until I used name resolution by /etc/hosts, I had no trouble. when I reboot my server. All my mail was put in queue in /var/spools/mqueue.
I check the following things :
delete the /.forward file
result : I can sent meail to root@localhost
I try to sent mail to my email ardesse that's worked befor reboot.
Result : (root@uncr07:/etc/mail)#sendmail -v t.pavic@snpe.com
t.pavic@snpe.com... snpe.com: Name server timeout
t.pavic@snpe.com... Transient parse error -- message queued for future delivery
The resolution use both /etc/host & dns
(root@uncr07:/etc/mail)#nslookup w2ksm02
Using /etc/hosts on: uncr07
looking up FILES
Name: w2ksm02
Address: 135.0.5.13
Aliases: mailhost
Telnet mailhost
I connect succesfully to the MS mailhost in telnet 25
So, what is wrong !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 12:43 AM
тАО03-08-2005 12:43 AM
Re: sendmail trouble
nslookup "ip_of_smart_rely"
Is that OK??
/usr/sbin/expand_alias t.pavic@snpe.com
Is that OK?? What does file /etc/mail/service.switch look like?? (Cetain versions of sendmail still use this file)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 12:56 AM
тАО03-08-2005 12:56 AM
Re: sendmail trouble
nslookup w2ksm02
Using /etc/hosts on: uncr07
looking up FILES
Name: w2ksm02
Address: 135.0.5.13
Aliases: mailhost
nslookup w2ksm02
Using /etc/hosts on: uncr07
looking up FILES
Name: w2ksm02
Address: 135.0.5.13
Aliases: mailhost
nslookup 135.0.5.13
Using /etc/hosts on: uncr07
looking up FILES
Name: w2ksm02
Address: 135.0.5.13
Aliases: mailhost
(root@uncr07:/etc/mail)#grep mailhost /etc/hosts
135.0.5.13 w2ksm02 mailhost
cat /etc/mail/service.switch
hosts dns files
aliases files
cat /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
sendmail.cf is
DSmailhost
(root@uncr07:/etc/mail)#/usr/sbin/expand_alias t.pavic@snpe.com
Unexpected output: t.pavic@snpe.com: Host name lookup failure
One one hand, it seems that I resolv the name / ip adress of my mailhost.
nslookup seems good, the telnet 25 too.
But when I try to send a mail, no communication.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 01:05 AM
тАО03-08-2005 01:05 AM
Re: sendmail trouble
1) Port 25 is blocked by firewall or a relay mail server that does not explicitly allow relay from your host/ip
2) That name lookups are failing, or the outside ISP that resolves outside names is not answering requests.
The area to look is nsswitch.conf and make sure there is good communication with the name resolving servers in /etc/resolv.conf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 01:09 AM
тАО03-08-2005 01:09 AM
Re: sendmail trouble
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 01:24 AM
тАО03-08-2005 01:24 AM
Re: sendmail trouble
I think that ,with the change of resolution type I have to change a set of parameter, in sendmail.cf maybe more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 01:30 AM
тАО03-08-2005 01:30 AM
Re: sendmail trouble
Now try sending it from there. If it goes we can isolate problem.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2005 07:56 PM
тАО03-09-2005 07:56 PM
Re: sendmail trouble
Telnet mailhost 25
(root@uncr07:/etc/mail)#telnet w2ksm02 25
Trying...
Connected to w2ksm02.
Escape character is '^]'.
220 W2KSM02.groupe.net Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Mon, 7 Mar 2005 16:57:39 +0100
vrfy root@uncr07
550 5.7.1 Cannot relay to
vrfy t.pavic@snpe.com
252 2.1.5 Cannot VRFY user, but will take message for
quit
221 2.0.0 W2KSM02.groupe.net Service closing transmission channel
Connection closed by foreign host.
(root@uncr07:/etc/mail
(root@uncr07:/etc/mail)#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 07:54 PM
тАО04-13-2005 07:54 PM
Re: sendmail trouble
update /etc/mail/sendmail.cf file
update Dj macro
Dj$w.xxxx.net
update DS macro
DSxxxx.net
put the following line in comment
# pass to name server to make hostname canonical
# R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
Modifiy F=mDFMuX by F=0DFMuX
Msmtp, P=[IPC], F=0DFMuX, S=11/31, R=21, E=\r\n, L=990,
update /etc/nsswich.conf file
hosts: files dns [NOTFOUND=continue] [UNAVAIL=continue] [TRYAGAIN=continue]
stop and start sendmail