2 messages in net.sourceforge.lists.courier-usersRE: [courier-users] permissions for c...
FromSent OnAttachments
Dinosoft ItaliaJun 25, 2004 9:02 am 
Bowie BaileyJun 25, 2004 9:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] permissions for courierActions...
From:Bowie Bailey (Bowi@BUC.com)
Date:Jun 25, 2004 9:31:42 am
List:net.sourceforge.lists.courier-users

From: Dinosoft Italia [mailto:supp@dinosoft.it]

Dinosoft Italia wrote:

i've installed Courier under fedora and i have create a directory in wich i create the mailboxex for every users....

i create /mail

and then /mail/gab /mail/mario

i create the couurier directories (maildirmake command ) no problem:

/mail/gab/courier /new /tmp

/mail/mario/courier /new /tmp

i set daemon:daemon as owner for all directories

When i try enter in a mailboxes : telnet localhost 110 after sending password, i receive an access denied !

I try to set all directories writable to all but this time courier gives me an error : Directory rewritable to world !!!

Please what it the correct procedure / attributes for my directories ???

i try POP3D is up and running telnet on port 110 OK ESMTPD is up and running telnet on port 25 OK....

Any Helps..... if i set all directories rewritable to all ( courier send and receive mail ) but i cannot use .courier files because i receive an error directory is word writable....

It sounds like the owner and group are wrong on your mail directories. Courier will run with the UID/GID of the user who is receiving mail or logging in.

To create the directories with the correct permissions, you should login as the user who will own the maildir and then run the maildirmake command. If you are using shell users from your /etc/passwd, then each maildir will have a different owner. If you are using virtual users (userdb, mysql, etc), then they will all probably be the same.

Also, it looks like you are customizing the name of the maildir. Courier expects the maildir to be "$HOME/Maildir" unless you have changed the defaults in the config files.

Bowie