From: Stefan =?utf-8?Q?F=C3=B6rster?= on
Given no external interference, are queue IDs unique within a single
instance for the whole span a message stays within qmgr's control, or
can a mail in e.g. the deferred queue, share an ID with a message in
the active queue?


Cheers
Stefan
From: Sahil Tandon on
On Sun, 06 Sep 2009, Stefan F=F6rster wrote:

> Given no external interference, are queue IDs unique within a single
> instance for the whole span a message stays within qmgr's control, or
> can a mail in e.g. the deferred queue, share an ID with a message in
> the active queue?

From src/global/mail_queue.c:

/* The only guarantee given is that on a given machine, no two queue
/* entries will have the same queue ID at the same time.

--=20
Sahil Tandon <sahil(a)tandon.net>
From: Wietse Venema on
Stefan F?rster:
> Given no external interference, are queue IDs unique within a single
> instance for the whole span a message stays within qmgr's control, or
> can a mail in e.g. the deferred queue, share an ID with a message in
> the active queue?

Postfix queue IDs are used as message file names.

Postfix moves messages between incoming, active and deferred queue.
Having multiple messsage files with the same name would result in
loss of mail.

Wietse