Afterlogic cannot send emails
-
@cumpal If you are using the internal name, you would:
Server name: mail
Port: 2525You do not need to whitelist this as the traffic never leaves the cloudron server.
-
Hi, i'm asking for help here as a last resort as i can't figure out what is wrong.
I am hosting Afterlogic on a another server that doesn't have Cloudron installed.
The problem i'm having is that afterlogic cannot connect to my mail server which is hosted from
Cloudron.
Spark on my iPhone can send emails but some other email apps cannot send emails either eg. Outlook.
So i am wondering if my mail settings in Afterlogic are wrong or is there something else im missing?These are the settings im using in Afterlogic
@cumpal Your settings look correct to me. The SSL checkbox must be checked for IMAP and be unchecked for 587. Port 587 uses opportunistic TLS/STARTTLS and does not use SSL immediately. But each mail client behaves differently and one has to dig deeper to understand what exactly this SSL checkbox means.
I see that Afterlogic has many products, so I am not sure what the correct docs to look at are. If it is https://afterlogic.com/docs/webmail-lite-8/configuring-webmail/advanced-configuration, then we have to somehow set this
PreferStarttls
flag. -
@cumpal Your settings look correct to me. The SSL checkbox must be checked for IMAP and be unchecked for 587. Port 587 uses opportunistic TLS/STARTTLS and does not use SSL immediately. But each mail client behaves differently and one has to dig deeper to understand what exactly this SSL checkbox means.
I see that Afterlogic has many products, so I am not sure what the correct docs to look at are. If it is https://afterlogic.com/docs/webmail-lite-8/configuring-webmail/advanced-configuration, then we have to somehow set this
PreferStarttls
flag. -
@girish I am using Afterlogic WebMail Lite 8, and the test you gave me, it successfully connected to it.
Also checked the PreferStarttls flag and it was already set as true
@cumpal So, the next step to debug this would be to check the Cloudron mail server logs when afterlogic tries to connect. Also, does afterlogic itself have any detailed logs on why it cannot connect? Is it a network error or something SMTP error or auth error?
-
@girish I am using Afterlogic WebMail Lite 8, and the test you gave me, it successfully connected to it.
Also checked the PreferStarttls flag and it was already set as true
-
Mystery solved; The server i was hosting Afterlogic on turns out is just too slow. Checking the logs it would always time out, which is 15 seconds.
I ran Afterlogic on a much faster server and now it sends emails just fine.
Thanks all for your efforts to help me, it was much appreciated.