Hi list we have a client who complains that mails from a certain sender are always put into his spamfolder. Our strong guess is that this is an issue with the webmail (Roundcube), but I need some help in understanding the output from dovecot's mailbox-debug. In order to narrow down the source of the problem we activated the mailbox-debug from Dovecot. Now we can see that the mail is moved into the spamfolder. But the strange thing is that a UID is logged which does not exist on the mailserver The following log is the "move" of the mail into the spamfolder Mar 19 11:53:57 backend3 dovecot: imap(REMOVED_FOR_PRIVACY): OmQLrmQubgDAqDIW copy from INBOX: box=INBOX.Spam, uid=58, msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 Mar 19 11:53:57 backend3 dovecot: imap(REMOVED_FOR_PRIVACY): OmQLrmQubgDAqDIW delete: box=INBOX, uid=1614, msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 Mar 19 11:53:57 backend3 dovecot: imapREMOVED_FOR_PRIVACY): OmQLrmQubgDAqDIW expunge: box=INBOX, uid=1614, msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 I do not understand whose UID this is, as it does not exist on the server. Does dovecot create temporary UID or something like that? Or is it more a process ID? Thanks and regards tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160321/c7f69e47/attachment.sig>
> Mar 19 11:53:57 backend3 dovecot: imap(REMOVED_FOR_PRIVACY): > OmQLrmQubgDAqDIW copy from INBOX: box=INBOX.Spam, uid=58, > msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 Mar 19 > 11:53:57 backend3 dovecot: imap(REMOVED_FOR_PRIVACY): > OmQLrmQubgDAqDIW delete: box=INBOX, uid=1614, > msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 Mar 19 > 11:53:57 backend3 dovecot: imapREMOVED_FOR_PRIVACY): > OmQLrmQubgDAqDIW expunge: box=INBOX, uid=1614, > msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585 > > I do not understand whose UID this is, as it does not exist on the > server. Does dovecot create temporary UID or something like that? Or is it > more a process ID?do you mean '58' ? grep 58 /etc/passwd ?
Am 21.03.2016 um 10:30 schrieb voytek at sbt.net.au:> > do you mean '58' ? > > grep 58 /etc/passwd ? >that I did for sure already. Otherwise I would not claim that the UID does not exist ;-)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 21 Mar 2016, Tobi wrote:> Mar 19 11:53:57 backend3 dovecot: imap(REMOVED_FOR_PRIVACY): > OmQLrmQubgDAqDIW copy from INBOX: box=INBOX.Spam, uid=58, > msgid=<000601d181cd$71401940$53c04bc0$@bluewin.ch>, size=314585> I do not understand whose UID this is, as it does not exist on the > server. Does dovecot create temporary UID or something like that? Or is > it more a process ID?it's the UID of the message. http://tools.ietf.org/html/rfc3501#section-2.3.1.1 - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVu/WJXz1H7kL/d9rAQLdKgf/WzjAU9+iDh/Pj1LT2oFI3OPbHJCIYwjj g5EoSyYmdn11bwbdJA5SaWvnQ2D48/5pZEvHQrZmXiZS0rO0thNQmv79vTTYMxHg WsBxsBJVdsEvkgXq35Ewq5DF2//HsPbd2GIE39djUqeG7cW5LnJc9euKYhLcDsGp fXsYFzgmOHoB2uQB2qevYXpAeuLClDmK2aRLnAbJXIVjZOOOtp5MbBvwWA4vTngi Jd3WHu29CWlg2Ysy2QSbM8k7I4ScMaLLIZ2aJkkmBdvgCMADuXu4k4YDoZ2Aaa3p CmODzDaQ6mEhqtJBGxNCBEe6fvyfEQFsJyszYHxCeRd9jVcA/FqAOg==6yXZ -----END PGP SIGNATURE-----
Am 21.03.2016 um 12:08 schrieb Steffen Kaiser:> > it's the UID of the message. > http://tools.ietf.org/html/rfc3501#section-2.3.1.1thanks a lot this explains why I was unable to find the UID in passwd May I add another question related to mailbox debug log? would it be possible to log the session ID (from IMAP login) that triggered the copy of the mail? I checked mail-log-plugin.c but could not find a session field. Basically I need to relate the action logged by mailbox debug to the respective IMAP login on the server. If it's not possible at the moment to get this information, would it be possible to implement in future versions of dovecot? Thanks tobi