On Fri, 21 Jul 2017 19:36, Werner Flamme wrote:
Hi,
this morning, my company's postmaster sent me an excerpt from the mail log stating that there is some software on one of my boxes that doesn't speak proper IMAP.
19-Jul-2017 22:38:33.49 tcp_local BS 0 rfc822; a1 LOGOUT 500 5.5.1 Unknown command "a1 LOGOUT" specified TCP|a.b.c.d|465|a.b.e.f|48270 [snip] The only LOGOUT in found outside binary files is in </usr/lib64/ruby/2.1.0/net/imap.rb>. As far as I understand the code, near line 1200 the command LOGOUT is sent to the mailhost. [snip] BTW, just to make sure the ruby library is the right place, I modified the code a bit so that it should send QUIT now. If there are no more log entries from that host on monday, I can be sure to have found the proper place. But I still do not now how to locate the script...
If you can program ruby, add a syslog call with PID, UID and calling program name as message to the ruby function. Can't help you there, Ruby as language gives me the cold shakies. Extra hint: If you 'grep' binaries for the LOGOUT command, verify that other imap commands are also in the same file. A telling hint would be the existence of other valid imap commands, the 'LOGOUT' but missing the 'QUIT' command. - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org