Hi All,

I'm attempting to setup a quarantine/release server with postfix/amavis/SA on RHAS 3. Are there any "canned" examples of configs with multiple email addresses pointing to a single UID and storing the quarantine in a sql db?

right now, mail is flowing fine and we are just tagging all spam with X-Headers and modified subject lines. I'm now attempting to quarantine all spam with a certain score to a database but am not having much luck.

the relevant parts of amavisd.conf look like:
$enable_db = 1;
$sa_kill_level_deflt = 999;
$spam_quarantine_method                = 'sql:amavis';
$bad_header_quarantine_method  = 'sql:amavis';
$enable_ldap = 1;
$default_ldap = {
  hostname      =>      [ 'ldap.my.com' ],
  timeout       =>      5,
  tls           =>      0,
  base          =>      'o=MyCom',
  query_filter  =>      '(|(mail=%m)(mailAlternateAddress=%m))',
};
@storage_sql_dsn =
( ['DBI:mysql:database=amavis;host=127.0.0.1;port=3306', 'user', 'pass'] );


I'm currently getting the error:
Sep 7 15:51:02 pm1 amavis[5040]: (05040-01) TROUBLE in process_request: Undefined subroutine &Net::LDAP::Util::escape_filter_value called at (eval 40) line 362, <GEN4> line 3. Sep 7 15:51:02 pm1 amavis[5040]: (05040-01) Requesting process rundown after fatal error Sep 7 15:51:02 pm1 amavis[5040]: (05040-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 41) line 799.\n

Thanks,
Harry




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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