- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail as MTA without DNS
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
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
тАО10-18-2004 09:19 PM
тАО10-18-2004 09:19 PM
I'm running HPUX 11i, and want to use sendmail only as an MTA (without sendmail server). My prob is that my server isn't able connect to a DNS server (cause of DMZ).
i set my hosts file to resolv my smtp server (and all the ip bellow) and change the DS and DJ var in the sendmail.cf to :
DSsmtp.my.com
Djmy.com (i make try without this option too)
Using mailx or fastmail, it doesn't work :
in /var/adm/syslog/mail.log i get :
Oct 19 10:43:20 angie sendmail[974]: NAA18435: to=cgayet@my.com, delay=3+21:05:46, mailer=relay, relay=smtp.my.com, stat=Transient parse error -- message queued for future delivery
the output of the sendmail -v -d8.32 command :
# sendmail -v -d8.32 -qNAA18435
;; res_querydomain(angie, my.com, 1, 1)
;; res_query(angie.my.com, 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
Invalid time unit `N'
Invalid time unit `A'
Invalid time unit `A'
;; res_query(12.2.168.192.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(12.0.0.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
#
Sendmail as MTA doesn't work whereas i'm able to send mails using telnet (telnet smtp.my.com 25). I want to send mails in sh scripts, is there a way to make the MTA working or to send mail in command line without using sendmail ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 10:32 PM
тАО10-18-2004 10:32 PM
Re: Sendmail as MTA without DNS
sendmail -v -d8.99 -d38.99 cgayet@my.com
look like DNS error -not able to reach the my.com MX). But i'm looking for a way to send mails directly to my smtp relay (i don't see anything form my server in its log)
.
any idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 10:34 PM
тАО10-18-2004 10:34 PM
Re: Sendmail as MTA without DNS
Do i have to set a switch.conf file ?
# cat /etc/mail/service.switch
##
hosts files
aliases files
##
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 10:45 PM
тАО10-18-2004 10:45 PM
Re: Sendmail as MTA without DNS
If you don't have this file, which is quite possible as it's the default, then copy the file /etc/nsswitch.files to /etc/nsswitch.conf. This will ensure a "files only" lookup configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 11:11 PM
тАО10-18-2004 11:11 PM
Re: Sendmail as MTA without DNS
It works.
Thx for your time.
C.