You have to check the permissions on / and all the subdirectories like /etc, /etc/mail for write permissions. If there is no write permission on / or /etc then give the write permissions and check.
This will set the permissions for every directory sendmail needs to be
non-group writable:
drwxr-xr-x 45 root sys 3584 Feb 3 10:24 etc
drwxr-xr-x 2 root mail 512 Feb 3 11:54 mail
-rw-r--r-- 1 root bin 153 Sep 30 10:24 Mail.rc
-rw-r--r-- 1 root bin 1201 Sep 30 10:24 aliases
-rw-r--r-- 1 root mail 0 Oct 10 04:58 aliases.dir
-rw-r--r-- 1 root mail 1024 Oct 10 04:58 aliases.pag
-rw-r--r-- 1 root bin 5266 Sep 27 19:07 helpfile
-rw-r--r-- 1 root bin 0 Sep 24 2001 local-host-names
-rw-r--r-- 1 root bin 1829 Sep 30 10:19 mailx.rc
-r--r--r-- 1 root bin 34924 Sep 30 10:24 main.cf
-r--r--r-- 1 root bin 35625 Oct 1 05:09 sendmail.cf
-r--r--r-- 1 root other 35625 Oct 1 05:09
sendmail.cf.pre110615-05
lrwxrwxrwx 1 root root 8 Sep 30 10:24 sendmail.hf ->
helpfile
-r--r--r-- 1 root bin 35625 Sep 30 10:24 subsidiary.cf
-rw-r--r-- 1 root bin 5 Sep 24 2001 trusted-users
Showing messages 1 through 4 of 4.
Sendmail still complaining about world writable, localhost refuses port 25 connection
2005-12-22 06:18:12
microbix
[View]
edit manually file sendmail.cf
nano -w /etc/mail/sendmail.cf
replace line Fw/etc/mail/local-host-names with line
Fw-o /etc/mail/local-host-names
identically (if you got the same error for trusted-users)
Ft/etc/mail/trusted-users
with line Ft-o /etc/mail/trusted-users
i spent 4 hours to see that. if you rebuild sendmail.cf from sendmail.mc you can modify the last file (sendmail.mc) to suit your needs
i recommend to you to use webmin (install with yum) for simpler sendmail administration
Sendmail still complaining about world writable, localhost refuses port 25 connection
2010-07-01 09:19:22
Harshad Mahajan
[View]
Thanks a lot.
It worked for me as well.
Sendmail still complaining about world writable, localhost refuses port 25 connection
2006-03-13 13:01:25
rtantti
[View]
This worked!!! Thanks.
Sendmail still complaining about world writable, localhost refuses port 25 connection
2003-07-11 13:06:35
anonymous2
[View]
nano -w /etc/mail/sendmail.cf
replace line Fw/etc/mail/local-host-names with line
Fw-o /etc/mail/local-host-names
identically (if you got the same error for trusted-users)
Ft/etc/mail/trusted-users
with line Ft-o /etc/mail/trusted-users
i spent 4 hours to see that. if you rebuild sendmail.cf from sendmail.mc you can modify the last file (sendmail.mc) to suit your needs
i recommend to you to use webmin (install with yum) for simpler sendmail administration