Looking for example config for local quarantine to mbox file
Dave Dodd via amavis-users
amavis-users at amavis.org
Mon Feb 24 22:16:58 CET 2014
On Mon, Feb 24, 2014 at 09:13:35AM +0400, Andrey Repin wrote:
> Greetings, Dave Dodd!
>
> > My amavisd-new installation is using mysql for logging and reporting so I can
> > use MailZu. My quarantine is currently working fine with plain files. I can
> > release quarntined files via MailZu.
>
> > I would now like the quarantine to be in mbox file format.
>
> I can't help with your question, but I feel I should raise a flag for your
> consideration.
> If you store your whole quarantine in a single file, to release one message
> and remove it from quarantine, you would need to rewrite whole file.
> Each time.
> Do you REALLY want to do it?
>
> > My understanding from the docs and experimenting is that $QUARANTINEDIR should
> > be set to the mbox file name to achieve this.
>
> > The quarantine works as expected but when I try to release via MailZu I see the following in /var/log/maillog
>
> > Feb 24 12:29:58 ben amavis[49018]: (!!)policy_server FAILED: Unsafe filename
> > '/var/amavis/quarantine/dgdmbox' at (eval 112) line 309, <GEN26> line 7.
>
> > After a bit of poking around I realized the regular expression that triggers
> > the Unsafe message does not like a leading / .
>
> > If I set $QUARANTINEDIR to just a filename without path information where
> > would amavisd think the file would be located ?
>
> > Does anyone have a working example of what to set $QUARANTINEDIR to to havei
> > this new setup work successfully ?
>
>
> --
> WBR,
> Andrey Repin (anrdaemon at freemail.ru) 24.02.2014, <09:08>
>
> Sorry for my terrible english...
Thanks for the advice, Andrey.
My description was not clear. I am trying to ultimately have an individual
mbox format file for each qurantined item.
Your English is certainly better than my Russian :-)
-- Dave
More information about the amavis-users
mailing list