da-popb4smtp not logging imap

Version 1.43


It appears as though the dovecot imap logging format was changed at some point, and we didn't notice. Update the da-popb4smtp code to catch the new dovecot imap logging format (to handle both types) The new default format dovecot is using is: imap(user@domain.com): Disconnected: Logged out in=1182 out=24960 or imap(user@domain.com): Disconnected: Disconnected in IDLE in=381 out=25566 Dovecot had changed the format, and we had addressed it for 1.42.0: http://www.directadmin.com/features.php?id=1005 but seems it was changed yet again, hence the need for the change. ------------------- As a workaround, it may be possible to change the logging format back to what da-popb4smtp is looking for, eg: Disconnected: Logged out bytes=385/1626 eg, /etc/dovecot/dovecot.conf, add to very bottom: protocol imap { imap_logout_format = bytes=%i/%o }

Interested to try DirectAdmin? Get a 30-day Free Trial!