Index: [Article Count Order] [Thread]

Date:  Thu, 28 Dec 2006 16:18:12 +0100
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:08369] Re: .forward: Group writable directory
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200612281618.12843.bq (at mark) solarspeed.net>
In-Reply-To:  <1167305025.2198.3.camel (at mark) columbus.webtent.org>
References:  <1167305025.2198.3.camel (at mark) columbus.webtent.org>
X-Mail-Count: 08369

Hi Robert,

> I have just migrated sites from a RaQ 4 to CentOS+BQ and I notice the
> e-mail forwarding uses the .forward file in the users directory for
> forwarding mail instead of aliases. This is good, but sendmail doesn't
> like the fact that user directories are group writeable. Must I manually
> change the permissions on each user folder to enable this functionality?
>
> Dec 28 06:19:51 tpa-hosting sendmail[21666]: kBSBJpp3021665: forward
> /home/.sites/117/site48/.users/20/robert/.forward: Group writable directory

Edit your /etc/mail/sendmail.cf. Find this line:

O DontBlameSendmail=forwardfileingroupwritabledirpath

Change it to this:

O DontBlameSendmail=forwardfileingroupwritabledirpath, 
ForwardFileInUnsafeDirPath, ForwardFileInUnsafeDirPathSafe

That goes all into one line! 

Save the changes and restart Sendmail.

-- 

With best regards,

Michael Stauber