Opened 13 years ago

Last modified 12 years ago

#152 assigned defect

POPFile stopped working because of "Server said something unexpected" message (during server upgrade/shutdown)

Reported by: Daniel Hahler Owned by: Manni Heumann
Priority: normal Milestone:
Component: unknown Version: 1.1.1
Severity: normal Keywords:
Cc:

Description

When I've upgraded my mail server box yesterday, this triggered a "stop crash" in Popfile:

2010/11/13 01:36:38 378: imap: 501: Looking for new messages in folder spam.backscatter. 2010/11/13 01:36:38 378: IMAP-Client: 334: << A61690 NOOP[0d][0a] 2010/11/13 01:36:38 378: IMAP-Client: 439: >> * BYE Server shutting down.[0d][0a] 2010/11/13 01:36:38 378: IMAP-Client: 451: Got unsolicited BYE response from server while reading response for NOOP. 2010/11/13 01:36:38 378: IMAP-Client: 485: !!! Server said something unexpected !!! 2010/11/13 01:36:38 378: IMAP-Client: 228: NOOP failed (return value -2)

The process was still running: popfile 378 9.1 4.3 44232 11380 ? R Nov06 993:58 /usr/bin/perl /usr/share/popfile/popfile.pl --set config_piddir=/var/run/popfile/ --set logger_logdir=/[...]

I've now restarted POPFile and it started working properly again.

Change History (4)

comment:1 by Daniel Hahler, 13 years ago

Here's another side effect of this, POPFile exited because of the server shutting down:

2010/11/22 18:03:33 368: imap: 501: Looking for new messages in folder spam.backscatter.
2010/11/22 18:03:33 368: IMAP-Client: 334: << A15767 NOOP[0d][0a]
2010/11/22 18:03:33 368: IMAP-Client: 439: >> * BYE Server shutting down.[0d][0a]
2010/11/22 18:03:33 368: IMAP-Client: 451: Got unsolicited BYE response from server while reading response for NOOP.
2010/11/22 18:03:33 368: IMAP-Client: 485: !!! Server said something unexpected !!!
2010/11/22 18:03:33 368: IMAP-Client: 228: NOOP failed (return value -2)
2010/11/22 18:03:33 368: IMAP-Client: 985: Lost connection while I tried to say 'A15768 STATUS "spam.backscatter" (UIDNEXT UIDVALIDITY)[0d][0a]'.
2010/11/22 18:03:33 368: imap: 461: Trying to disconnect all connections.
2010/11/22 18:03:33 368: IMAP-Client: 287: IMAP-Client is exiting

in reply to:  1 comment:2 by Manni Heumann, 13 years ago

Owner: set to Manni Heumann
Status: newassigned

Replying to blueyed:

Here's another side effect of this, POPFile exited because of the server shutting down:

Did POPFile exit or just the POPFile IMAP client? The latter is the desired behavior.

comment:3 by Daniel Hahler, 13 years ago

This were two different occasions, and in both cases POPFile was not working anymore.

POPFile itself does not appear to have exited (in the first case at least), but apparently did not start the IMAP client again?!

comment:4 by Daniel Hahler, 12 years ago

Here is another incident:

2011/2/10 17:06:53 230: IMAP-Client: 427: >> A129947 OK Status completed.[0d][0a]
2011/2/10 17:08:53 230: imap: 501: Looking for new messages in folder spam.backscatter.
2011/2/10 17:08:53 230: IMAP-Client: 985: Lost connection while I tried to say 'A129948 NOOP[0d][0a]'.
2011/2/10 17:08:53 230: imap: 461: Trying to disconnect all connections.
2011/2/10 17:08:53 230: IMAP-Client: 287: IMAP-Client is exiting
Note: See TracTickets for help on using tickets.