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?
>>> --
>>> Dinosoft Italia
>>> http://www.dinosoft.it
>>> Tel. +39 0187 1873615
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by Black Hat Briefings & Training.
>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>> digital self defense, top technical experts, no vendor pitches,
>> unmatched networking opportunities. Visit www.blackhat.com
>> _______________________________________________
>> courier-users mailing list
>> [EMAIL PROTECTED]
>> Unsubscribe:
>> https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to