Univention Bugzilla – Bug 38477
Archivefolder and Dovecot
Last modified: 2023-03-25 06:43:45 CET
If mail/archivefolder is set to an e-mail address, Postfix sends a blind carbon copy of all incoming and outgoing e-mails to this address. univention-mail-postfix/conffiles/create-archivefolder.py is then called. It uses univention-cyrus-mkdir to create a mailbox for cyrus to store the mails in. This should not be necessary with Dovecot. It automatically creates mailboxes. This must be tested. create-archivefolder.py must check if Dovecot or Cyrus is used.
*** Bug 33799 has been marked as a duplicate of this bug. ***
Relevant commits so far: * 60591: create mailbox for archivefolder only if Cyrus is installed and the domain is not external * 60596: don't expand BCC before delivering to amavis * 60599: change master.cf only if mail/archivefolder is in use
If a mail account or shared folder exists, Dovecot will store the mails there. If it doesn't, then mails never reach Dovecot. So as far as Dovecot is concerned, archivefolder storage works. The modifications to Postfix mentioned in comment 2 are necessary for the Dovecot integration.
(In reply to Daniel Tröder from comment #2) > Relevant commits so far: > * 60591: create mailbox for archivefolder only if > Cyrus is installed and the domain is not external > * 60596: don't expand BCC before delivering to amavis > * 60599: change master.cf only if mail/archivefolder is in use → changes are ok (In reply to Daniel Tröder from comment #3) > If a mail account or shared folder exists, Dovecot will store the mails > there. If it doesn't, then mails never reach Dovecot. So as far as Dovecot > is concerned, archivefolder storage works. → correct > The modifications to Postfix mentioned in comment 2 are necessary for the > Dovecot integration. → OK → OK: tested manually