From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718212010.tru64-unix-managers.marc@archive.invalid> From: Daniel.Clar () supelec ! fr (Daniel Clar) Date: Fri, 28 Aug 1998 10:30:50 +0000 To: tru64-unix-managers Subject: Partial SUMMARY: sendmail 8.9.1 and *aliases* file X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718212010 The original posting was : >I was still running the standard sendmail 5.65 > >I've just compiled sendmail 8.9.1 with the latest patch and when trying to >use it in test mode, I have the following error messages : > ># /usr/sbin/sendmail.8.9.1 -bt >WARNING: Group writable directory /var >hash map "revaliases": unsafe map file /var/adm/sendmail/revaliases.db: >Group writable directory >hash map "Alias0": unsafe map file /var/adm/sendmail/aliases.db: Group >writable directory >dbm map "Alias0": unsafe map file /var/adm/sendmail/aliases >WARNING: cannot open alias database /var/adm/sendmail/aliases; reading text >version >ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) >Enter
> >I suppose that all the "Group writable directory" are just warning. > >Then I've tried to recreate aliases and revaliases files and got some other >problems : ># /usr/sbin/sendmail.8.9.1 -bi -oA/var/adm/sendmail/aliases >WARNING: Group writable directory /var >hash map "revaliases": unsafe map file /var/adm/sendmail/revaliases.db: >Group writable directory >WARNING: Group writable directory /var >hash map "Alias0": unsafe map file /var/adm/sendmail/aliases.db: Group >writable directory >dbm map "Alias0": unsafe map file /var/adm/sendmail/aliases >WARNING: cannot open alias database /var/adm/sendmail/aliases >Cannot create database for alias file /var/adm/sendmail/aliases ># /usr/sbin/sendmail.8.9.1 -bi -oA/var/adm/sendmail/revaliases >WARNING: Group writable directory /var >hash map "revaliases": unsafe map file /var/adm/sendmail/revaliases.db: >Group writable directory >WARNING: Group writable directory /var >hash map "Alias0": unsafe map file /var/adm/sendmail/revaliases.db: Group >writable directory >dbm map "Alias0": unsafe map file /var/adm/sendmail/revaliases >WARNING: cannot open alias database /var/adm/sendmail/revaliases >Cannot create database for alias file /var/adm/sendmail/revaliases > >So it's impossible to create new versions. > >Thank you for your help. Thanks to : Graham Allan Tom Webster Tom Smith Felix Maurer The solution is to remove the w permission for the group on the /var directory, but all is not resolved. When is issue the sendmail -bi command , for each line of the aliases file, I've the following error message: /var/adm/sendmail/aliases: line 363: Daniel.Clar... cannot alias non-local names and here is the line 363 in the /var/adm/sendmail/aliases file : Daniel.Clar: dc@alpha The result is of course ; /var/adm/sendmail/aliases: 0 aliases, longest 0 bytes, 0 bytes total Which is not very good ... How to explain that these users are local ? Daniel o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o | Daniel Clar e-mail : Daniel.Clar@supelec.fr | | Computer Operations Manager : dc@supelec.fr | | Service Informatique Supelec and | | Plateau de Moulon DECUSF::CLAR_D or | | 91192 Gif sur Yvette Cedex - France Daniel.Clar@decus.fr | | Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 | o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o