I agree, this feature/fix would be nice... I have
$quarantine_subdir_levels = 2 so I moved all the dirs a level down
because I had seporate spam, virus, banned directories. Then to fix
the already thousands of held messages I issues a:
find ./ -type f | while read file ; do echo $file `echo $file | sed
's/spam-//'` ; mv -v $file `echo $file | sed 's/spam-//'` ;  done
to remove all the prefixes. The releases work fine now.


On 2/15/06, Brian Wong <[EMAIL PROTECTED]> wrote:
> On 2/15/06, Andrew A. Neuschwander <[EMAIL PROTECTED]> wrote:
> >
> > 2) The filename prefix used by amavis, i.e. "banned-", is configurable
> > in the amavis config and NOT supplied in the SQL tables. The SQL
> > reporting tables (msgrcpt & msgs) only contain the mail_id for the
> > quarantined message. For MailZu to pass a correct "mail_file=" statement
> > to amavis, it would have to read the amavisd.conf file to learn the
> > correct configured prefix from the "*_quarantine_method" options. I
> > think this is unreasonable. It seems to me that it should be amavis' job
> > to know a messages filename based on the mail_id and the
> > *_quarantine_method options.
> >
>
> That was the same assumption I made. I thought that amavisd-new
> derived the filename by what was listed in the amavisd.conf. The only
> limitation of this setup is that if you decide to change the
> prefix/suffix in the configuration, this would break releasing for
> filenames saved before the configuration change.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to