You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Gatsby Wang <wb...@163.com> on 2008/05/09 11:05:01 UTC

Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

I'm using James 2.3.0
And I'm using all default in config.xml. 

The error log shows:

05/05/08 03:06:32 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1209978391781-13-to-bearingpoint.com to host bearingpoint.com at
10.98.1.31 for addresses [gatsby.wang@bearingpoint.com]
05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 10.98.1.31, port: 25
05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1209978391781-13-to-bearingpoint.com: 
05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1209978391781-13-to-bearingpoint.com into outgoing after 0 retries 

and the error log of dnsserver shows:

05/05/08 03:06:32 INFO  dnsserver: Couldn't resolve MX records for domain
bearingpoint.com.
05/05/08 03:06:32 INFO  dnsserver: Couldn't find CNAME records for domain
bearingpoint.com.

Is there something wrong in the config or with the dns server i'm using?
And how can i change the config to address the issue?
Thanks!
-- 
View this message in context: http://www.nabble.com/Help--Can-not-send-out-email--%27Could-not-connect-to-SMTP-host%3A-10.98.1.31%2C-port%3A-25%27-tp17144089p17144089.html
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Gatsby Wang <wb...@163.com>.
ok I at least partly understand how it works.

It seems i should turn to our dns admin.

Thank you very much.

Stefano Bagnara-2 wrote:
> 
> Ok, you see that your dns is returning "10.98.1.31" as the IP for 
> bearingpoint.com and JAMES is falling back to bearkingpoint.com direct 
> resolution because the lookup for an MX pointer didn't return records.
> 
> That's wrong.
> 
> If I try to lookup braringpoint.com I get this:
> 206.49.105.19
> 
> but the most important part is that when I  look for MX servers I get
> this:
> 
> [root@elysia ~]# host -t mx bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx17.bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx15.bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx16.bearingpoint.com.
> 
> You should use DNS servers that gives you this result, or it can't work.
> 
> Stefano
> 
> Gatsby Wang ha scritto:
>> Thank you for your reply!
>> 
>> I used the 'nslookup' to check, and find that james is using (by
>> automatic
>> discover) exactly the same DNS as the default dns server that my host is
>> using.
>> 
>> the information from log: 
>> 01/05/08 10:43:33 INFO  dnsserver: Autodiscovery is enabled - trying to
>> discover your system's DNS Servers
>> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server
>> 10.96.22.73
>> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server
>> 10.96.22.74
>> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.73
>> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.74
>> 
>> 
>> the information from nslookup:
>> Default Server:  betyxdc01.corp.kpmgdev.com
>> Address:  10.96.22.73
>> 
>>> bearingpoint.com
>> Server:  betyxdc01.corp.kpmgdev.com
>> Address:  10.96.22.73
>> 
>> Name:    bearingpoint.com
>> Address:  10.98.1.31
>> 
>> 
>> I'm not the dns admin so I have no permission to that dns server. 
>> Could you please explain to me what does that 'valid recursive DNS
>> server'
>> mean? Does it mean that James have special requirement for its dns
>> server?
>>   
>> Will the issue caused by missing some key setting in the config (i use
>> all
>> default) so that i cannot connect to the smtp?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help--Can-not-send-out-email--%27Could-not-connect-to-SMTP-host%3A-10.98.1.31%2C-port%3A-25%27-tp17144089p17145267.html
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Stefano Bagnara <ap...@bago.org>.
Gatsby Wang ha scritto:
> btw 
> when I use nslookup to look for mx points, i got only this 
> 
>> set querytype=mx
>> bearingpoint.com
> Server:  betyxdc02.corp.kpmgdev.com
> Address:  10.96.22.74
> 
> bearingpoint.com
>         primary name server = betyxdc02.corp.kpmgdev.com
>         responsible mail addr = hostmaster.corp.kpmgdev.com
>         serial  = 172
>         refresh = 900 (15 mins)
>         retry   = 600 (10 mins)
>         expire  = 86400 (1 day)
>         default TTL = 3600 (1 hour)
> 
> 
> Could you tell me what does that infer? Just mean that no record can be
> returned?

Yes, it returned no records. And this is wrong.

> However, I can get the same as what you got on another host that was not in
> the domain. 

Then simply use an external DNS. Just remove the "autodetect" from 
dnsservers in config.xml and add the external DNS IP and it will work.

Stefano



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Gatsby Wang <wb...@163.com>.
btw 
when I use nslookup to look for mx points, i got only this 

> set querytype=mx
> bearingpoint.com
Server:  betyxdc02.corp.kpmgdev.com
Address:  10.96.22.74

bearingpoint.com
        primary name server = betyxdc02.corp.kpmgdev.com
        responsible mail addr = hostmaster.corp.kpmgdev.com
        serial  = 172
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)


Could you tell me what does that infer? Just mean that no record can be
returned?

However, I can get the same as what you got on another host that was not in
the domain. 



Stefano Bagnara-2 wrote:
> 
> Ok, you see that your dns is returning "10.98.1.31" as the IP for 
> bearingpoint.com and JAMES is falling back to bearkingpoint.com direct 
> resolution because the lookup for an MX pointer didn't return records.
> 
> That's wrong.
> 
> If I try to lookup braringpoint.com I get this:
> 206.49.105.19
> 
> but the most important part is that when I  look for MX servers I get
> this:
> 
> [root@elysia ~]# host -t mx bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx17.bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx15.bearingpoint.com.
> bearingpoint.com mail is handled by 10 becxolx16.bearingpoint.com.
> 
> You should use DNS servers that gives you this result, or it can't work.
> 
> Stefano
> 
> Gatsby Wang ha scritto:
>> Thank you for your reply!
>> 
>> I used the 'nslookup' to check, and find that james is using (by
>> automatic
>> discover) exactly the same DNS as the default dns server that my host is
>> using.
>> 
>> the information from log: 
>> 01/05/08 10:43:33 INFO  dnsserver: Autodiscovery is enabled - trying to
>> discover your system's DNS Servers
>> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server
>> 10.96.22.73
>> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server
>> 10.96.22.74
>> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.73
>> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.74
>> 
>> 
>> the information from nslookup:
>> Default Server:  betyxdc01.corp.kpmgdev.com
>> Address:  10.96.22.73
>> 
>>> bearingpoint.com
>> Server:  betyxdc01.corp.kpmgdev.com
>> Address:  10.96.22.73
>> 
>> Name:    bearingpoint.com
>> Address:  10.98.1.31
>> 
>> 
>> I'm not the dns admin so I have no permission to that dns server. 
>> Could you please explain to me what does that 'valid recursive DNS
>> server'
>> mean? Does it mean that James have special requirement for its dns
>> server?
>>   
>> Will the issue caused by missing some key setting in the config (i use
>> all
>> default) so that i cannot connect to the smtp?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help--Can-not-send-out-email--%27Could-not-connect-to-SMTP-host%3A-10.98.1.31%2C-port%3A-25%27-tp17144089p17146225.html
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Stefano Bagnara <ap...@bago.org>.
Ok, you see that your dns is returning "10.98.1.31" as the IP for 
bearingpoint.com and JAMES is falling back to bearkingpoint.com direct 
resolution because the lookup for an MX pointer didn't return records.

That's wrong.

If I try to lookup braringpoint.com I get this:
206.49.105.19

but the most important part is that when I  look for MX servers I get this:

[root@elysia ~]# host -t mx bearingpoint.com.
bearingpoint.com mail is handled by 10 becxolx17.bearingpoint.com.
bearingpoint.com mail is handled by 10 becxolx15.bearingpoint.com.
bearingpoint.com mail is handled by 10 becxolx16.bearingpoint.com.

You should use DNS servers that gives you this result, or it can't work.

Stefano

Gatsby Wang ha scritto:
> Thank you for your reply!
> 
> I used the 'nslookup' to check, and find that james is using (by automatic
> discover) exactly the same DNS as the default dns server that my host is
> using.
> 
> the information from log: 
> 01/05/08 10:43:33 INFO  dnsserver: Autodiscovery is enabled - trying to
> discover your system's DNS Servers
> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server 10.96.22.73
> 01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server 10.96.22.74
> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.73
> 01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.74
> 
> 
> the information from nslookup:
> Default Server:  betyxdc01.corp.kpmgdev.com
> Address:  10.96.22.73
> 
>> bearingpoint.com
> Server:  betyxdc01.corp.kpmgdev.com
> Address:  10.96.22.73
> 
> Name:    bearingpoint.com
> Address:  10.98.1.31
> 
> 
> I'm not the dns admin so I have no permission to that dns server. 
> Could you please explain to me what does that 'valid recursive DNS server'
> mean? Does it mean that James have special requirement for its dns server?
>   
> Will the issue caused by missing some key setting in the config (i use all
> default) so that i cannot connect to the smtp?



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Gatsby Wang <wb...@163.com>.
Thank you for your reply!

I used the 'nslookup' to check, and find that james is using (by automatic
discover) exactly the same DNS as the default dns server that my host is
using.

the information from log: 
01/05/08 10:43:33 INFO  dnsserver: Autodiscovery is enabled - trying to
discover your system's DNS Servers
01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server 10.96.22.73
01/05/08 10:43:33 INFO  dnsserver: Adding autodiscovered server 10.96.22.74
01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.73
01/05/08 10:43:33 INFO  dnsserver: DNS Server is: 10.96.22.74


the information from nslookup:
Default Server:  betyxdc01.corp.kpmgdev.com
Address:  10.96.22.73

> bearingpoint.com
Server:  betyxdc01.corp.kpmgdev.com
Address:  10.96.22.73

Name:    bearingpoint.com
Address:  10.98.1.31


I'm not the dns admin so I have no permission to that dns server. 
Could you please explain to me what does that 'valid recursive DNS server'
mean? Does it mean that James have special requirement for its dns server?
  
Will the issue caused by missing some key setting in the config (i use all
default) so that i cannot connect to the smtp?


Stefano Bagnara-2 wrote:
> 
> Gatsby Wang ha scritto:
>> I'm using James 2.3.0
>> And I'm using all default in config.xml. 
>> 
>> The error log shows:
>> 
>> 05/05/08 03:06:32 INFO  James.Mailet: RemoteDelivery: Attempting delivery
>> of
>> Mail1209978391781-13-to-bearingpoint.com to host bearingpoint.com at
>> 10.98.1.31 for addresses [gatsby.wang@bearingpoint.com]
>> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Could not connect
>> to
>> SMTP host: 10.98.1.31, port: 25
>> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1209978391781-13-to-bearingpoint.com: 
>> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Storing message
>> Mail1209978391781-13-to-bearingpoint.com into outgoing after 0 retries 
>> 
>> and the error log of dnsserver shows:
>> 
>> 05/05/08 03:06:32 INFO  dnsserver: Couldn't resolve MX records for domain
>> bearingpoint.com.
>> 05/05/08 03:06:32 INFO  dnsserver: Couldn't find CNAME records for domain
>> bearingpoint.com.
>> 
>> Is there something wrong in the config or with the dns server i'm using?
>> And how can i change the config to address the issue?
>> Thanks!
> 
> There is an issue with DNS servers you use.
> 
> Make sure you use valid recursive DNS servers in your james <dnsservers> 
> configuration and restart james.
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help--Can-not-send-out-email--%27Could-not-connect-to-SMTP-host%3A-10.98.1.31%2C-port%3A-25%27-tp17144089p17144832.html
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Help--Can not send out email--'Could not connect to SMTP host: 10.98.1.31, port: 25'

Posted by Stefano Bagnara <ap...@bago.org>.
Gatsby Wang ha scritto:
> I'm using James 2.3.0
> And I'm using all default in config.xml. 
> 
> The error log shows:
> 
> 05/05/08 03:06:32 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1209978391781-13-to-bearingpoint.com to host bearingpoint.com at
> 10.98.1.31 for addresses [gatsby.wang@bearingpoint.com]
> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 10.98.1.31, port: 25
> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1209978391781-13-to-bearingpoint.com: 
> 05/05/08 03:06:53 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1209978391781-13-to-bearingpoint.com into outgoing after 0 retries 
> 
> and the error log of dnsserver shows:
> 
> 05/05/08 03:06:32 INFO  dnsserver: Couldn't resolve MX records for domain
> bearingpoint.com.
> 05/05/08 03:06:32 INFO  dnsserver: Couldn't find CNAME records for domain
> bearingpoint.com.
> 
> Is there something wrong in the config or with the dns server i'm using?
> And how can i change the config to address the issue?
> Thanks!

There is an issue with DNS servers you use.

Make sure you use valid recursive DNS servers in your james <dnsservers> 
configuration and restart james.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org