Thomas,

> I have some doubt regarding amavisd-release in combination with the
> partitioning feature. I did some quick tests, partition_tag is simply
> ignored. This is exactly what RELEASE_NOTES are telling me:
>  > Amavisd process itself does not use the 'partition_tag' field for its
>  > own purposes, all records regardless of their 'partition_tag' value
>  > are available for example to pen pals lookups, as before...

Right, it is ignored.

> As there is no unique mail_id any more (primary key consists of mail_id
> and partition_tag) there can be the same mail_id twice, is that correct?

No, the mail_id is still unique:
  msgs.mail_id is still a PRIMARY KEY

It is just that email addresses in maddr.addr that are no longer unique,
but need to be combined combined with partition_tag:
  CREATE TABLE maddr
    CONSTRAINT part_email UNIQUE (partition_tag,email)
although this is unlikely to be of concern with third-party applications.

> And if so: how can I avoid duplicate mail_id's (and trouble when someone
> is going to release such a mail)?

No changes there, should work as before.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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