[PyWebMailFrontPage] [TitleIndex] [WordIndex]

PyWebMailTutorial

Simple instructions

As already written in forum you need to perform several simple steps to create simple setup:

  1. If you are using source version (not Py2ExeVersion) install Python. (See PyWebMailRequirements)

  2. PyWebMailDownload: Download and install (or just unpack) latest version of PyWebMail.

  3. PyWebMailConfiguration: Create configuration file webmail.cfg.

  4. Start PyWebMail/Pop3Gateway using command: python wgetpop3.py.

  5. PyWebMailEmailClients: Connect to that gateway from your email client using 127.0.0.1:110 and email and password you've specified in configuration file.

Note: WikiNames in the beginning should provide detailed information on every step.

Windows NT specifics

PyWebMail/Pop3Gateway can be used as NT service:

  1. Add PyWin32 to your Python installation.

  2. Install service: python wget_nt.py install

  3. Start service: net start pywebmailpop3

Obviously, you should either use this technic or run a standalone script wgetpop3.py, but not both.

Simple configuration file templates

TODO: Detailed description of every example.

Detailed description of configuration file syntax will be provided in PyWebMailConfiguration.

Plain example of two accounts

[DEFAULT]
mailboxes=account@mail.com,another_account

[mailbox_account@mail.com]
email=account@mail.com
password=pass

[mailbox_another_account]
email=account2@yahoo.com
password=pass

Mailbox names (suffixes after 'mailbox_' group names) are useful only for referencing from 'mailboxes' option, so you may use any names.

Merge example

[DEFAULT]
mailboxes=merge

[mailbox_merge]
email=merge@loopback
password=localpass
merge=account@mail.com,another_account
merge_Templates=Draft#another_account

[mailbox_account@mail.com]
email=account@mail.com
password=pass

[mailbox_another_account]
email=account2@yahoo.com
password=pass

2007-01-05 21:08