Jose, > I want to store quanrantined spam messages in subdirectories organized by > date (something like :local:spam/(yyyymmdd)/%b). > Also, where do I find the definitions of the format controls (%i, %h, > etc.)?
For the archive: see my today's posted reply to: "Quarantined spam notifications are not being sent" > Can Amavis create the > subdirectories or do I create them with cron scripts? > I see a variable $quarantine_subdir_levels. How does this variable work? It creates them automaticly when you set $quarantine_subdir_levels and subdirectories are not present. It takes (copies) the first character from mail_id (62 possible characters) and uses it as a subdirectory name, so it turns a quarantine filename like: spam/vFXj43NuWZBS.gz into a: spam/v/vFXj43NuWZBS.gz if the settings are: $spam_quarantine_method = 'local:spam/%m.gz'; $quarantine_subdir_levels = 1; Currently the actual value in $quarantine_subdir_levels is not significant: anything which is not 0 is treated as one level. Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
