Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Reg: Local to External mail accounts sending
PostPosted: 2012-06-21 07:30 
New user
New user

Joined: 2012-06-21 07:15
Posts: 9
Hi this is varma,

I can able to send the mails to external mail accounts like Gmail, Yahoo etc. But All sending mails going through only one mail id which was configured in the Setting->Protocols->SMTP

At the time of account creation, External mail id and password is already given

Kindly help on this issue


Top
 Profile  
 
 Post subject: Re: Reg: Local to External mail accounts sending
PostPosted: 2012-06-21 13:29 
Moderator
User avatar

Joined: 2007-06-14 05:12
Posts: 9384
Location: 'The Outback' Australia
please run the hmailserver diagnostics and post the result

_________________
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
Documentation


Top
 Profile  
 
 Post subject: Re: Reg: Local to External mail accounts sending
PostPosted: 2012-06-21 14:38 
New user
New user

Joined: 2012-06-21 07:15
Posts: 9
Test: Collect server details
hMailServer version: hMailServer 5.4-B1931
Database type: MySQL

Test: Test IPv6
IPv6 support is not available in operating system.

Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25
Trying to connect to host mail.hmailserver.com...
ERROR: The host name mail.hmailserver.com could not be resolved.

Test: Test backup directory
Backup directory has not been specified.

Test: Test MX records
Trying to resolve MX records for sml.in...
ERROR: MX records for domain sml.in could not be resolved

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain sml.in...
ERROR: MX records for local domain sml.in could not be resolved

Test: Test message file locations
Relative message paths are stored in the database for all messages.

Test: Test IP range configuration
No problems were found in the IP range configuration.

--- LOG

"DEBUG" 2144 "2012-06-21 18:18:04.375" "Creating session 108"
"DEBUG" 2144 "2012-06-21 18:18:04.828" "Closing TCP/IP socket"
"DEBUG" 2144 "2012-06-21 18:18:04.828" "Ending session 108"
"DEBUG" 2120 "2012-06-21 18:18:06.000" "Creating session 109"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "SENT: 220 MAIL ESMTP"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "RECEIVED: EHLO Nagavinay"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "SENT: 250-MAIL[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "RECEIVED: AUTH LOGIN"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "RECEIVED: dmluYXlAc21sLmlu"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 2120 109 "2012-06-21 18:18:06.000" "192.168.5.39" "RECEIVED: ***"
"SMTPD" 2120 109 "2012-06-21 18:18:06.015" "192.168.5.39" "SENT: 235 authenticated."
"SMTPD" 2120 109 "2012-06-21 18:18:06.015" "192.168.5.39" "RECEIVED: MAIL FROM: <vinay@sml.in>"
"SMTPD" 2120 109 "2012-06-21 18:18:06.015" "192.168.5.39" "SENT: 250 OK"
"SMTPD" 2120 109 "2012-06-21 18:18:06.015" "192.168.5.39" "RECEIVED: RCPT TO: <ragava.varma@gmail.com>"
"SMTPD" 2120 109 "2012-06-21 18:18:06.031" "192.168.5.39" "SENT: 250 OK"
"SMTPD" 2120 109 "2012-06-21 18:18:06.031" "192.168.5.39" "RECEIVED: DATA"
"SMTPD" 2120 109 "2012-06-21 18:18:06.031" "192.168.5.39" "SENT: 354 OK, send."
"DEBUG" 1964 "2012-06-21 18:18:06.031" "Saving message: {445A977E-D032-4A6F-86C2-72D674BA843F}.eml"
"DEBUG" 1964 "2012-06-21 18:18:06.093" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 1964 109 "2012-06-21 18:18:06.093" "192.168.5.39" "SENT: 250 Queued (0.000 seconds)"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Delivering message..."
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Applying rules"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Performing local delivery"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Local delivery completed"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Performing external delivery"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "SD::_InitiateExternalConnection"
"DEBUG" 2052 "2012-06-21 18:18:06.125" "Creating session 110"
"DEBUG" 2120 "2012-06-21 18:18:06.921" "SMTPClientConnection::_ParseASCII()"
"SMTPC" 2120 110 "2012-06-21 18:18:06.921" "192.168.5.8" "RECEIVED: 220 mx.google.com ESMTP kt1sm35601981pbc.32"
"SMTPC" 2120 110 "2012-06-21 18:18:06.921" "192.168.5.8" "SENT: HELO MAIL"
"DEBUG" 2120 "2012-06-21 18:18:06.921" "SMTPClientConnection::~_ParseASCII() - 2"
"DEBUG" 2152 "2012-06-21 18:18:07.140" "SMTPClientConnection::_ParseASCII()"
"SMTPC" 2152 110 "2012-06-21 18:18:07.140" "192.168.5.8" "RECEIVED: 250 mx.google.com at your service"
"SMTPC" 2152 110 "2012-06-21 18:18:07.140" "192.168.5.8" "SENT: MAIL FROM:<vinay@sml.in>"
"DEBUG" 2152 "2012-06-21 18:18:07.140" "SMTPClientConnection::~_ParseASCII() - 4"
"DEBUG" 2108 "2012-06-21 18:18:07.343" "SMTPClientConnection::_ParseASCII()"
"SMTPC" 2108 110 "2012-06-21 18:18:07.343" "192.168.5.8" "RECEIVED: 530-5.5.1 Authentication Required. Learn more at"
"DEBUG" 2108 "2012-06-21 18:18:07.343" "SMTPClientConnection::~_ParseASCII() - 1"
"DEBUG" 2148 "2012-06-21 18:18:07.343" "SMTPClientConnection::_ParseASCII()"
"SMTPC" 2148 110 "2012-06-21 18:18:07.343" "192.168.5.8" "RECEIVED: 530 5.5.1 http://support.google.com/mail/bin/answ ... swer=14257 kt1sm35601981pbc.32"
"SMTPC" 2148 110 "2012-06-21 18:18:07.343" "192.168.5.8" "SENT: QUIT"
"DEBUG" 2108 "2012-06-21 18:18:07.562" "SMTPClientConnection::_ParseASCII()"
"SMTPC" 2108 110 "2012-06-21 18:18:07.562" "192.168.5.8" "RECEIVED: 221 2.0.0 closing connection kt1sm35601981pbc.32"
"DEBUG" 2108 "2012-06-21 18:18:07.562" "Closing TCP/IP socket"
"DEBUG" 2052 "2012-06-21 18:18:07.562" "SD::~_InitiateExternalConnection-5"
"DEBUG" 2052 "2012-06-21 18:18:07.562" "Ending session 110"
"DEBUG" 2052 "2012-06-21 18:18:07.562" "SD::~_DeliverToExternalAccounts-1"
"DEBUG" 2052 "2012-06-21 18:18:07.562" "Collect delivery result"
"DEBUG" 2052 "2012-06-21 18:18:07.593" "Collect delivery result - Done"
"DEBUG" 2052 "2012-06-21 18:18:07.593" "SD::_SubmitErrorLog"
"DEBUG" 2052 "2012-06-21 18:18:07.609" "Saving message: {B1F4941D-BA99-448D-8D04-466637E13A2B}.eml"
"DEBUG" 2052 "2012-06-21 18:18:07.671" "SD::~_SubmitErrorLog"
"DEBUG" 2052 "2012-06-21 18:18:07.671" "Deleting message"
"DEBUG" 2052 "2012-06-21 18:18:07.703" "Deleting message file."


Top
 Profile  
 
 Post subject: Re: Reg: Local to External mail accounts sending
PostPosted: 2012-06-21 22:52 
Developer

Joined: 2010-04-24 23:16
Posts: 4799
Location: Michigan, USA
For one your diags show hmail can't resolve domains which is bad. Is dns setup & working on your Windows?

Next your logs show that google wants you to login to send to them, as if they think they host for your sending (from) domain or something. Do they? They even give you a link to visit:
https://support.google.com/mail/bin/ans ... swer=14257

Third, why does it show the IP as 192.168.5.8 ??

_________________
hMailServer build I'm using LIVE on my servers: 5.4-B2013040501
Latest test builds at: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420


Top
 Profile  
 
 Post subject: Re: Reg: Local to External mail accounts sending
PostPosted: 2012-06-22 06:40 
New user
New user

Joined: 2012-06-21 07:15
Posts: 9
Thanks for your response

hmailserver IP is 192.168.5.21 ; My proxy server IP is 192.168.5.8

Gmail SMTP configured in the proxy server on 464 port

If i configure my Gmail account in smtp settings its working fine. But All local to external mails going through configured mail id only.

I need to send the mails from different external accounts which were configured in the local mail accounts.


Top
 Profile  
 
 Post subject: Re: Reg: Local to External mail accounts sending
PostPosted: 2012-06-22 13:51 
Moderator
User avatar

Joined: 2007-06-14 05:12
Posts: 9384
Location: 'The Outback' Australia
I think the issue is your use of a proxy server.

_________________
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
Documentation


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group