Update mail/getmail to 4.3.1, which fixes a known problem with an exception being raised when certain IMAP errors occur. New version will just skip the affected account and move to the next one.
State Changed From-To: open->closed Committed, thanks!