- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring sendmail
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
Forums
Discussions
Discussions
Discussions
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
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
01-05-2004 02:13 PM
01-05-2004 02:13 PM
Configuring sendmail
in the log i swa a lot of messages :
Jan 6 10:44:23 sapqa sendmail[5310]: unable to qualify my own domain name (sapqa) -- using shor
t name
Jan 6 10:44:23 sapqa sendmail[5310]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 10:44:23 sapqa sendmail[5310]: KAA05310: to=stop, delay=00:00:00, mailer=local, stat=User
unknown
Jan 6 10:45:20 sapqa sendmail[5379]: unable to qualify my own domain name (sapqa) -- using shor
t name
Jan 6 10:45:20 sapqa sendmail[5379]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 10:46:01 sapqa sendmail[5433]: unable to qualify my own domain name (sapqa) -- using shor
t name
Jan 6 10:46:01 sapqa sendmail[5433]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 10:46:01 sapqa sendmail[5433]: KAA05433: to=stop, delay=00:00:00, mailer=local, stat=User
unknown
Jan 6 10:46:26 sapqa sendmail[5460]: unable to qualify my own domain name (sapqa) -- using shor
t name
Jan 6 10:46:26 sapqa sendmail[5460]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 10:50:02 sapqa sendmail[5739]: unable to qualify my own domain name (sapqa) -- using shor
t name
Jan 6 10:50:02 sapqa sendmail[5739]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 10:50:02 sapqa sendmail[5739]: KAA05739: forward /home/informix/.forward.sapqa: World wri
table directory
Jan 6 10:50:02 sapqa sendmail[5739]: KAA05739: forward /home/informix/.forward: World writable
directory
Jan 6 10:50:02 sapqa sendmail[5739]: KAA05739: from=root, size=263, class=0, pri=30263, nrcpts=
1, msgid=<200401060250.KAA05739@sapqa>, relay=root@localhost
Jan 6 10:50:02 sapqa sendmail[5741]: KAA05739: forward /home/informix/.forward.sapqa: World wri
table directory
Jan 6 10:50:02 sapqa sendmail[5741]: KAA05739: forward /home/informix/.forward: World writable
directory
Jan 6 10:50:02 sapqa sendmail[5741]: KAA05739: to=informix, ctladdr=root (0/3), delay=00:00:00,
xdelay=00:00:00, mailer=local, stat=Sent
because i'm new at this sendmail.. could somebody help me..
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 02:24 PM
01-05-2004 02:24 PM
Re: Configuring sendmail
If not, how have you set up your DNS?
Do you have a /etc/resolv.conf file?
contents
domain mydomain.com
nameserver 10.10.10.10
nameserver 10.20.20.20
Do you have a /etc/nsswitch.conf file?
if so what are the contents?
Also what are the permissions to /home/informix
and
/home/informix/.forward
There is a security problem with the file/and or directory permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:37 PM
01-05-2004 03:37 PM
Re: Configuring sendmail
-rw-r--r-- 1 root sys 4921 Mar 20 2000 #ntp.conf
-rw-r--r-- 1 root sys 600 Dec 13 2001 #pam_user.conf
-r--r--r-- 1 root bin 1559 Jan 28 1999 envd.conf
-r--r--r-- 1 bin bin 327 Oct 27 1997 gated.conf
-rw-r--r-- 1 root sys 5223 Feb 18 2003 inetd.conf
-r--r--r-- 1 root sys 15 Oct 27 1997 inetsvcs.conf
-r--r--r-- 1 bin bin 1006 Jun 7 1996 mrouted.conf
-rw-r--r-- 1 bin bin 0 Nov 9 2001 nettlgen.conf
-rw-r--r-- 1 root sys 4943 Oct 17 2001 ntp.conf
-rw-r--r-- 1 root root 8950 Nov 9 2001 oldnettlgen.conf
-r--r--r-- 1 root sys 1388 Nov 16 2001 pam.conf
-r--r--r-- 1 root sys 600 Dec 13 2001 pam_user.conf
-rw-r--r-- 1 root sys 7 Aug 10 10:43 pdclientd.conf
-r--r--r-- 1 bin bin 677 Nov 6 1997 rarpd.conf
lrwxr-xr-x 1 root sys 27 Oct 17 2001 snmpd.conf -> /etc/SnmpAgent.d/snmpd.c
onf
-r--r--r-- 1 bin bin 60 Nov 6 1997 stcp.conf
-r--r--r-- 1 bin bin 257 Jun 10 1996 syslog.conf
it's also very strange to me i can't stop the sendmail.
when i want to stop the sendmail.. it always hang with user unknown.
# sendmail stop
stop... User unknown
I just want to use the system relaying mail to our SMTP server. located in the LAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 06:29 PM
01-05-2004 06:29 PM
Re: Configuring sendmail
The command what u r trying in incorrect
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:08 PM
01-05-2004 07:08 PM
Re: Configuring sendmail
# ls -la *send*
-r-xr-xr-x 1 bin bin 3670 Apr 26 2000 sendmail
root @ SAPQA K370/4 [/sbin/init.d]
# sendmail stop
stop... User unknown
yes there is sendmail there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:10 PM
01-05-2004 07:10 PM
Re: Configuring sendmail
To stop sendmail, do /sbin/init.d/sendmail stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:19 PM
01-05-2004 07:19 PM
Re: Configuring sendmail
I want to activate the sendmail in my HP-UX so it can relay messages to internet users using my Internet SMTP Gateway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:21 PM
01-05-2004 07:21 PM
Re: Configuring sendmail
Jan 6 13:40:01 sapqa sendmail[19435]: unable to qualify my own domain name (sapqa) -- using sho
rt name
Jan 6 13:40:01 sapqa sendmail[19435]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 13:40:01 sapqa sendmail[19435]: NAA19435: forward /home/informix/.forward.sapqa: World wr
itable directory
Jan 6 13:40:01 sapqa sendmail[19435]: NAA19435: forward /home/informix/.forward: World writable
directory
Jan 6 13:40:01 sapqa sendmail[19435]: NAA19435: from=root, size=263, class=0, pri=30263, nrcpts
=1, msgid=<200401060540.NAA19435@sapqa.r3>, relay=root@localhost
Jan 6 13:40:02 sapqa sendmail[19437]: NAA19435: forward /home/informix/.forward.sapqa: World wr
itable directory
Jan 6 13:40:02 sapqa sendmail[19437]: NAA19435: forward /home/informix/.forward: World writable
directory
Jan 6 13:40:02 sapqa sendmail[19437]: NAA19435: to=informix, ctladdr=root (0/3), delay=00:00:01
, xdelay=00:00:00, mailer=local, stat=Sent
Jan 6 13:50:00 sapqa sendmail[20190]: unable to qualify my own domain name (sapqa) -- using sho
rt name
Jan 6 13:50:00 sapqa sendmail[20190]: be sure to set domain name in Dj macro in sendmail.cf
Jan 6 13:50:00 sapqa sendmail[20190]: NAA20190: forward /home/informix/.forward.sapqa: World wr
itable directory
Jan 6 13:50:00 sapqa sendmail[20190]: NAA20190: forward /home/informix/.forward: World writable
directory
Jan 6 13:50:01 sapqa sendmail[20190]: NAA20190: from=root, size=263, class=0, pri=30263, nrcpts
=1, msgid=<200401060550.NAA20190@sapqa.r3>, relay=root@localhost
Jan 6 13:50:01 sapqa sendmail[20192]: NAA20190: forward /home/informix/.forward.sapqa: World wr
itable directory
Jan 6 13:50:01 sapqa sendmail[20192]: NAA20190: forward /home/informix/.forward: World writable
directory
Jan 6 13:50:01 sapqa sendmail[20192]: NAA20190: to=informix, ctladdr=root (0/3), delay=00:00:01
, xdelay=00:00:00, mailer=local, stat=Sent
Jan 6 14:00:00 sapqa sendmail[20943]: unable to qualify my own domain name (sapqa) -- using sho
rt name
and this as when i try to sedn the mail
# sendmail -v "muda_ikhsan@jjsea.com"
muda_ikhsan@jjsea.com... jjsea.com: Name server timeout
muda_ikhsan@jjsea.com... Transient parse error -- message queued for future delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 08:30 PM
01-05-2004 08:30 PM
Re: Configuring sendmail
'muda_ikhsan@jjsea.com... jjsea.com: Name server timeout' -> sendmail can not resolv jjsea.com. First solve this. You can check your DNS settings with dig or nslookup.
'Jan 6 13:40:01 sapqa sendmail[19435]: unable to qualify my own domain name (sapqa) -- using sho
rt name
Jan 6 13:40:01 sapqa sendmail[19435]: be sure to set domain name in Dj macro in sendmail.cf'
This implies that your sendmail.cf still doesn't contain a valid Dj macro. Could it be you have 2 Dj lines, one overriding the other?
The world-writable directories should be closed up somewhat.
Try to solve easy problems first, just to filter out as many error/warning messages ASAP so you see the real problems better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 04:05 AM
01-06-2004 04:05 AM
Re: Configuring sendmail
root @ SAPQA K370/4 [/etc]
# nslookup jjsea.com
Using /etc/hosts on: sapqa
looking up FILES
Name: jjsea
Address: 192.168.101.102
Aliases: jjsea.com
root @ SAPQA K370/4 [/etc]
# sendmail -v "muda_ikhsan@jjsea.com"
muda_ikhsan@jjsea.com... jjsea.com: Name server timeout
muda_ikhsan@jjsea.com... Transient parse error -- message queued for future deli
very
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 04:16 AM
01-06-2004 04:16 AM
Re: Configuring sendmail
where hp.com would be the name of your domain.
# Then that warning message goes away.
#
Dj$w.localhost.com
CP.
# "Smart" relay host (may be null)
DS
# place to which unknown users should be forwarded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 08:21 AM
09-08-2004 08:21 AM
Re: Configuring sendmail
Sendmail is looking for the MX record....
Do it interactively:
nslookup
>set server sapqa
>set type=MX
>jjsea.com
What is in /etc/resolv.conf?
Add your domain name in /etc/hosts
X.X.X.X yourserever yourserver.yourdomain.com
Rgds...Geoff