[Dovecot] Auto create folder(s)
Bill Landry
bill at inetmsg.com
Wed Sep 26 22:32:33 EEST 2007
Fábio M. Catunda wrote:
> Bill Landry escreveu:
>> Lars Stavholm wrote:
>>
>>> Charles Marcus wrote:
>>>
>>>> On 9/26/2007, Lars Stavholm (stava at telcotec.se) wrote:
>>>>
>>>>>> if not -> maybe this is for
>>>>>> you:http://wiki.dovecot.org/PostLoginScripting
>>>>>>
>>>>> Even better.
>>>>>
>>>> But then this would happen for every user, at every login, when all you
>>>> need is to do it once, when the new user is created...
>>>>
>>> Very true.
>>>
>>>
>>>> Postfixadmin does this automatically when the account is created, and
>>>> this is the ideal time to do such things, no?
>>>>
>>> It is the ideal time, you're right about that. However, to my
>>> understanding, Postfixadmin is a web interface for managing
>>> postfix config and users in a mysql db. Not very automated.
>>> Our users are normal unix users (we do use LDAP) and are not
>>> stored in mysql. We use webmin/LDAP for user maintenance.
>>>
>>
>> These folders could easily be create dynamically by maildrop, if used
>> as your
>> MDA. I use it as my MDA between Postfix and Dovecot to automatically
>> create
>> spam folders for new accounts and also for delivering mail that
>> exceeds our spam
>> thresholds into the spam folder for end user review.
>>
>> Bill
>>
>>
> But with maildrop you still run the process of creating/checking on
> every delivery, same thing as dovecot, right?
Correct. If the folder does not exist, maildrop will create it on first
delivery. If the end user deletes the folder, maildrop will recreate the folder
on the next message delivery to that account.
Bill
More information about the dovecot
mailing list