0
Having Problems with imap/pop3 (ssl)
hello.
during the setup of ajenti i ran into the ssl problems which got fixed by upgrading the python packages with pip and some copy/paste work from the bugtracker on github. panel works fine now. currently im working on the mailboxes and theres a problem with mainly ssl (startls).
when i try to fetch the mails (i am using thunderird) i cannot connect when using ssl.
i tried to create the mailbox multiple times with different settings
this is the outcome:
imap = works
imap ssl = found but cant connect
pop = works
pop ssl = cannot find
smtp = works
smtp ssl = works
the mails arrive and forwarding works too
please help!
during the setup of ajenti i ran into the ssl problems which got fixed by upgrading the python packages with pip and some copy/paste work from the bugtracker on github. panel works fine now. currently im working on the mailboxes and theres a problem with mainly ssl (startls).
when i try to fetch the mails (i am using thunderird) i cannot connect when using ssl.
i tried to create the mailbox multiple times with different settings
this is the outcome:
imap = works
imap ssl = found but cant connect
pop = works
pop ssl = cannot find
smtp = works
smtp ssl = works
the mails arrive and forwarding works too
please help!
Customer support service by UserEcho
Aug 24 07:29:01 rs000101 imapd: LOGIN, user=blah@xxxxx.net, ip=[::ffff:xxxxx], port=[54169], protocol=IMAP
Filesystem notification initialization error — contact your mail administrator (check for configuration errors with the FAM/Gamin library)
but i guess its because i have multiple mailboxes with the same account in thunderbird active :)
Ssl works fine on ftp and http by the way
now it finds pop3 ssl and asks for the acception of an unsigned ssl. if i approve, it works, and if i disapprove
it gives the same error as imap gives always (cant connect, check password). imap ssl shows no certificate, just gives error.
so maybe the problem is about the unsigned certificate?
EDIT:
ajenti installation did not setup "/etc/courier/imapd-ssl" correctly.
or maybe the ssl setup inside ajenti cant write to the file...
whatever is the problem, it can be fixed by manually editing the file.
i had to change this line:
TLS_CERTFILE=/etc/courier/mail.pem
to
TLS_CERTFILE=/etc/ssl/certs/my.server.name.pem
TLS_DHPARAMS=/etc/courier/dhparams.pem
WORKS NOW!
the manually changed imapd-ssl got overwritten again... how can i fix that ?!
EDIT: with an audit i found out that the file gets changed when i create new mailboxes in ajenti.
rebooting doesnt overwrite it, but creating new mailboxes (maybe also editing existing ones) does.
PLEASE HELP!!!!
files that get overwritten:
imapd
imapd-ssl
all user** files and authdemon
files that get not overwritten:
all the pop files
at the bottom of the file u can see the data that will be written into the imapd-ssl, after a change.
just apply the changes from above to this file and the template will be saved, after a restart of ajenti and courier.