This has nothing to do with IMAP ! IMAP is not a SMTP agent; on port 25 you have programs that perform the task of *sending* mail such as sendmail or postfix. The imapd error you showed us is unrelated to the first problem.
Yours, Jakob Curdes
This has nothing to do with IMAP ! IMAP is not a SMTP agent; on port 25 you have programs that perform the task of *sending* mail such as sendmail or postfix. The imapd error you showed us is unrelated to the first problem.
Yours, Jakob Curdes