Post details: qmail vpopmail IMAP


My adventures and exploits as well as the gnashing of teeth with the wonderful OS known as FreeBSD.

qmail vpopmail IMAP

June 12th, 2006 (103 views )

Problem:

Not receiving email. After creating email accounts with qmailadmin and vpopmail and using Roundcube webmail only sent messages would be retained. Further investigation shows that the sent messages existed but not where roundcube looks for them. Using vpopmail to add users works fine for pop accounts. However the IMAPdir/INBOX is not symlinked to the ../Maildir (where the messages currently reside.

Research:

After Googling I found linkwrapper script. Which creates the symlink at runtime. Alternatively there is a patch which modifies vpopmail to create an IMAPdir directory as well as symlink.

However this seems most promising. Note. It allows qmailctl to handle more than just pop.

Solution:

By running /usr/local/vpopmail/domains/imapdir.sh after user creation the problem is solved. The imapdir.sh script creates the spamassassin directories as well as the symlink. More information can be found on the BSDGuide article.

Now to tie this into vpopmail vadduser. Maybe a cron job...

Comments:

No Comments for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Dualbase :: Montreal webdesign :: the home of FLAM player
Flam Player :: Macromedia Flash mp3 player :: the home of FLAM player