Originally posted by golover
It is guaranteed, that there is no concurrent access. It's the same computer!
I do not know, where to change the umask.
Might depend on your distribution.
On mine (Debian unstable) it is something PAM can do.
I assume, that the umask setting is valid at least for all kde applications?
Depending on where you set it, it can be valid for all kind of logins.
If I can set umask just for kmail, this would be great, but how?
Hmm.
You could try a script which first sets umask and then starts KMail and use that instead of directly launching KMail.
Setting up an IMAP server seems to be not quite an easy task. Is there any advice how to setup an IMAp server?
I am pretty sure that this is not as easy, I just wanted to point out how such setups can be done alternatively.
Cheers,
_