procmail
[Top] [All Lists]

Re: Procmail lock

2005-09-25 12:20:38
Sebastian Luque:
Ruud H.G. van Tol:

In the 'See also' of chmod(1) you'll find umask(2).

Thanks, but that man page is way above my head.  Looks like setting up
fetchmail/procmail requires a lot more knowledge than I currently
have.

To use procmail, it is not necessary to know about umask. Are you only a
user or do you also set it up for other users?

Your question was about "set it to 600 every time". google: chmod umask

Or just create a test-directory somewhere, cd into it and type umask.
Then create some testfile with 'touch testfile', and check its
permissions. Then change the umask and create another file. You'll find
out soon enough what is does.


See also man procmailrc:

UMASK       The name says it all (if it doesn't, then forget about this
            one :-).  Anything assigned to UMASK is taken as  an  octal
            number.   If  not specified, the umask defaults to 077.  If
            the umask permits o+x, all the mailboxes procmail  delivers
            to  directly  will receive an o+x mode change.  This can be
            used to check if new mail arrived.


-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>