AntiVirus in Maildir

Masakazu Hirose hirose at mm22.jp
Mon Mar 14 23:57:34 UTC 2022


Thank you to everyone.

First, try to find antivirus software that can remove files with
doveadm. I will share it on this list when I find it.

as an alternative. Consider a script that runs the doveadm import and
doveadm rebuild commands from the antivirus action log.



Thanks,
Masa


2022年3月14日(月) 16:50 Robert Schetterer <rs at sys4.de>:
>
> Am 14.03.22 um 08:17 schrieb Aki Tuomi:
> >
> >> On 14/03/2022 08:43 Robert Schetterer <rs at sys4.de> wrote:
> >>
> >>
> >> Am 14.03.22 um 05:56 schrieb Masakazu Hirose:
> >>> Hi all,
> >>>
> >>> I run a mail server on Maildir.
> >>> Does Dovecot work correctly if I delete the mail files stored in
> >>> Maildir? Do I need to run the doveadm command?
> >>>
> >>> I want to run a virus scan on Maildir. When a virus is detected, the
> >>> mail file is deleted without notifying Dovecot. I assumed this was
> >>> incorrect behavior for Dovecot.
> >>>
> >>> Please help me when someone has time.
> >>>
> >>>
> >>> Thanks,
> >>> Masa
> >>
> >> Hi, if you just delete mailfiles in maildir
> >> dovecot does not update its index at once
> >> it "may" it repair later , delete with doveadm is the right way
> >>
> >> --
> >> [*] sys4 AG
> >>
> >
> > Maildir is special case in the sense that dovecot assumes that there might be external changes, so indexes are synced when the mailbox is opened the next time.
> >
> >
> > Aki
>
> this may not work all the time, in special if you very have big mailboxes
>
> --
> [*] sys4 AG
>
> http://sys4.de, +49 (89) 30 90 46 64
> Schleißheimer Straße 26/MG, 80333 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list