Permissions corrected when creating mailbox

kevinb

Verified User
Joined
Jul 27, 2006
Messages
101
When you have a forward setup and the spamassassin is set to store spam in users spam folder the spam folder is created with mail:mail user permissions.

When you then change the user from a forward to an email account DA doesn't fix the permissions and the user is unable to receive mail.

Can we change the behavior to fix file permissions when a mail directory exists?

Thanks :)

Kevin
 
Hello,

I believe the mail:mail is an old exim.conf setting.
The newer exim.conf files use user:mail, eg:
Code:
domain_filter:
  driver = redirect
  allow_filter
  no_check_local_user
  condition = "${if exists{/etc/virtual/${domain}/filter}{yes}{no}}"
  [b]user = "${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}"[/b]
  group = "mail"
  file = /etc/virtual/${domain}/filter
  directory_transport = address_file
  pipe_transport = virtual_address_pipe
  retry_use_local_part
  no_verify
Ensure you see that, or if unsure, update your exim.conf to latest version:
http://help.directadmin.com/item.php?id=51

John
 
John,

I checked and the version of exim.conf that is at http://files.directadmin.com/services/exim.conf is the version from 2007 and doesn't have that line. Is there a newer version somewhere else that is maintained by DA?

I'd be happy to update my exim.conf but will still need to fix the issue after with the files that have the wrong permissions.

Thanks,

Kevin
 
That's my file, and I mainrtain it for the DirectAdmin community. It works for lots of us. The only reason DirectAdmin hasn't switched to it is because I haven't given them the go-ahead. And I haven't done that because I'm still looking at a few more changes.

I've brought the problem with the version on the DirectAdmin site to their attention; hopefully it will be fixed soon.

More information about mine (free to use) is available here (nobaloney.net).

Jeff
 
Back
Top