Mailbox sample settings
This is a ready mailbox sample settings for your reference.
What is a minimal things I have todo to have mails imported?
- In
Settings -> Mail conversations -> Mailboxsetup a new mailbox- Enter
Login options - In
Mailboxtab clickGet mailbox to syncand choose what IMAP folder you want to sync.Choose what mailbox you want to syncE.g for sync folders{mail.livehelperchat.com:993/imap/ssl}INBOXAND{mail.livehelperchat.com:993/imap/ssl}SentChoose where deleted e-mails should be movedE.g{mail.livehelperchat.com:993/imap/ssl}TrashChoose a send folderE.g{mail.livehelperchat.com:993/imap/ssl}Sent
- Define a
Matching RuleinSettings -> Mail conversation -> Matching rulesThese rules defines to what department e-mails should go from specific mailbox. - If you do not see a sent e-mails in the mail ticket once you reply you have to choose in mailbox
OptionsaCreate a copy in a send folder.. Then once you send e-mail from LHC it's copy will be created in a sent folder and imported afterward.
- Enter
- Setup cronjob which will fetch e-mails
- Boilerplate sampel for all cronjobs Boilerplate cronjobs
- Just mail sync cronjob, you can run it manually first time.
- If your mailbox import takes long time or you have many mailbox you can decrease frequency how frequent that cronjob is run.
- Best performance is reached if php-resque extension is used.
Sample settings by screenshots
Login settings

Options
- Here we have clicked
Import since this unix timestamp.buttonSet to nowso we will import mails only from present moment. - Mails will checked every 3 minutes
Check for new messages interval in seconds. - 180seconds.
Mailbox
- You have to choose what folders you want to sync
- Imap folder where deleted mailx should be moved
- Imap folder where sent e-mails should be moved

Matching rules
You have to choose at least one matching rule for the mailbox.

Matching rule configuration sample

How to test debug
- You can reduce sync interval to 30 seconds and run crojob manually.
- If something does not work look at
Utilitiestab - You can in Utilities tab click
Reset and importor justReset import statusand run cronjob again. - If nothing there read how to see logs
- You can also try to run cronjob manually. It will always try to fetch e-mails. You can look at
Utilitiestab afterward. php cron.php -s site_admin -c cron/mail/debug_mailbox -p <mailbox_id>