Sendmail is complainging about the '/etc/mail/aliases' file because it is owned
by UUCP not ROOT. Also, sendmail is SUID'd to UUCP, which is not normal.
Sendmail considers any file writeable by anybody but root to be unsafe, unless
built to not do the checking.

There isn't any mention which version of sendmail that is being run, but from
some of the messages, I would guess somewhere around 8.8.0 or better.  As far
as the '$j' variable nto being set, try running sendmail with the ' -bt'
option, and have it display what '$j' (FQDN) is currently set to, and while
there check what $m (domain name) is set to.  If it is just the unqualified
host name, then you may want to add a line like "Dj$w.yourdomain.com" to
the sendmail.cf file. If $m isn't set, or not set correctly, add a line like
"Dmyourdomain.com'.

I would also recommend getting a copy of the O'Reilly book "Sendmail" second
edition.

-- 
Chris Riney
Tandy Information Services
UNIX vetran.

W Joel Gridley <[EMAIL PROTECTED]> wrote:
> Yes, could someone please answer Mr. Diefenbach? He has
> asked this question before, and I was dissappointed to see
> that no one answered, as I am also having issues regarding this.
> 
> At 10:11 AM 10/4/99 -0500, Les Diefenbach wrote:
> >I'm running Gauntlet 5.0 on Solaris 2.6 and when I give the newaliases
> command 
> >I get the following error:
> >
> ># newaliases
> >WARNING: local host name (hades) is not qualified; fix $j in config file
> >dbm map "Alias0": unsafe map file /etc/mail/aliases
> >WARNING: cannot open alias database /etc/mail/aliases
> >Cannot create database for alias file /etc/mail/aliases: No such device
> ># 
> >
> >I want to add an alias for firewalladmin in the alias file to send
> >mail to my real email address. Right now, the messages are bouncing because
> >firewalladmin is a unknown user.
> >
> >Permissions are as follows:
> >
> >drwxr-xr-x   2 bin      mail         512 Oct  4 09:04 .
> >drwxr-xr-x  28 root     sys         4096 Oct  4 09:06 ..
> >-r--r--r--   1 root     root          94 Apr 14 08:32 .MAP
> >-r--r--r--   1 root     other         94 Sep 23 10:01 .MAP.PRE5.0
> >-rw-r--r--   1 bin      bin          153 Sep 22 10:51 Mail.rc
> >-rw-r--r--   1 uucp     root        1013 Oct  4 09:21 aliases
> >-rwxr-xr-x   1 uucp     other       1201 Sep 23 10:01 aliases.PRE5.0
> >-rwxr-xr-x   1 uucp     root           0 Sep 22 11:03 aliases.dir
> >-rw-r--r--   1 uucp     root        1011 Oct  4 08:57 aliases.old
> >-rwxr-xr-x   1 uucp     root        1024 Sep 22 11:03 aliases.pag
> >-rw-r--r--   1 bin      bin         1829 Sep 22 10:37 mailx.rc
> >-r--r--r--   1 bin      bin        11973 Sep 22 10:37 main.cf
> >-rwxr-xr-x   1 root     other      26865 Sep 22 11:29 main.cf.new
> >-rw-r--r--   1 root     root       15285 Oct  4 09:26 sendmail.cf
> >-r--r--r--   1 root     other      27176 Sep 23 10:01 sendmail.cf.PRE5.0
> >-rw-r--r--   1 root     root       15285 Oct  4 08:57 sendmail.cf.old
> >-rw-r--r--   1 root     bin         4911 Sep 21 03:37 sendmail.hf
> >-rw-r--r--   1 root     root          32 Sep 22 11:43 sendmail.pid
> >-r--r--r--   1 bin      bin         9197 Sep 22 10:37 subsidiary.cf
> >-rwxr-xr-x   1 root     other      27176 Sep 22 11:29 subsidiary.cf.new
> >
> >
> >/usr/lib/sendmail permissions are as follows:
> >
> >
> >-rwsr-xr-x   1 uucp     bin       346984 Sep 21 03:37 /usr/lib/sendmail
> >
> >
> >--
> >Thanks  Les
> >==================================================================
> >Computer Sciences Corporation
> >[EMAIL PROTECTED]
> >
> >"As a matter of fact, I do have a plan - and it's so cunning,
> >you could put a tail on it and call it a weasel."
> >==================================================================
> >
> >-
> 
> 
> 
> 
> Joel Gridley, CCNA                       "Be the packet."
> Network Security/Firewall Specialist
> GTE Internetworking, "Powered by BBN."
> Burlington, MA
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to