Re: [AMaViS-user] Quarantine metadata to database

2007-10-30 Thread Mark Martinec
> to insure message-id is unique in a database 'mail-id' that is, not Message-Id. Mark - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and co

Re: [AMaViS-user] Quarantine metadata to database

2007-10-30 Thread Mark Martinec
Chris, > Is it possible to log *only* quarantined mails, and not all mails > passing through amavis? From what I can see, setting @storage_sql_dsn > will cause logging of all mails. > > I am trying to create a quarantining system using sqlite for a low > volume mail gateway, but want to limit the

Re: [AMaViS-user] Quarantine metadata to database

2007-10-30 Thread Chris Picton
On Mon, 2007-08-27 at 17:13 +0200, Paolo Cravero wrote: > Chris Picton wrote: > > > 1: I would like to quarantine metadata > > (to/from/score/tests/etc) to a database, while keeping the > > file on disk. Is this possible, or should I write a script > > which scans the quarantine dir and extracts

Re: [AMaViS-user] Quarantine metadata to database

2007-10-19 Thread Mark Martinec
Chris, > Is it possible to log *only* quarantined mails, and not all mails > passing through amavis? From what I can see, setting @storage_sql_dsn > will cause logging of all mails. Not possible without tweaking the code. The @storage_sql_dsn is global. It might be possible to tweak entries in %

Re: [AMaViS-user] Quarantine metadata to database

2007-10-18 Thread Chris Picton
On Mon, 2007-08-27 at 17:13 +0200, Paolo Cravero wrote: > Chris Picton wrote: > > > 1: I would like to quarantine metadata (to/from/score/tests/etc) to a > > database, while keeping the file on disk. Is this possible, or should I > > write a script which scans the quarantine dir and extracts meta

Re: [AMaViS-user] Quarantine metadata to database

2007-08-27 Thread Mark Martinec
> Chris Picton wrote: > > 2: can I quarantine to a multi-level hash directory: ie, > > quarantine/A/V/E/AVEGwyZaKYwt.gz Paolo Cravero wrote, > Yes, the feature is there. > > $quarantine_subdir_levels = 1; ># add level of subdirs to disperse quarantine Almost, but not quite, any value >= 1 is

Re: [AMaViS-user] Quarantine metadata to database

2007-08-27 Thread Paolo Cravero
Chris Picton wrote: > 1: I would like to quarantine metadata (to/from/score/tests/etc) to a > database, while keeping the file on disk. Is this possible, or should I > write a script which scans the quarantine dir and extracts metadata for > myself? Some data is there already. Have a look at REA

[AMaViS-user] Quarantine metadata to database

2007-08-27 Thread Chris Picton
Hi Two questions regarding quarantining 1: I would like to quarantine metadata (to/from/score/tests/etc) to a database, while keeping the file on disk. Is this possible, or should I write a script which scans the quarantine dir and extracts metadata for myself? 2: can I quarantine to a multi-le