I have a sort of Frankenstein (Franken-STEEN :) setup where I have
shell users access their mail via uw-imap (unsecured) and everyone
else via Courier IMAP (secure only). I want to move to a 100% Courier
setup and ensure that all mail is delivered to maildir folders instead
of mbox files.
the Virtual users will stay in /usr/local/virtual and the shell users
will have all their Mail in $HOME/Mail/ (Including the INBOX, I hope).
Currently my setup looks like this:
virtual_alias_maps =
hash:/usr/local/etc/postfix/virtual,
pcre:/usr/local/etc/postfix/virtual.pcre,
mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:89
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/
mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/
mysql_virtual_mailbox_maps.cf
virtual_create_maildirsize = yes
virtual_mailbox_limit = 51200000
virtual_minimum_uid = 89
virtual_uid_maps = static:89
virtual_transport = procmail
alias_maps = hash:/usr/local/etc/postfix/aliases
alias_database = hash:/usr/local/etc/postfix/aliases
mailbox_command = /usr/local/bin/procmail -t -a $EXTENSION
and in master.cf I have:
procmail unix - n n - - pipe
-o flags=uhFORD user=vpopmail argv=/usr/local/bin/procmail -t -m
USER=${recipient} EXTENSION=${extension} /usr/local/etc/
procmailrc.common
Do I need to (or will it simply be a lot easier) to move all the local
users to virtual users? I am hesitant to do so because managing
procmail for the virtual users is much more difficult, and I would
very much prefer that the shell users had their email accessible from
the shell and in their $HOME directories.
Am I overthinking this? Do I just set home_mailbox="Mail/" (or Mail/
INBOX/ ??) and postfix is happy? (converting the existing mbox files
to maildir is not a problem).
Obviously, that will not be everything I need to do, as I need to
configure Courier, but in terms of postfix?
--
What the hell's goin' on in the engine room? Were there
monkeys? Some terrifying space monkeys maybe got loose?