Operating System - HP-UX
1850854 Members
2624 Online
104056 Solutions
New Discussion

Re: sendmail error ... still working on it .. !

 
someone_4
Honored Contributor

sendmail error ... still working on it .. !

I am still working on sendmail uggg !
im feel like I am soo close ..
here is the error I get when i do a
sendmail -v
where do I add users ?
and which .cf file do I have to fix.
/etc/mail or /usr/newconfig/etc/mail
I an using HPUX 11.00 and send mail 8.9.3

# sendmail -v richardl@mydomain.net
WARNING: local host name (hercules) is not qualified; fix $j in config file
richardl@mydomain.net... User unknown
5 REPLIES 5
Maureen Gunkel
Trusted Contributor

Re: sendmail error ... still working on it .. !

Richard,
I think you need to set the $j parameter in the /etc/mail/sendmail.cf file.
Just a thought . . .
Mo
No matter where you go, there you are.
James R. Ferguson
Acclaimed Contributor

Re: sendmail error ... still working on it .. !

Richard:

The /etc/mail/sendmail.cf file is the one you want to edit. Files in /usr/newconfig/ are TEMPLATES for reference and/or for you to COPY and modify.

Look in your /etc/mail/snedmail.cf file. There is documentation that notes:

If you see this warning: 'WARNING: local host name (sys1) is not qualified; fix $j in config file' then you need to uncomment the Dj macro and add your domain. Change the line:

#Dj$w.Foo.COM

to:
Dj$w.hp.com where hp.com would be the name of your domain. The warning message will go away.

...JRF...
Mike McJunkin
New Member

Re: sendmail error ... still working on it .. !

Part of your problem may be host name resolution. You list yourself as richard@mydomain.net. While it is common to list email addresses at the domain level versus host level, there has to be a DNS record (or hosts file entry) that maps "mydomain.net" back to your mail server (hercules.mydomain.net??). Try mailing to "richard@hercules.mydomain.net". Also verify hercules is properly identified in DNS or /etc/hosts as both hercules and hercules.mydomain.net. Are you trying to mail to an established mail server? They may have 'antispoofing' turned on - i.e., they accept internal mail only from hosts in "theirdomain.net" - thus the need for the $Dj macro. Finally, is your nsswitch file correct? Pointing to /etc/hosts versus DNS in the correct order?
someone_4
Honored Contributor

Re: sendmail error ... still working on it .. !

well I got everything working .. but I still cant connect to POP3. My goal is to set up sendmail as a full POP3/SMTP mail server.
Rick Garland
Honored Contributor

Re: sendmail error ... still working on it .. !

The sendmail program is a *&^%$#@. Just my oponion. I do remember many nights spent going through and learning differnet aspects of it. Still do not have a good feel for it.

My gut feeling is that Eric Allman is teaching an ancient Chinese dialect in Tibet.

Anyway, I do not think the sendmail will allow for POP3 connections. SMTP OK.