Re: (no subject)
"Tod D. Ihde" <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
Your mail spool is determining the permissions. It sounds like you have neomail installed sgid (so its executing with the same permissions as the "mail" group (note that your group name may not be mail, you'll have to check that to be sure)), but you don't have your spool set up to create new files with that group. Here's how to do that: Find your mail spool (sounds like you already have). It's most likely /var/spool/mail or /var/mail (under debian that seems to be the case). Become root. chgrp <yourmailgroup> /your/mail/spool (Actually, if neomail works for pre-existing accounts I'm guessing you may not have to run that, but best to be safe) chmod g+rw /your/mail/spool (Shouldn't have to use that either, but, again, safety first!) chmod g+s /your/mail/spool Everything should Just Work after that. Why we just did that: New spools are created with a default set of permissions, usually os/distribution dependant, if they're created at the same time the user is created. if not, they're created with whatever permissions the mail transport agent has (procmail, etc). Again. very distribution/install dependant. The easiest way to make sure they're created how you want them to be, is to set the sgid bit on the directory they're created in - this way, they are created owned by the group that owned the directory, and with the same permissions (except for the sgid permission). Hope that helped! Tod. Bill English wrote: > This problem involved permissions, I installed neomail and thought it was > working correctly but that is not the case. > > Users who had mail in the spool before I installed it can use it and it > works great, but any new users mail arrives as > permission 600, and they cannot use the web mail, they get a lock error of > course. I can create an account, I can login inot it and set the > preferences, but as soon as they receive mail, they are locked out. > > The users who had mail in the spool when I installed neomail continue to > receive mail with permissions 660, me being one of them. > > To me this sounds crazy, but what is determining these permissions? And > better yet, what can I do to make all users mail arrive woth the same > permissions? > > I am using Postfix 1.11 and Mandrake Linux 9.0 and Neomail 1.25 > > Thanks > > Bill > > Refer a friend and get a free month of Internet! Send a friend and once we > receive payment on the new account, your account will be credited with one > months free service! Send a friend and SAVE!!! > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01