Re: Strange characters in log file

Doug Hardie via dovecot <[email protected]> Sat, 18 Jul 2026 01:31:06 -0700
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
> On Jul 18, 2026, at 01:08, Doug Hardie <[email protected]> wrote:
> 
> I am occasionally finding some strange characters in the log file.  I have captured on entry that vi cannot handle.  It simply won't go past this record.  I suspect the issue is around 0347 in the record below.  Any ideas how to prevent this from happening as it makes it difficult to find specific records in the log.  vi is unable to delete the line with this issue.
> 
> mail# head -1 imaplog.test | od -t x1c
> 0000000    4a  75  6c  20  31  37  20  30  32  3a  33  34  3a  35  35  20
>            J   u   l       1   7       0   2   :   3   4   :   5   5    
> 0000020    6d  61  69  6c  20  64  6f  76  65  63  6f  74  5b  35  32  39
>            m   a   i   l       d   o   v   e   c   o   t   [   5   2   9
> 0000040    30  5d  3a  20  69  6d  61  70  28  64  6f  75  67  29  5b  31
>            0   ]   :       i   m   a   p   (   d   o   u   g   )   [   1
> 0000060    30  2e  30  2e  31  2e  32  33  32  5d  3c  4e  74  79  78  52
>            0   .   0   .   1   .   2   3   2   ]   <   N   t   y   x   R
> 0000100    4d  74  57  4e  64  38  4b  41  41  48  6f  3e  3a  20  64  65
>            M   t   W   N   d   8   K   A   A   H   o   >   :       d   e
> 0000120    6c  65  74  65  3a  20  62  6f  78  3d  44  65  6c  65  74  65
>            l   e   t   e   :       b   o   x   =   D   e   l   e   t   e
> 0000140    64  20  4d  65  73  73  61  67  65  73  2c  20  75  69  64  3d
>            d       M   e   s   s   a   g   e   s   ,       u   i   d   =
> 0000160    35  38  32  32  31  33  2c  20  6d  73  67  69  64  3d  3c  39
>            5   8   2   2   1   3   ,       m   s   g   i   d   =   <   9
> 0000200    31  30  35  30  36  39  31  2e  31  34  37  36  39  34  36  2e
>            1   0   5   0   6   9   1   .   1   4   7   6   9   4   6   .
> 0000220    31  37  38  33  35  38  37  39  33  35  37  36  36  40  6d  61
>            1   7   8   3   5   8   7   9   3   5   7   6   6   @   m   a
> 0000240    72  6b  65  74  6f  2d  70  6c  61  74  66  6f  72  6d  2d  2d
>            r   k   e   t   o   -   p   l   a   t   f   o   r   m   -   -
> 0000260    65  6d  61  69  6c  2d  73  65  6e  64  65  72  2d  70  72  6f
>            e   m   a   i   l   -   s   e   n   d   e   r   -   p   r   o
> 0000300    64  2d  62  61  74  63  68  2d  63  6c  75  2e  2e  2e  2c  20
>            d   -   b   a   t   c   h   -   c   l   u   .   .   .   ,    
> 0000320    73  69  7a  65  3d  35  35  39  39  30  2c  20  66  72  6f  6d
>            s   i   z   e   =   5   5   9   9   0   ,       f   r   o   m
> 0000340    3d  57  4f  52  4c  44  e2  4d  2d  5e  40  4d  2d  5e  59  73
>            =   W   O   R   L   D 342   M   -   ^   @   M   -   ^   Y   s
> 0000360    20  54  69  6d  20  4c  61  6d  65  72  20  3c  65  64  69  74
>                T   i   m       L   a   m   e   r       <   e   d   i   t
> 0000400    6f  72  40  77  6e  67  2e  6f  72  67  3e  0a                
>            o   r   @   w   n   g   .   o   r   g   >  \n                
> 0000414
> 
> -- Doug
> 

Here is the corresponding postfix log entry:

maillog.8.gz:Jul  9 02:05:44 mail postfix/cleanup[37269]: 4gwpw76RcYz1qpcj: message-id=<91050691.1476946.1783587935766@marketo-platform--email-sender-prod-batch-cluster-545fbbd7dmnt5>

Is it possible that the message_id field might be too long?

dovecot-2.3.21.1_3 (FreeBSD)

-- Doug

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]