Eduardo M KALINOWSKI
2008-Jun-26 22:00 UTC
[Pkg-exim4-users] maildirsize not being created with correct permissions
I have this transport set: virtual_user_maildir: debug_print = "T: virtual_user_maildir for $local_part@$domain" driver = appendfile directory = /home/vmail/$domain/$local_part/INBOX create_directory delivery_date_add envelope_to_add return_path_add maildir_format directory_mode = 0750 mode = 0640 mode_fail_narrower = false user = vmail group = mail # Store quota information maildir_use_size_file = true maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash|Spam).*)$ # Store message sizes in filename maildir_tag = ,S=$message_size quota_size_regex = ,S=(\d+) # Use maildirfolder files maildirfolder_create_regex = /\.[^/]+/?$ (which is a relatively small change to the default Debian transport for maildirs) The messages and folders are correctly created with the specified modes, but the maildirsize file is created with mode 600 (user and group are OK, though). I''d like it to have group read permission to ease backups, but exim does not seem to be creating the file with the requested mode. Exim version is 4.68-2~bpo40+1. Any suggestions? -- Extreme fear can neither fight nor fly. -- William Shakespeare, "The Rape of Lucrece" Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb
Marc Haber
2008-Jul-03 20:05 UTC
[Pkg-exim4-users] maildirsize not being created with correct permissions
On Thu, Jun 26, 2008 at 07:00:50PM -0300, Eduardo M KALINOWSKI wrote:> The messages and folders are correctly created with the specified modes, > but the maildirsize file is created with mode 600 (user and group are > OK, though). I''d like it to have group read permission to ease backups, > but exim does not seem to be creating the file with the requested mode. > Exim version is 4.68-2~bpo40+1. Any suggestions?You might want to open a bug upstream to have this implemented in a future version. To ease your pain, I understand spec.txt chapter 26.7 in the way that a missing maildirsize file will be created the first time it is actually needed, so it doesn''t hurt to not have it backed up. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190