My adventures and exploits as well as the gnashing of teeth with the wonderful OS known as FreeBSD.
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...
No Comments for this post yet...