Originally posted by: SystemAdmin
thank you a lot! (i'd like to understand the problem before calling the support line;-))
and that what i get after doing what you advise:
#nslookup my_host_name
Server:
-
can't find my_host_name:No response from server
#host my_host_name => yes, it shows my fully qualified hostname
my_host_name is 111.111.111.11, Aliases: my_alias_host_name (OK!)
so, i've changed about permissions
-
chmod 755 /etc
-
ls -ld /etc
drwxr-xr-x 27 root system 3584 Jul 11 11:07 /etc
-
chmod 755 /etc/mail
-
ls -ld /etc/mail
drwxr-xr-x 2 root system 512 Jul 12 09:25 /etc/mail
-
chmod 600 /etc/mail/aliases
-
ls -l /etc/mail/aliases
-rw------- 1 root system 1458 Aug 18 11:21 /etc/mail/aliases
-
chmod 600 /etc/mail/aliases.db
-
ls -ld /etc/mail/aliases.db
-rw------- 1 root system 12288 Oct 15 2004 /etc/mail/aliases.db
sendmail -bi
/etc/mail/sendmail.cf: WARNING: dangerous write permissions
WARNING: local host name (my_host_name) is not qualified; fix $j in config file
WARNING: World writable directory /var
WARNING: Group writable directory /var/spool
WARNING: Group writable directory /var/spool/mqueue
/etc/mail/aliases: 8 aliases, longest 9 bytes, 89 bytes total
-
sendmail -d0.4 -bi
Version AIX5.2/8.11.6p2
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS
QUEUE SCANF SMTP USERDB XDEBUG
canonical name: my_host_name
UUCP nodename: my_alias_host_name
a.k.a.: my_alias_host_name
a.k.a.:
http://111.111.111.11 /etc/mail/sendmail.cf: WARNING: dangerous write permissions
a.k.a.:
http://127.0.0.1 a.k.a.:
::1 ============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = my_host_name
(canonical domain name) $j = my_host_name
(subdomain name) $m = <null>
(node name) $k = my_host_name
========================================================
WARNING: local host name (my_host_name) is not qualified; fix $j in config file
WARNING: World writable directory /var
WARNING: Group writable directory /var/spool
WARNING: Group writable directory /var/spool/mqueue
/etc/mail/aliases: 8 aliases, longest 9 bytes, 89 bytes total
so i think that because of the $m that the $j is not ok ?
do you know how to set the $m ?
bests regards,