![]() |
Courier IMAP & POP without SSL work, but not with SSL.
Hi.
I have setup ISPConfig on a conputer running Suse 10 (this is my first serious go at Linux), following the perfect setup instructions, and proceeded to test. I managed to send a web hosting user mails, and I can download them using POP3 and IMAP to a mail client (Mozilla Suite). It does not work when I try to do the same using POP3S or IMAPS. As described in the perfect setup, I am using the courier-pop-ssl and courier-imap-ssl daemons for that. Both are started, I double checked that. "netstat -tap" shows me: Code:
tcp 0 0 *:imaps *:* LISTEN 4757/couriertcpdJan 6 00:17:11 mars imapd: Connection, ip=[::ffff:192.168.2.1] for the attempted imaps connections, simmilar for the pop3s ones. Has anyone an idea what could be wrong, or give me a hint on the way to the solution? Thank You. |
Might be a firewall issue. Please post the output of
Code:
iptables -L |
Thank You.
I have, following the data out of the give threat, backed up the existing imapd and pop3d certificates, edited both cnf files to generate more correct certificates (with the real name of the mail server), and restarted the two mail daemons. This had not fixed the problem. Code:
iptables -LCode:
Chain INPUT (policy ACCEPT) |
Ok, your firewall is not the problem (because it isn't turned on). Did you try to restart Courier and maybe even your whole system?
Aren't there any more precise messages in your logs? |
Related to courier and postfix I know of the "mail" log, which contains informations about the attempted connects and disconnects, but otherwise I am a complete Linux noobie. Are the any other logs I could check, have you any recomendation? Maybe some specific log Courier notes down its actions?
Maybe I should mention that I encountered a bug in the Courier instalation on Suse 10, it does not per default assign the Courier SSL daemons to the correct ports, but to the non SSL ones. In the courier-pop3-ssl and couriter-imap-ssl daemon startup scripts were errors I fixed. I am wondering if anyone got ISPConfig working with courier on the released Suse 10, maybe there are additional glitches in there beside the wrong ports. Thank You. PS: I have restarted the system, now I have discovered following rather interesting entries in the mail log: Code:
Jan 6 11:17:12 mars authdaemond: modules="authuserdb authpam authldap authcustom authpipe", daemons=5"telnet localhost 143" replies: Code:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.Code:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information."openssl s_client -connect localhost:993" replies Code:
CONNECTED(00000003) |
Quote:
Quote:
993 for IMAPS 995 for POP3S |
Quote:
Code:
mars:/etc/courier # telnet localhost 995 |
Did you have a look into
Code:
yast |
Both services, courier-pop-ssl and courier-imap-ssl are running and receiving traffic on the correct ports. To my limited knowledge though they seem to expect non-encrypted (non-SSL) traffic. If you look above, I initiated a telnet connection to port 995.
I have been searching for a solution all over the net in the last day or so, the problem is that so far I found references of about 2 people having the same problem as me under Suse 10, but no data if they solved it and how, only simmilar posts as is mine on here. It seems in Suse 10 the courier scripts were changed, and by default they start on the wrong port, and when people fix it authorisation fails. I supose the next step is to find some old suse 9.x script and see if I can extract what is wrong with the 10 scripts. In case I do not manage to fix this bug... What would be the Linux distribution that would be recomended for ISPConfig? PS: Lovely. I cobbled together a complete solution to the IMAP part of the problem. The courier package scripts in Suse 10 are riddled with bugs. Now I will see if I can do the same for the POP3 part, then I will post the solution on here for any other poor soul after I tested it. |
Quote:
Personally, I recommend Debian. Quote:
|
| All times are GMT +2. The time now is 05:23. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.