- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail errors
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
03-25-2003 10:26 AM
03-25-2003 10:26 AM
sendmail errors
Cannot open hash database /etc/mail/aliases.db: Invalid argument
paula... User unknown
/root/dead.letter... Saved message in /root/dead.letter
There is an alias for paula in the alias file. HELP!! I have called this into the response center and have not gotten an answer yet - hoping someone else has run into this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 10:30 AM
03-25-2003 10:30 AM
Re: sendmail errors
newalias
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 10:31 AM
03-25-2003 10:31 AM
Re: sendmail errors
I think they need to be 640. There are recent security bulletins warning about having the permissions too lose on the /etc/mail files.
The aliases.db file is generated from the aliases file. The data there needs to be valid as well.
If it worked before and its broke now, check permissions.
Just as a check,
make sure nslookup returns good answers and sendmail.cf is there and hasn't been modified.
Lastly you might want to go through the gen_conf process and generate a new, compatible sendmail.cf file.
If you are forced to change anything, you'll probably need to restart the sendmail daemon
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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-25-2003 10:42 AM
03-25-2003 10:42 AM
Re: sendmail errors
I changed the permissions on everythign in the /etc/mail deirectory to 640 - stopped and started sendmail - same error message.
nslookup works fine - but should I be checking for something in particular??
sendmail .cf is there and looks okay to me - it has not been changed.
Do you have more info on the gen_conf process - I have never done that. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 10:54 AM
03-25-2003 10:54 AM
Re: sendmail errors
Do you know how to generate a hash database?
I'm attaching a linux script, that will require modification for HP-US.
Location and use of gen_conf
I blew the name.
Its called gen_cf
/usr/newconfig/etc/mail/cf/cf/gen_cf
You run it and take defaults and its supposed to generate a secure sendmail.cf file. I've not had to use it, but backup the old mail configuration before you use it.
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-25-2003 10:55 AM
03-25-2003 10:55 AM
Re: sendmail errors
Note the version of the compiled program and the sendmail.cf file, they need to be the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 11:10 AM
03-25-2003 11:10 AM
Re: sendmail errors
sendmail -bs
220 ewbs1.cinbell.com ESMTP Sendmail 8.11.1/8.7.1; Tue, 25 Mar 2003 14:09:49 -0500 (EST)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 09:02 AM
03-26-2003 09:02 AM
Re: sendmail errors
Sorry if this is too simplistic, but there should be an aliases file and an aliases.db file. The aliases.db file is a processed version of the plain-text aliases file. Try making sure that the aliases file is the plain-text one and delete aliases.db and run the "newaliases" command. Hopefully, that'll recreate the aliases.db file correctly.
Also, you might check your sendmail.cf file and see that "O AliasFille=" is set to your plain-text alias file.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 01:14 PM
03-26-2003 01:14 PM
Re: sendmail errors
Note the DS value in your old sendmail.cf file and add this into your new file. It should match your mail relay???s hostname or ip address.
Restart after stopping and changing.