Re: How is EAI mail implemented ?

Jeremy Harris <[email protected]>
Newsgroups gmane.ietf.smtp
Message-ID <[email protected]>
On 15/06/2021 19:26, Claus Assmann wrote:
> On Tue, Jun 15, 2021, John R Levine wrote:
>> Nobody I've seen tags messages as EAI in their internal queues.
> 
> sendmail does:
> writing: queueup()
> 	/* send various flag bits through */
> ...
> 	if (e->e_smtputf8)
> 		*p++ = 'e';
> 
> reading: readqf()
> ...
> 	  case 'e':	/* message requires EAI */
> 		e->e_smtputf8 = true;
> 

and Exim does:

writing: spool_write_header()
...
  if (message_smtputf8)
   {
   fprintf(fp, "-smtputf8\n");

reading: spool_read_header()
...
     else if (Ustrncmp(p, "mtputf8", 7) == 0)
       message_smtputf8 = TRUE;

-- 
Cheers,
   Jeremy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.