tmailare used from inside shell scripts to deliver mail, replace them by Dovecot's MDA (called LDA and residing in
/usr/lib/dovecot/deliverin Debian). You need to use the
-doption and add the user name since the setuid delivery still has
EUID=0. In our case this was necessary in
maildropdoesn't work very good here since it needs a filter rules file belonging to the recepient of the mail instead of a simple command line option.)
tmailare used in the
.procmailrc, replace them by the Maildir folder itself. Don't forget the trailing slash to tell
procmailthat this mailbox is a Maildir style folder.
set tunnel=“ssh -q imap.phys.ethz.ch /etc/rimapd”with
set tunnel=“ssh -q imap.phys.ethz.ch /usr/sbin/dovecot –exec-mail imap”. Calling
/usr/lib/dovecot/imapdirectly will ignore the dovecot configuration.
.procmailrcto the right Maildir style INBOX and folders directories.
/var/imap/$USER/INBOX, but this only works if both are in mbox format and not with a Maildir style mailbox as snarf destination. So we deliver directly into the Maildir style INBOX using