PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > User UMASK in Courier IMAP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

User UMASK in Courier IMAP

Réponse
 
LinkBack Outils de la discussion
Vieux 01/07/2006, 00h18   #1
vanstyn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut User UMASK in Courier IMAP

I am trying set the default UMASK for Courier for writing to user's
mailboxes. I am referring to the default file mode of messages in a
user's mailbox that are created from within an IMAP client (i.e. not
created from delivery from the MTA/LDA).

I have experimented with the "IMAP_UMASK" setting in the
/etc/courier-imap/imapd config file, and this does not seem to have any
effect on the umask being used to create mail files in the user's
personal mailbox.

It also does not seem to care about the umask setting in /etc/profile
or $HOME/.profile.

Currently, the umask appears to be 133 (all created files show up as
rw-r--r--). The default value of IMAP_UMASK in the imapd config file is
022, so I am pretty sure this isn't where the setting is coming from.

I would like to change this umask to 007 (or 117) so that I can give
another user write access to the mailbox and all messages in the
mailbox via group membership.

I have spent tha past few hours RTFMing and searching newsgroups with
no luck.

Any would be greatly appriciated.

  Réponse avec citation
Vieux 01/07/2006, 01h56   #2
Sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: User UMASK in Courier IMAP

vanstyn writes:

> Currently, the umask appears to be 133 (all created files show up as
> rw-r--r--). The default value of IMAP_UMASK in the imapd config file is
> 022, so I am pretty sure this isn't where the setting is coming from.


Yes, it is. Message files are not executable, so they are created with mode
666. Now, substract mode 022.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEpcgox9p3GYHlUOIRAtduAJ9Fz8Dd8Hk3auf/2YqQ1qyM14PSxwCeKx5d
nEDdb6Cgk/jYRx2Ff5Baw48=
=obZt
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 01/07/2006, 04h31   #3
vanstyn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: User UMASK in Courier IMAP


Sam wrote:
> vanstyn writes:
>
> > Currently, the umask appears to be 133 (all created files show up as
> > rw-r--r--). The default value of IMAP_UMASK in the imapd config file is
> > 022, so I am pretty sure this isn't where the setting is coming from.

>
> Yes, it is. Message files are not executable, so they are created with mode
> 666. Now, substract mode 022.
>


Ah, that does make sense... Well, anyway, I have changed the value of
this setting, but it has no effect on the file modes. This is why I
thought it must be controlled elsewhere. If this is indeed the setting,
then why might it not be working? (I have of course restarted Courier
after making the change)...

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 1,07991 seconds with 11 queries