Because not every email has one. RFC5322 doesn?t require them. On Jan 15, 2021, at 6:30 PM, @lbutlr <kremels at kreme.com> wrote:> On 15 Jan 2021, at 10:57, Ron Garret <ron at flownet.com> wrote: >> Is there any way to obtain the IMAP GUiD of a message that is being processed by a sieve script? I?m writing a filter that needs to to keep track of message identities as they are moved around between folders. I could add my own id header, but I?d rather not have to reinvent that wheel. > > Why not simply use the message-id? > > > -- > If life were to suddenly get fair, I doubt it would happen in high school. >
On Fri, 15 Jan 2021, Ron Garret wrote:>> Why not simply use the message-id? > > Because not every email has one. RFC5322 doesn?t require them.Doesn't your MTA then insert one if it's missing? Joseph Tam <jtam.home at gmail.com>
On 15 Jan 2021, at 23:42, Ron Garret <ron at flownet.com> wrote:> Because not every email has one. RFC5322 doesn?t require them.And yet, I can tell you exactly how many messages on my mail server do not have a message-ID. Zero. -- 'I'm a raven, aren't I?' it said. 'One of the few birds who speak. The first thing people say is, oh, you're a raven, go on, say the N word... If I had a penny for every time that's happened, I'd-'
On 16.01.21 07:42, Ron Garret wrote:> Because not every email has one. RFC5322 doesn?t require them. > > On Jan 15, 2021, at 6:30 PM, @lbutlr <kremels at kreme.com> wrote: >> Why not simply use the message-id?(Also, you can legally have several e-mails with the same Message-ID in your mailbox; e.g., someone addressed it to two aliases that both expand to you, just to name one possibilty where *both* go through *sieve* as well.) Regards, -- Jochen Bern Systemingenieur Binect GmbH -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3449 bytes Desc: S/MIME Cryptographic Signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20210118/b7c51d48/attachment.p7s>