RE: [exim] Message ID

Góra strony
Delete this message
Reply to this message
Autor: Andrew Johnson
Data:  
Dla: ppp2005, exim-users
CC: 
Temat: RE: [exim] Message ID

> -----Original Message-----
> From: ppp2005@??? [mailto:ppp2005@uol.com.br]
> Sent: Friday, June 03, 2005 10:44 PM
> To: exim-users@???
> Subject: [exim] Message ID
>
> Hi all,
>
> I'd like to know how message ID is generated by exim.
>
> Ex: 1DeJiO-0008B7-Oh
>
> I will mount a load balanced system with 4 exim servers with
> identical users and configurations and storing all messagens
> in same storage. Another machine will distribute requests
> based on load average of the server.
>
> Are there any possibility to a server generate the exact same
> ID than the another server an store duplicated Id's on
> storage? Can this problem occur?
>


It is unlikely that the same number would be generated from 2 machines given
that it's related to time and process ID's, however if you wish to be sure,
then you could use the localhost_number option (Sorry can't remember the
release number this came in at)

Spec.pdf ->

Exim’s message ids are normally unique only within the local host. If
uniqueness among a set of
hosts is required, each host must set a different value for the
localhost_number option. The string
is expanded immediately after reading the configuration file (so that a
number can be computed
from the host name, for example) and the result of the expansion must be a
number in the range
0– 16 (or 0–10 on operating systems with case-insensitive file systems).
This is available in
subsequent string expansions via the variable $localhost_number. When
localhost_number is set,
the final two characters of the message id, instead of just being a
fractional part of the time, are
computed from the time and the local host number as described in section
3.4.

-Andy-

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005