Re: Courier 20240725 development build

Bernd Wurst <[email protected]> Thu, 12 Sep 2024 08:10:43 +0200
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
Hi Sam.
Thank you for taking time to look into this.


Am 11.09.24 um 23:57 schrieb Sam Varshavchik:
> The only situation where this won't work would be an unusual setup where 
> all virtual accounts have the same pseudo-home directory but the maildir 
> attribute sets a different maildir directory for each virtual account. 

Bingo. :) Sorry, I forgot to mention this part.

It's about virtual accounts where users do not have access to the file 
system and therefore cannot place .courier files. We deliver all mail to 
a delivery program we wrote that uses the information from the 
environment to get mail in the right maildir.

This program handles forwardings, autoresponders and other things as per 
configuration from the database.


> But that kind of setup is problematic in other ways, as it does not 
> allow other things as well – it would not be possible, for example, to 
> use a per-account ~/.mailfilter, unless it twists itself into 
> contortions by looking at the environment in order to figure out the 
> right maildir.

I disagree, this setup did not have any problems until now.

If we would like to set up a .courier file for each user, we would have 
to do this via a cron job and accounts would take some time to be 
generated. We avoid this delay as the database has the needed 
information just in time.

We deliver messages to maildirs via dovecot-mda that supports SIEVE 
filters for each user. So filters are manageable from the MUA.

So your suggestion is to create and manage hundreds of homedirs and 
.courier files for every virtual account via cron jobs?




_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users