HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail w/out DNS
Operating System - HP-UX
1837219
Members
2184
Online
110115
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-09-2004 07:34 AM
07-09-2004 07:34 AM
Sendmail w/out DNS
Good day,
I have some HPUX systems in a DMZ environment and would like to be
able to use monitoring scripts for Oracle etc. I placed a Postfix
relay server in the DMZ and it seems to be working OK. The problem I
am having is with the HP systems.
When I send an email to "username" sendmail forwards it to my postfix
system which delivers it. When I send to user@domain.com sendmail
errors with "Transient parse error". I know this is a DNS issue and I
am trying to find a way around. The HP systems need to forward all
mail to the postfix server without checking DNS.
The HP systems are in a DMZ using Hosts files for resolution. They do
not have a fqdn. They are production-controlled systems so I cannot
recompile sendmail or install postfix. This also prevents me from
using DNS.
Thanks in advance for any help.
Snip from sendmail.cf:
##################
# local info #
##################
Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/sendmail.cw
# class U: known direct UUCP connections
FU-o /etc/mail/uucp-hosts
# class S defines hosts to which you connect directly for SMTP mail
FS/etc/hosts.smtp
# UUCP relay for unresolved ! addresses (via UUCP)
DX
# UUCP relay for unresolved ! addresses (via SMTP)
DWserver1
# my official domain name
# ... define this only if sendmail cannot automatically determine
your domain
Djdomain.com
# Class P contains only a dot
CP.
# "Smart" relay host (may be null)
DSserver1.domain.com
# LUSER-RELAY
# The site to which mails to unknown users should be forwarded.
# To use this feature please uncomment the rules in the third
# section of ruleset 5.
# place to which unknown users should be forwarded
#Kuser user -m -a<>
DLserver1
# operators that cannot be in local usernames (i.e., network
indicators)
CO @ % !
# a class with just dot (for identifying canonical names)
C..
# a class with just a left bracket (for identifying domain literals)
C[[
# Mailer table (overriding domains)
Kmailertable dbm -o /etc/mail/mailertable
# Domain table (adding domains)
#Kdomaintable dbm -o /etc/mail/domaintable
# Generics table (mapping outgoing addresses)
#Kgenerics dbm -o /etc/mail/genericstable
# Virtual user table (maps incoming users)
#Kvirtuser dbm -o /etc/mail/virtusertable
# Resolve map (to check if a host exists in check_mail)
#Kresolve host -a -T
#If you need to use LDAP, uncomment the following line, change the
#ldap_server_name and search base in the line below and uncomment
#the two rules imediately following comment line
# "LDAP support" in ruleset S5.
#Kldap ldapx -k"uid=%s" -v"mail" -h"ldap_server_name" -
b"o=organization, c=US"
# Hosts that will permit relaying ($=R)
FR-o /etc/mail/relay-domains
# who I send unqualified names to (null means deliver locally)
DRserver1.domain.com
# who gets all local email traffic ($R has precedence for unqualified
names)
DHserver1.domain.com
# dequoting map
Kdequote dequote
# class E: names that should be exposed as from this host, even if we
masquerade
# class L: names that should be delivered locally, even if we have a
relay
# class M: domains that should be converted to $M
#CL root
CE root
CMdomain.com
# who I masquerade as (null for no masquerading) (see also $=M)
DMdomain.com
# my name for error messages
DnMAILER-DAEMON
CPREDIRECT
# Configuration version number
DZ8.9.3
# X.400 relay if X.400 delivery agent is not local
DP
# OpenMail relay if OpenMail delivery agent is not local
DQ
I have some HPUX systems in a DMZ environment and would like to be
able to use monitoring scripts for Oracle etc. I placed a Postfix
relay server in the DMZ and it seems to be working OK. The problem I
am having is with the HP systems.
When I send an email to "username" sendmail forwards it to my postfix
system which delivers it. When I send to user@domain.com sendmail
errors with "Transient parse error". I know this is a DNS issue and I
am trying to find a way around. The HP systems need to forward all
mail to the postfix server without checking DNS.
The HP systems are in a DMZ using Hosts files for resolution. They do
not have a fqdn. They are production-controlled systems so I cannot
recompile sendmail or install postfix. This also prevents me from
using DNS.
Thanks in advance for any help.
Snip from sendmail.cf:
##################
# local info #
##################
Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/sendmail.cw
# class U: known direct UUCP connections
FU-o /etc/mail/uucp-hosts
# class S defines hosts to which you connect directly for SMTP mail
FS/etc/hosts.smtp
# UUCP relay for unresolved ! addresses (via UUCP)
DX
# UUCP relay for unresolved ! addresses (via SMTP)
DWserver1
# my official domain name
# ... define this only if sendmail cannot automatically determine
your domain
Djdomain.com
# Class P contains only a dot
CP.
# "Smart" relay host (may be null)
DSserver1.domain.com
# LUSER-RELAY
# The site to which mails to unknown users should be forwarded.
# To use this feature please uncomment the rules in the third
# section of ruleset 5.
# place to which unknown users should be forwarded
#Kuser user -m -a<>
DLserver1
# operators that cannot be in local usernames (i.e., network
indicators)
CO @ % !
# a class with just dot (for identifying canonical names)
C..
# a class with just a left bracket (for identifying domain literals)
C[[
# Mailer table (overriding domains)
Kmailertable dbm -o /etc/mail/mailertable
# Domain table (adding domains)
#Kdomaintable dbm -o /etc/mail/domaintable
# Generics table (mapping outgoing addresses)
#Kgenerics dbm -o /etc/mail/genericstable
# Virtual user table (maps incoming users)
#Kvirtuser dbm -o /etc/mail/virtusertable
# Resolve map (to check if a host exists in check_mail)
#Kresolve host -a
#If you need to use LDAP, uncomment the following line, change the
#ldap_server_name and search base in the line below and uncomment
#the two rules imediately following comment line
# "LDAP support" in ruleset S5.
#Kldap ldapx -k"uid=%s" -v"mail" -h"ldap_server_name" -
b"o=organization, c=US"
# Hosts that will permit relaying ($=R)
FR-o /etc/mail/relay-domains
# who I send unqualified names to (null means deliver locally)
DRserver1.domain.com
# who gets all local email traffic ($R has precedence for unqualified
names)
DHserver1.domain.com
# dequoting map
Kdequote dequote
# class E: names that should be exposed as from this host, even if we
masquerade
# class L: names that should be delivered locally, even if we have a
relay
# class M: domains that should be converted to $M
#CL root
CE root
CMdomain.com
# who I masquerade as (null for no masquerading) (see also $=M)
DMdomain.com
# my name for error messages
DnMAILER-DAEMON
CPREDIRECT
# Configuration version number
DZ8.9.3
# X.400 relay if X.400 delivery agent is not local
DP
# OpenMail relay if OpenMail delivery agent is not local
DQ
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 07:44 AM
07-09-2004 07:44 AM
Re: Sendmail w/out DNS
Is this section in your particular sendmail.cf file
# "Smart" relay host (may be null)
DSserver1.domain.com
actually pointing to your postfix server or what is above is a straight copy of what you have ?
I think you can specify your postfix server as a smart relay and achieve what you wish to do, something like:
DSpostfix_server.mycompany.com
# "Smart" relay host (may be null)
DSserver1.domain.com
actually pointing to your postfix server or what is above is a straight copy of what you have ?
I think you can specify your postfix server as a smart relay and achieve what you wish to do, something like:
DSpostfix_server.mycompany.com
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 07:44 AM
07-09-2004 07:44 AM
Re: Sendmail w/out DNS
Can you add the FQDN to /etc/hosts? for each host as well as server1.domain.com
Rgds...Geoff
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 08:00 AM
07-09-2004 08:00 AM
Re: Sendmail w/out DNS
server1.domain.com is my postfix server.
The following email message will works:
sendmail -v -s "test" user1
This does not
sendmail -v -s "test" user1@domain.com
Domain.com is our internal domain which can be seen from the DMZ servers except for the Postfix server.
sendmail output:
# sendmail -v unixadmins
test
.
unixadmins... Connecting to server1.domain.com via relay...
220 server1.domain.com ESMTP Postfix
>>> EHLO domain.com
250-server1.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
>>> MAIL From: SIZE=5
250 Ok
>>> RCPT To:
250 Ok
>>> DATA
354 End data with.
>>> .
250 Ok: queued as 3A47564CE
unixadmins... Sent (Ok: queued as 3A47564CE)
Closing connection to server1.domain.com
- - - - - - - - - - - - - - - - - - -
# sendmail -v unixadmins@domain.com
domain.com: Name server timeout
unixadmins@domain.com... Transient parse error -- message queued for future delivery
.
unixadmins@domain.com... queued
The following email message will works:
sendmail -v -s "test" user1
This does not
sendmail -v -s "test" user1@domain.com
Domain.com is our internal domain which can be seen from the DMZ servers except for the Postfix server.
sendmail output:
# sendmail -v unixadmins
test
.
unixadmins... Connecting to server1.domain.com via relay...
220 server1.domain.com ESMTP Postfix
>>> EHLO domain.com
250-server1.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
>>> MAIL From:
250 Ok
>>> RCPT To:
250 Ok
>>> DATA
354 End data with
>>> .
250 Ok: queued as 3A47564CE
unixadmins... Sent (Ok: queued as 3A47564CE)
Closing connection to server1.domain.com
- - - - - - - - - - - - - - - - - - -
# sendmail -v unixadmins@domain.com
domain.com: Name server timeout
unixadmins@domain.com... Transient parse error -- message queued for future delivery
.
unixadmins@domain.com... queued
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP