solution: service imap-postlogin { vsz_limit = 512M } 256M (default) were not enough