Pablo,

> Hello. I am runnig amavis-new last release, and I am wondering about 2
> things:
>
> 1.- Why amavis-new isn't leaves blank the policy column in the table msgs ?
> I saw running it in debug mode that it chooses the right policy, but it's
> not storing it in the database.

I don't know, it does store 'MYNETS' (or another policy path) to a field
msgs.policy here, I just checked.

At log level 5 you should see something like:

(27983-17) sql: executing clause: INSERT INTO msgs (mail_id, secret_id,
  am_id, time_num, time_iso, sid, policy, client_addr, size, host)
  VALUES (?,?,?,?,?,?,?,?,?,?)

Are there any warnings or errors in the log?
Are you using non-default clauses in %sql_clause ?
How is the field msgs.policy declared in the SQL table?

Hmm, I think I know, you are confusing 'policy bank name'
with SQL table 'policy'. You are forgiven, it is confusing
to use the same term for two things, sorry.

msgs.policy is a policy bank name (or a path, if there were multiple
banks loaded).

SQL table policy.id is not stored in logging database. If you need it,
you may find it by looking up again recipient name in table 'users',
field 'policy_id'.


> 2.- I have setup in amavis.conf the quarintine to sql, but in policy I am
> not specifying anything and it still stores the messages in the sql
> quarintine (again, it's choosing the right policy when it checks the
> message). This is not leting me setup quarintine on a per user basis.

If field policy.spam_quarantine_to is NULL the lookup falls back
to static defaults. If the field is an empty string, it turns
off quarantining for this user. Are you saying that you have
an empty string there (not NULL) and it is still quarantining?

  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/

Reply via email to