Operating System - HP-UX
1827459 Members
3997 Online
109965 Solutions
New Discussion

mail aliases not creating alias.db file

 
HPP
Regular Advisor

mail aliases not creating alias.db file

Guys,
I installed Patch for sendmail on HP-UX 11.00. If i try to start sendmial, it gives the following error:
"newaliases: cannot open /etc/mail/aliases: Group writable file"

Its does not create aliases.db file, when i start sendmail. In the syslog i am seeing "alias database "/etc/mail/aliases.pag" out of date. I did remove aliases.db and aliases.pag file and ran newliases and sendmail -bi, still i get the same error.

when i restart sendmail, the following error appears in syslog
Jan 17 11:59:24 pinto sendmail[14860]: Warning: .cf file is out of date: sendmail 8.9.3 (PHNE_24419) supports version 8, .cf file is version 6
Jan 17 11:59:24 pinto sendmail[14862]: starting daemon (8.9.3 (PHNE_24419)): SMTP+queueing@00:30:00
Jan 17 11:59:24 pinto sendmail[14863]: NOQUEUE: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jan 17 11:59:24 pinto sendmail[14863]: NOQUEUE: SYSERR(root): dbm map "Alias0": missing map file /etc/mail/aliases



Any input!!!!!
Be Teachable
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: mail aliases not creating alias.db file

Are you root? What are the permissions on the /etc/mail files?

live free or die
harry
Live Free or Die
Uday_S_Ankolekar
Honored Contributor

Re: mail aliases not creating alias.db file

Hi,

/etc/mail/aliases file should have following permissions..

-rw-r--r-- 1 root sys aliases

Also same for the aliases.db file.

Run newaliases to create new aliases file.

Or Restart the sendmail by /sbin/init.d/sendmail stop and then /sbin/init.d/sendmail start

-USA..
Good Luck..