----- David Woodfall <d...@dawoodfall.net> [2013-02-10 14:04:39 +0000] ----- :
... > Note how I've had to change the '.' in the domain name to an > underscore so that it doesn't get seen as a subfolder. David, if you look at the Dovecot Doc site [1] you can set it up differently to better accomodate your needs. >From /etc/dovecot/conf.d/10-mail.conf ... namespace { type = public separator = / prefix = Public/ location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public list = yes subscriptions = no } In particular the line that has LAYOUT=fs - it will then layout your mailboxes in the normal filesystem manner. You should then be able to use your earlier methods in your scripts [1] http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix Jamie -- Primary Key: 4096R/1D31DC38 2011-12-03 Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38