Another benefit of putting all the .forwards in one directory is that the mail server doesn't have to mount every home directory for broadcast mails. We had problems when sending out email to hundreds of folks when the mail server had to check each home directory for a .forward. If you have a limited number of users this won't bite you but with over 1000 entries in our passwd file we took a hit everytime a large broadcast would happen. C-
On Wed, Feb 06, 2002 at 04:49:48PM -0800, Ulf Zimmermann wrote:
On Wed, Feb 06, 2002 at 05:18:45PM -0700, Surlow, Jim wrote:
Filer Admins,
We have unix home directories on our filer. We just noticed today that sendmail reports that the .forward files are in a "World writable directory" and that the user directory is "unsafe directory path, marked unsafe". (These are sendmail errors - I'm at LogLevel=99 for sendmail).
Then the mail is delivered locally to the box as opposed to forwarded.
Now, my directories are not world writeable! So, I'm wondering what permissions aren't being read correctly. I can fix sendmail by changing the sendmail.cf to include "DontBlameSendmail=forwardfileinunsafedirpath", but am interested in the underlying issues here.
We are running different versions of sendmail. The host that I've been testing on is running 8.11.6
Any insight would be appreciated.
Thanks,
Jim Surlow Billing & Customer Care Lucent Technologies
One of the things I can suggest is to move the .forward files out of the users home dir into a special dir on the mail server. This also prevents issues in case the home is not available (I had that issue several times at SGI, even this wasn't on a NetApp).
The option to this is:
# Forward file search path O ForwardPath=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward
Either build new sendmail.cf from m4 files or edit it directly.
-- Regards, Ulf.
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html