Skip to content

How to use vmail with multiple Gmail accounts

Daniel Choi edited this page Jul 18, 2013 · 2 revisions

You can have vmail use different configurations by creating different directories, like so:

  • ~/.vmail/business1
  • ~/.vmail/business2

Add .vmailrc files to each of these directories with the appropriate credentials.

Then start vmail with VMAIL_HOME set to the correct directory:

VMAIL_HOME=~/.vmail/business1 vmail

Note that you can start up multiple instances of vmail in different terminal windows, each configured with a different Gmail account.