[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .forward not working anymore



> I faced the same problem in the past.
> When you add some users or do somethings, the system reset home user
> permission. So I setup crontab every day to change permission mode
autmatically.
>
> > Make sure your direct permission is set correctly or that it has not
been
> > change. ie. main parent directory needs rwxr-xr-x in order for .forward
> > to function, next check the user's home directory permission as well.
> >
> > If everything works as normal something simple might of broke the
.forward
> >
> > > For some time, I've used a .forward to forward mail to multiple users.
> > > Recently, this stopped functioning on all my servers - Was there a
patch
> > > that disabled this 'standard' feature of Linux?
> > >
> > > When I send mail to one account with the .forward, mail just sits
there and
> > > doesn't get forwarded. I know that if there is a 'Vacation Message'
turned
> > > on, mail gets forwarded AND sits in the mailbox.  I don't have a
Vacation
> > > Message turned on.
> > >


I'm not sure if this is related...I started receiving these messages in the
last
week or so...

Feb 24 05:32:38 www sendmail[10347]: i1OAWVl10345: forward
/var/spool/mail/.forward.www: World writable directory
Feb 24 05:32:38 www sendmail[10347]: i1OAWVl10345: forward
/var/spool/mail/.forward: World writable directory

Permissions on /var/spool/mail are
drwxrwxrwt    2 root     mail         1024 Mar  3 07:36 mail
(I have no idea what a 't' is in the execute for world)

/var/spool/mail only contains links to /home/spool/mail/username (actually
to
/home/sites/site#/../../spool/mail/username)

Each of these links show lrwxrwxrwx as perms (username/site# as uid/group)
and the target is -rw------- with same uid/group
perms on /home/spool/mail are drwxrwxrwt    2 root     mail

I have two servers and both are showing these permissions...I hate to go
mucking
about with permissions!

FWIW I ran find / -name '.forward' and it returned only one instance and not
in either
of the places referrenced in the log.

Are my permissions correct?  I found a note on dontblamesendmail.com
describing
how to prevent these messages within sendmail - I'm not sure that's as good
as
fixing the problem (as long as it doesn't make my blue box see red).  What
directory,
specifically, is the 'main directory' referenced in the quote above?  Is
this
/home/spool/mail or /var/spool/mail ?

Thanks!
Paul