* warning: imap_open(): Couldn't open stream {:110/pop3/notls}INBOX in /var/aegir/platforms/archimedes/profiles/archimedes_server_profile/modules/custom/archimedes_server/archimedes_server.mail.inc on line 12.
* warning: imap_num_msg() expects parameter 1 to be resource, boolean given in /var/aegir/platforms/archimedes/profiles/archimedes_server_profile/modules/custom/archimedes_server/archimedes_server.mail.inc on line 33.
* warning: imap_expunge() expects parameter 1 to be resource, boolean given in /var/aegir/platforms/archimedes/profiles/archimedes_server_profile/modules/custom/archimedes_server/archimedes_server.mail.inc on line 91.
* warning: imap_close() expects parameter 1 to be resource, boolean given in /var/aegir/platforms/archimedes/profiles/archimedes_server_profile/modules/custom/archimedes_server/archimedes_server.mail.inc on line 93.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | archimedes_server-1323044-do_not_check_pop3_if_not_configured.patch | 975 bytes | xurizaemon |
Comments
Comment #1
xurizaemonIf the POP3 account is not configured, three PHP errors are logged as the Archimedes server attempts to get email without connection details.
Added a check to see if the username / password were both blank in archimedes_server_check_inbox(). Returns early if not configured.
Comment #2
xurizaemonI don't know if we really need to watchdog a note about this every time. It could get boring seeing this appear for every cron run.
Comment #3
josh waihi commentedI've commited it. For now, its nice to show logging that the intended behaviour didn't work.
Thanks!
Comment #4
xurizaemon