FreeBSD 6.3-RELEASE-p3 i386
sendmail -d0.1 Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG
dovecot-1.0.7
dovecot-sieve-1.0.2
IMAP-UW was previously used.
ISSUE-1: Unable to get new mail delivered to the Dovecot generated ~/Maildir/folders. The mail continues be delivered to the standard /var/mail/<user-name>. Ofcourse, until I get the aforementioned functioning, I'm unable to experience the Dovecot-sieve.
With focus on the above issue, my dovecot-conf has
mail_location = maildir:~/Maildir mail_location = mbox:~/mail/:INBOX=/var/mail/%u mail_plugin_dir = /usr/local/lib/dovecot/lda mail_plugins = mail_plugins = cmusieve
With the above four (4) lines in the dovecot.conf the mail continues to find its way to /var/mail/user-name. After which I find this -- http://wiki.dovecot.org/LDA/Sendmail which did not work for us. New mail continues to get delivered to /var/mail/user-name.
We find another resource of information to help get this working; http://www.dovecot.org/list/dovecot/2007-April/021448.html -- while it looks promising it opened up a whole new issue (see below) --not to mention it too was not able to deliver our mail to ~/Maildir ... mail continues to get delivered to /var/mail/usr-name.
ISSUE-1a: The following text was generated while trying to resolve issue-1 (above): The short version is after generating another hostname.cf 'plugins' and/or the plugin directory was not found during two (2) attempts of starting and restarting sendmail. On the third attempt the directory and its files were magically found; the plugin directory and its files were always there.
WORKSTATION# make install restart
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/
/usr/share/sendmail/cf/m4/cf.m4
/etc/mail/WORKSTATION.mc > /etc/mail/WORKSTATION.cf
install -m 444 /etc/mail/WORKSTATION.cf /etc/mail/sendmail.cf
install -m 444 /etc/mail/WORKSTATION.submit.cf /etc/mail/submit.cf
Restarting: sendmail sendmail-clientmqueue.
WORKSTATION# Aug 19 03:43:09 WORKSTATION deliver(email): Plugin
mail_plugins not
found from directory /usr/local/lib/dovecot/lda
WORKSTATION# make restart Restarting: sendmail sendmail-clientmqueue. WORKSTATION# Aug 19 03:43:41 WORKSTATION deliver(email): Plugin mail_plugins not found from directory /usr/local/lib/dovecot/lda
WORKSTATION# ll /usr/local/lib/dovecot/lda total 272 lrwxr-xr-x 1 root wheel 22 Nov 30 2007 lib01_acl_plugin.so -> ../lib01_a cl_plugin.so lrwxr-xr-x 1 root wheel 24 Nov 30 2007 lib10_quota_plugin.so -> ../lib10 _quota_plugin.so lrwxr-xr-x 1 root wheel 24 Nov 30 2007 lib11_trash_plugin.so -> ../lib11 _trash_plugin.so lrwxr-xr-x 1 root wheel 26 Nov 30 2007 lib20_convert_plugin.so -> ../lib 20_convert_plugin.so lrwxr-xr-x 1 root wheel 27 Nov 30 2007 lib20_mail_log_plugin.so -> ../li b20_mail_log_plugin.so -rw-r--r-- 1 root wheel 151292 Nov 30 2007 lib90_cmusieve_plugin.a -rwxr-xr-x 1 root wheel 909 Nov 30 2007 lib90_cmusieve_plugin.la -rwxr-xr-x 1 root wheel 123073 Nov 30 2007 lib90_cmusieve_plugin.so
WORKSTATION# make restart Restarting: sendmail sendmail-clientmqueue. WORKSTATION# make install restart install -m 444 /etc/mail/WORKSTATION.cf /etc/mail/sendmail.cf install -m 444 /etc/mail/WORKSTATION.submit.cf /etc/mail/submit.cf Restarting: sendmail sendmail-clientmqueue
ISSUE-2: Next is the converting, and moving, of existing mail from /var/mail/<user-name> (file) to the newly generated ~/Maildir/folders. NOTE: I've seen a few files on or linked to the Dovecot wiki page but, I'm a bit reluctant to try them because of directions/instructions I followed in the past with regards to LDA/sendmail that appears to either be incorrect or the author assumes the reader has prior knowledge (we don't have this knowledge); in addition the article appeared to be Red Hat specific.
We would like to resolve all of the above with some level of authority. We are not programmers and can barely script so please go easy with the jargon/termonology
Apologies for the long wind.