3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] How to create a m...
FromSent OnAttachments
Dinosoft ItaliaJun 28, 2004 6:45 am 
Tim HunterJun 28, 2004 7:29 am 
Tim HunterJun 28, 2004 8:53 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] How to create a mai accountActions...
From:Tim Hunter (ti@brokenbits.com)
Date:Jun 28, 2004 8:53:39 am
List:net.sourceforge.lists.courier-users

Dinosoft Italia wrote:

im' using mysqlauth and i have no problem to authenticate users...but i have to set all directories rewritable to all ! chmod a+rw /mail/user1 Where Can i find tutorial how to create virtual users ?

You shouldn't make your mail writeable to all, as long as your uid/gid match whatever you have in your record in mysql everything works with proper permissions. I didn't even think courier (or is it maildrop) would deliver mail to a a+rw directory.

The process is however you want to make it, but its pretty much create a record of a user, create the users home directory and Maildir with proper permissions. There are several admin style tools to automate this process, or you manage your own. quica http://quica.sourceforge.net/ is a good example of one.

Il lun, 2004-06-28 alle 16:29, Tim Hunter ha scritto:

Dinosoft Italia wrote:

How can i create an email account in courier that is not associated with any linux user ?

depends on what you use for your auth method

I have to create a MAIL SERVER and i cannot create every user for every mailboxes...

ok, not a problem you probably want to read on how to do virtual users and authentication modules http://www.courier-mta.org/install.html#authlib

i try maildirmake /mail/user1 and it works but when i try to send or receive mail for this user, Courier gives me : access denied to : /mail/user1

Theese directories : /mail/user1/ /cur /new /tmp are all owned by daemon

Any helps ???

how did you setup user1? what is user1's uid/gid?