Author |
|
hellbent Newbie


Joined: 22 January 2010 Location: Singapore
Online Status: Offline Posts: 7
|
Posted: 22 January 2010 at 9:09am | IP Logged
|
|
|
Hi;
Installation went very smoothly, receiving mail is fast but i can't seem to send emails. I've turn off my firewall but still can't send email, please help thanks
******Following from the log******
[22/01/2010][09:07:15.368] INFORMATION:
> [POST(1)] /webmail/processing.php
> ver.4.8.15 [SERVER-IP:216.227.218.240][USER-IP:218.186.8.241]
> PHP-5.2.9, Apache/1.3.41 (Unix) mod_fastcgi/2.4.6 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
[09:07:15.368] :: connection time -> 0.00308418273926
[09:07:15.369] MySQL Query: SELECT * FROM awm_domains WHERE url = 'iconalien.com'
[09:07:15.370] <<<[client_xml]<<<
<?_xml version="1.0" encoding="utf-8"?><webmail><param name="action" value="send"/><param name="request" value="message"/><message id="-1" from_acct_id="8" size="0" priority="3"><uid/><headers><from><![CDATA["aktest" <webmaster@iconalien.com>]]></from><to><![CDATA[webmaster@lafondue.com.sg]]></to><cc><![CDATA[]]></cc><bcc><![CDATA[]]></bcc><subject><![CDATA[this is a test mail] ]></subject><groups></groups></heade rs><body is_html="1"><![CDATA[this is a test] ]></body><attachments></attachments>< ;/message></webmail>
[09:07:15.375] Do: CProcessingSwitch->DoSendMessage
[09:07:15.375] MySQL Query: SELECT id_acct, acct.id_user as id_user, def_acct, deleted, email, mail_protocol,
mail_inc_host, mail_inc_login, mail_inc_pass, mail_inc_port, mail_out_host,
mail_out_login, mail_out_pass, mail_out_port, mail_out_auth, friendly_nm,
use_friendly_nm, def_order, getmail_at_login, mail_mode, mails_on_server_days,
signature_type, signature_opt, delimiter,
msgs_per_page, white_listing, x_spam, last_login, logins_count, def_skin,
def_lang, def_charset_inc, def_charset_out, def_timezone, def_date_fmt,
hide_folders, mailbox_limit, mailbox_size, id_domain, mailing_list,
allow_change_settings, allow_dhtml_editor, allow_direct_mode, hide_contacts, db_charset,
horiz_resizer, vert_resizer, mark, reply, contacts_per_page, view_mode, imap_quota
FROM awm_accounts AS acct
INNER JOIN awm_settings AS sett ON acct.id_user = sett.id_user
WHERE id_acct = 8 AND mailing_list = 0
[09:07:15.376] MySQL Query: SELECT id_domain, name, mail_protocol, mail_inc_host, mail_inc_port,
mail_out_host, mail_out_port, mail_out_auth
FROM awm_domains
WHERE id_domain = 4
[09:07:15.376] INI_SET: memory_limit/set_time_limit = 200M/3000
[09:07:15.377] MySQL Query: SELECT p.id_folder, p.id_parent, p.type, p.name, p.full_path, p.sync_type, p.hide, p.fld_order,
COUNT(messages.id) AS message_count, COUNT(messages_unread.seen) AS unread_message_count,
SUM(messages.size) AS folder_size, MAX(folder_level) AS level
FROM (awm_folders as n, awm_folders_tree as t, awm_folders as p)
LEFT OUTER JOIN awm_messages AS messages ON p.id_folder = messages.id_folder_db
LEFT OUTER JOIN awm_messages AS messages_unread ON
p.id_folder = messages_unread.id_folder_db AND
messages.id = messages_unread.id AND messages_unread.seen = 0
WHERE n.id_parent = -1
AND n.id_folder = t.id_parent
AND t.id_folder = p.id_folder
AND p.id_acct = 8
GROUP BY p.id_folder
ORDER BY p.fld_order
[09:07:15.379] [SMTP] Connecting to server mail.iconalien.com on port 25
10001::[09:07:25.380] [SMTP] Error: Connection timed out
[09:07:25.381] >>>[server_xml]>>>
<?_xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Can't send message.]]></error></webmail>
|
Back to Top |
|
|
Alex AfterLogic Support


Joined: 19 November 2003
Online Status: Offline Posts: 2207
|
Posted: 22 January 2010 at 9:39am | IP Logged
|
|
|
How do you know the firewall you turned off was the only one which is blocking the connection?
You must first make sure that nothing between the machine where you have WebMail Pro and the mail server machine is blocking the connection. The firewall (or antivirus, antispam or anything like that) can be installed on the web server (where you have WebMail Pro), on the hosting provider's end (if your server is hosted), on the ISP's server, etc.
Regards,
Alex
|
Back to Top |
|
|
hellbent Newbie


Joined: 22 January 2010 Location: Singapore
Online Status: Offline Posts: 7
|
Posted: 22 January 2010 at 11:28am | IP Logged
|
|
|
Hi;
Thank you for your reply.
I am hosted on lunarpages and I guess if the firewall (or antivirus, antispam or anything like that) is installed on the web server then there's nothing much that i can do.
Thanks again for your help & btw webmail pro is very very good.
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 22 January 2010 at 11:47am | IP Logged
|
|
|
Well, there is one more thing you can try. WebMail Pro is using 10 seconds connection timeout limit, but this value can be too low on some servers, especially those experiencing heavy load.
Locate the following lines in common\inc_constants.php file:
Code:
define('SOCKET_CONNECT_TIMEOUT', 10);
define('SOCKET_FGET_TIMEOUT', 20); |
|
|
There's a good chance that increasing those values may help. However, if, say, your hosting provider doesn't allow using SMTP from scripts, this cannot be worked around on WebMail Pro side.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hellbent Newbie


Joined: 22 January 2010 Location: Singapore
Online Status: Offline Posts: 7
|
Posted: 22 January 2010 at 12:16pm | IP Logged
|
|
|
Thanks Igor;
Changed it, tried increasing it slowly but still no joy. Now getting "connection is unsuccessful 12152".
Anyway, pls let me know if there's an alternative solution.
Cheers & have a great weekend
regards
ak
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 22 January 2010 at 12:23pm | IP Logged
|
|
|
Quote:
Anyway, pls let me know if there's an alternative solution. |
|
|
Consider checking with your hosting provider support if they allow using SMTP from PHP scripts. If they don't, the only alternative solution is switching to a different host.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hellbent Newbie


Joined: 22 January 2010 Location: Singapore
Online Status: Offline Posts: 7
|
Posted: 22 January 2010 at 10:07pm | IP Logged
|
|
|
Thnaks Igor, I have submitted a support ticket to my provider. You have been a great help.
cheers
ak
|
Back to Top |
|
|
hellbent Newbie


Joined: 22 January 2010 Location: Singapore
Online Status: Offline Posts: 7
|
Posted: 23 January 2010 at 11:04pm | IP Logged
|
|
|
Thanks Igor, problem solved.
I'm currently doing testing of the Free Webmail pro application on a test server before actually buying it & installing it on my client's server for their website.
For the benefits of all in this forum, the solution I used was very simple, I uninstall & reinstalled the application.
Once again, thanks igor
regards
ak
|
Back to Top |
|
|