28 Oct
2010
28 Oct
'10
2:52 p.m.
On 28.10.2010, at 12.26, Peter Reinhold wrote:
For instance, logging in with user@example.com would pop INBOX, and logging in with user-folder@example.com would pop just that specific folder.
Might be possible.. Assuming you're using Maildir?
First you'll need to extract the folder from the username in passdb and change the username to user@example.com. Put the folder into userdb_folder or something, so that you can access it in post-login script. The post-login script then would do something like:
if [ "$FOLDER" != "" ]; then MAIL=maildir:$HOME/Maildir/.$FOLDER fi
Probably needs some more complexity, but basically I think that idea should work.