Home > Cannot Open > Sendmail Cannot Open Etc Mail Local Host Names

Sendmail Cannot Open Etc Mail Local Host Names

Contents

It's kinda weird because I didn't touch it before. EOT [[email protected] ~]# exit logout You have mail in /var/spool/mail/cheerio [[email protected]]$ av16114th April 2009, 05:52 PMI REALLY wish someone would post a howto on how to get Sendmail working since sendmail thanks. i have used # chmod 777 mail & chmod 777 for local-host-names & chmod 777 for trusted-users saisivakumar View Public Profile Find all posts by saisivakumar #4 06-09-2008 era http://rss4medics.com/cannot-open/sendmail-cannot-open-etc-mail-trusted-users.php

Remove advertisements Sponsored Links sysgate View Public Profile Visit sysgate's homepage! So I am not sure what caused it since it was working fine. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. I believe the correct permissions for /etc/mail are 755. > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > References: RHEL 5.5 - Sendmail acting strange http://serverfault.com/questions/314429/cannot-open-etc-mail-trusted-users-group-writable-directory

/etc/mail/trusted-users': World Writable Directory

Last edited by ramecare; 03-09-2011 at 10:15 AM. So, do the following commands and try again: # chmod g-w /etc # chown root:root /etc share|improve this answer edited Sep 23 '11 at 1:56 answered Sep 22 '11 at 16:54 Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Registration is quick, simple and absolutely free.

Not a member yet? I'm worried about what this might break. –Lightness Races in Orbit Sep 22 '11 at 16:28 Yeah, /etc generally shouldn't be group writable. av161119th September 2008, 08:13 PM[[email protected] mail]# ls -la total 208 drwxr-xr-x 2 root root 4096 2008-09-19 12:06 . I am now using postfix which took me all of 3 minutes to get working.

ktmariappan13th April 2012, 01:28 PMPlease do below steps -------------------------- Replacing line Fw/etc/mail/ local-host-names with line Fw-o /etc/mail/local-host-names in sendmail.cf, and Ft/etc/mail/trusted-users with line Ft-o /etc/mail/trusted-users in submit.cf and sendmail.cf. Join Date Jun 2009 Posts 2 I's a security problem Check yours folders rights ls -lad / /etc /etc/mail This must be drwxr-xr-x 25 root root 4096 jun 14 18:31 / This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. http://www.linuxsolved.com/forums/index.php?topic=3447.0 Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

what to check now! When I write /etc/rc.d/init.d/sendmail in command mode than the following problem happens: [[email protected] farid]# /etc/rc.d/init.d/sendmail start Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory 451 Regards, James On Fri, Jun 25, 2010 at 1:23 PM, Barry Brimer wrote: > > > On Fri, 25 Jun 2010, James Corteciano wrote: > > Hi All, If you do not see the problem as a result, please post the output.

Cannot Open '/etc/mail/trusted-users'

If you look at your sendmail.cf it has comments written into it to guide you in how to structure the names. find this Now sendmail starts up ok and works fine again Looks like sendmail is testing every single parent folder of /etc/mail too. /etc/mail/trusted-users': World Writable Directory I had to compile nvidia because they got the dependencies goofed up on kmod-nvidia... Zener diodes in glass axial package - not inherently shielded from photoelectric effect?

huh? this page Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. It should be like below: -bash-2.05b# ls -ld /drwxr-xr-x 19 root root 4096 Sep 2 06:00 /-bash-2.05b# ls -ld /etcdrwxr-xr-x 69 root root 8192 Sep 2 06:00 /etc-bash-2.05b# ls -ld /etc/maildrwxr-xr-x Do the Leaves of Lórien brooches have any special significance or attributes?

I have installed fresh vanilla of >> RHEL >> 5.5 and able to send test mail outside. Run: Code: chmod 755 / to fix it. bathory View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bathory 03-10-2011, 04:15 AM #5 Jenish_uk LQ Newbie Registered: Oct 2010 Posts: get redirected here linux sendmail share|improve this question asked Sep 22 '11 at 15:23 Lightness Races in Orbit 187215 1 What do the permissions on /etc look like?

Register Help Remember Me? chmod 777 is basically never correct, anyway. mattes15013rd March 2011, 08:52 PMI encountered the same problem today.

Not the answer you're looking for?

Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. The permissions are exactly as they should be according to the error message and what you folks here suggested I do. Noway2 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Noway2 03-11-2011, 12:48 AM #7 ramecare Member Registered: Feb 2011 Posts: 179 Cheers! –Lightness Races in Orbit Sep 22 '11 at 18:55 add a comment| up vote 0 down vote Please see the README file that comes with sendmail: man sendmail chmod go-w

Join our community today! Polyglot Anagrams Cops' Thread Start a coup online without the government intervening Straight line equation Why do languages require parenthesis around expressions when used with "if" and "while"? briantan20th September 2008, 02:29 PMThe permission should be 644 for these 2 files. http://rss4medics.com/cannot-open/send-mail-cannot-open-smtp-gmail-com-587.php thanks in advance.

Are you new to LinuxQuestions.org?