I am having a problem with sendmail. When I attempt to use the "newaliases" command, I get the following error:
/etc/mail# newaliases hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory WARNING: cannot open alias database /etc/mail/aliases Cannot create database for alias file /etc/mail/aliases If I look at /var/adm/messages I get the following error messages: Jan 16 14:16:32 calm-dmz-8 sendmail[16464]: [ID 702911 mail.warning] gethostbyaddr(202.1.18.130) failed: 1 Jan 16 14:16:32 calm-dmz-8 sendmail[16464]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied Jan 16 14:16:32 calm-dmz-8 sendmail[16464]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory Jan 16 14:16:32 calm-dmz-8 sendmail[16464]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): Cannot create database for alias file /etc/mail/aliases Does anybody have any clues as to what is going on? The permissions for the /etc/mail directory appear to be OK as they are for the aliases.db file: /etc/mail# ls -al total 254 drw-r--r-- 3 root mail 1024 Jan 16 10:29 . drwxr-xr-x 38 root sys 4608 Jan 16 11:25 .. -rw-r--r-- 1 root bin 1168 Jan 16 10:31 aliases -rw-r--r-- 1 root smmsp 40960 Nov 16 2004 aliases.db -rw-r--r-- 1 root bin 5350 Aug 10 2006 helpfile -rw-r--r-- 1 root bin 0 Jan 15 14:48 local-host-names -rw-r--r-- 1 root bin 163 Nov 15 2004 Mail.rc -rw-r--r-- 1 root bin 1839 Nov 15 2004 mailx.rc -r--r--r-- 1 root bin 38540 Nov 15 2004 main.cf drwxr-xr-x 2 root root 512 Jan 15 15:50 old_config_files -r--r--r-- 1 root bin 39877 Apr 5 2007 sendmail.cf lrwxrwxrwx 1 root root 8 Nov 15 2004 sendmail.hf -> helpfile -rw-r--r-- 1 root bin 40216 Apr 5 2007 submit.cf -r--r--r-- 1 root bin 38680 Oct 11 2006 subsidiary.cf -rwxr-xr-x 1 root other 39877 Apr 5 2007 subsidiary.cf.new -rw-r--r-- 1 root bin 5 Jan 16 11:04 trusted-users This message posted from opensolaris.org
