hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-12-2008 5:25 AM |
|
I have installed a trial pro version of the mail server . I have no experience at all with mail servers , what I have done is: *Added a domain Tools > User And Domains THEN added a user for that domain, just entered usernmae, real name,password (I don't understand why I make this step , I just need to send emails from my PC) *In server options > General , I've entered the DNS server. AND set the port of web interface to 81 in order not to conflict with the web server (I'm using PHP to send emails through the mail server using mail() function)
* because I have a dynamic IP , I thought it's good to subscribe in TZO , I did and entered my details in Dynamic DNS under Tools > Utilities
* I'm using Wireless connection in my laptop , in case this may be useful to know in my problem .
PROBLEMS ARE : 1- Web Interface won't open .. using mydomain.tze.com:81 , it opens my router configuration page
2- using PHP script , mail('SEND@TO.EMAIL','hi','hello','From: EMAIL_DEFINED@IN.USERS'); I get the error : 12/10/2008 11:20:19 - [ 2] Attempting to deliver to the domain gmail.com 12/10/2008 11:20:20 - [ 2] Retrieved 5 MX records for domain gmail.com: 12/10/2008 11:20:20 - [ 2] Trying the server gmail-smtp-in.l.google.com: 216.239.59.27 12/10/2008 11:20:41 - [ 2] Winsock error when communicating with exchanger gmail-smtp-in.l.google.com: 216.239.59.27: ] Network is unreachable 12/10/2008 11:20:41 - [ 2] Trying the server alt1.gmail-smtp-in.l.google.com: 72.14.221.114 12/10/2008 11:21:02 - [ 2] Winsock error when communicating with exchanger alt1.gmail-smtp-in.l.google.com: 72.14.221.114: ] Network is unreachable 12/10/2008 11:21:02 - [ 2] Trying the server alt1.gmail-smtp-in.l.google.com: 72.14.221.27 12/10/2008 11:21:23 - [ 2] Winsock error when communicating with exchanger alt1.gmail-smtp-in.l.google.com: 72.14.221.27: ] Network is unreachable 12/10/2008 11:21:23 - [ 2] Trying the server alt2.gmail-smtp-in.l.google.com: 209.85.201.27
How to fix that and successfully send my emails ... perhaps my ISP has blocked port 25 ?
I'm a total newbie , it's my first day trying to mess with mail servers any step by step tutorial ? intro to email systems and how it works .!!?
|
|
|
|
|
SteveT Forum Administrator
 Posts: 2594 Online:  ArGoNuke Admiral


 |
| 10-12-2008 11:21 PM |
|
1. You would set a password so that no one else can access your email account. 2. As a test, instead of using mydomain.tzo.com:81 for the web interface, see if you can access it using the IP address of the machine where Mail Server is installed. 3. Did you open port 25 & 81 on your router? 4. To see what ports could be blocked either by a firewall/router or your ISP, I suggest trying Port Detective. There is a link for it in the links section of this site. Run in on the machine where the mail server is installed. Also stop the Mail Server before running the test. This will give you accurate results. |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 3:41 AM |
|
I did all what you have mentioned but I still get a very confusing error :
10/13/2008 9:40:08 AM - [ 1] Winsock error when communicating with exchanger gmail-smtp-in.l.google.com: 216.239.59.27: ] Connection timed out 10/13/2008 9:40:08 AM - [ 1] Trying the server alt2.gmail-smtp-in.l.google.com: 209.85.201.27 10/13/2008 9:40:09 AM - [ 2] Winsock error when communicating with exchanger mx2.hotmail.com: 65.54.244.168: ] Connection timed out 10/13/2008 9:40:09 AM - [ 2] Trying the server mx2.hotmail.com: 65.54.245.40 |
|
|
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 6:17 AM |
|
it seems that i need a reverse dns for my ip or what ... PTR
I read that I need my ip to point to my domain and vice versa ? correct ?
|
|
|
|
|
shwescorpion
Posts: 13 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 7:24 AM |
|
Posted By hugzzz on 10-12-2008 5:25 AM 1- Web Interface won't open .. using mydomain.tze.com:81 , it opens my router configuration page
In this case you need to forward the port 81 to your local IP.
|
|
|
|
|
SteveT Forum Administrator
 Posts: 2594 Online:  ArGoNuke Admiral


 |
| 10-13-2008 7:49 AM |
|
Where the ports open? Yes, as an anti-spam measure your need a reverse IP (PTR) record. If your using TZO they do provide it. In your ArGo on the Server Options -> General Tab -> Local Host enter your FQDN (Fully Qualified Domain Name). Such as mydomain.tzo.com. That should take care of the Reverse Pointer. Also sites like Hotmail, Yahoo also require a SPF record. With TZO via their control panel you can add that to your domains DNS. In our links section are links to wizards that can help you create an SPF record. Also make sure that have SMTP Authentication turned on. Without it, you will be an open relay and will end up getting black listed. If you are using ArGo for your web site to send mail then you can the IP address of your web server as a trusted IP. |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 8:23 AM |
|
| yes I've opened ports , and generated the SPF mydomain.tzo.net. IN TXT "v=spf1 a mx" ... is that correct ? |
|
|
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 8:29 AM |
|
oh i still get that connection timeout error !! |
|
|
|
|
SteveT Forum Administrator
 Posts: 2594 Online:  ArGoNuke Admiral


 |
| 10-13-2008 1:00 PM |
|
Can you Telnet to the Google Servers? Open a command window & try to telnet to Google. Example: Telnet 216.239.59.27 25 This is the response that I got: 220 mx.google.com ESMTP 32si14495099wfa.8 |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 1:57 PM |
|
Posted By SteveT on 10-13-2008 1:00 PM Can you Telnet to the Google Servers? Open a command window & try to telnet to Google. Example: Telnet 216.239.59.27 25 This is the response that I got: 220 mx.google.com ESMTP 32si14495099wfa.8
No , I could not telnet to Google !!! :o This error was returned : Connecting To 216.239.59.27...Could not open connection to the host, on port 25: Connect failed
Weird , I have tested the port 25 using port detective and it said that it was open , web interface opens using port 81 ...and my web server also opens using port 80
by the way , I tried every thing with the antivirus , disabled all email monitoring , ports monitor or even disable it itself ... but I still don't see any progress .... I use Kaspersky internet security .. and the windows firewall is off |
|
|
|
|
SteveT Forum Administrator
 Posts: 2594 Online:  ArGoNuke Admiral


 |
| 10-13-2008 2:17 PM |
|
Sounds like a DNS issue. Do you have a DNS Server specified on your Network Interface card? The easest way is to open the command prompt and type IPCONFIG /ALL You will get resutls something like this: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : athena Primary Dns Suffix . . . . . . . : TCC.DOM Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : Yes DNS Suffix Search List. . . . . . : TCC.DOM TCC.DOM Ethernet adapter Local Area Connection 2: Connection-specific DNS Suffix . : TCC.DOM Description . . . . . . . . . . . : 3Com 3C920B-EMB Integrated Fast Ethernet Controller Physical Address. . . . . . . . . : EE-E1-14-E1-AE-A3 Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 192.168.1.21 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.14 DNS Servers . . . . . . . . . . . : 192.168.1.14 192.168.1.7 Primary WINS Server . . . . . . . : 192.168.1.14 Lease Obtained. . . . . . . . . . : Sunday, October 12, 2008 12:09:55 PM Lease Expires . . . . . . . . . . : Wednesday, October 15, 2008 12:09:55 PM Your results will vary. I also run my own interal DNS Server, hence the private IP address for the DNS Server. Also do you have your default gateway set to that of your router? |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-13-2008 2:23 PM |
|
It indeed varies too much , look at mine : Windows IP Configuration Host Name . . . . . . . . . . . . : My_Computer_Name Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network k Connection Physical Address. . . . . . . . . : 00-19-D2-0D-BE-AD Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.1.77 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx is my dns server I got from my ISP
as it appears , the default gateway is set the ip address I use to access my router |
|
|
|
|
SteveT Forum Administrator
 Posts: 2594 Online:  ArGoNuke Admiral


 |
| 10-13-2008 11:13 PM |
|
| For some reason your nic does not appear to routing the DNS information. Are you able to ping locations outside of your networks, such a Google, Yahoo and so forth? |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 4:00 AM |
|
Posted By SteveT on 10-13-2008 11:13 PM For some reason your nic does not appear to routing the DNS information. Are you able to ping locations outside of your networks, such a Google, Yahoo and so forth?
Yes ,I can ping google :
C:\>ping www.google.com
Pinging www.l.google.com .239.59.99] with 32 bytes of data:
Reply from 216.239.59.99: bytes=32 time=309ms TTL=242 Reply from 216.239.59.99: bytes=32 time=110ms TTL=242 Reply from 216.239.59.99: bytes=32 time=108ms TTL=242 Reply from 216.239.59.99: bytes=32 time=110ms TTL=242
Ping statistics for 216.239.59.99: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 108ms, Maximum = 309ms, Average = 159ms
|
|
|
|
|
shwescorpion
Posts: 13 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 6:04 AM |
|
Posted By hugzzz on 10-13-2008 3:41 AM 10/13/2008 9:40:08 AM - [ 1] Winsock error when communicating with exchanger gmail-smtp-in.l.google.com: 216.239.59.27: ] Connection timed out 10/13/2008 9:40:08 AM - [ 1] Trying the server alt2.gmail-smtp-in.l.google.com: 209.85.201.27 10/13/2008 9:40:09 AM - [ 2] Winsock error when communicating with exchanger mx2.hotmail.com: 65.54.244.168: ] Connection timed out 10/13/2008 9:40:09 AM - [ 2] Trying the server mx2.hotmail.com: 65.54.245.40
I faced like this problem before with KIS ... even I turned off KIS and build-in windows firewall ... what I did was ... removed the KIS and everything was solved ... you might like to try this out ... just remove KIS and try send the mail again ...
|
|
|
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 6:19 AM |
|
No ,, I still face the problem after uninstalling KIS and rebooting windows.... the port is still open when I test on http://www.canyouseeme.org/ : Success: I can see your service on xx.233.71.1xx on port (25) Your ISP is not blocking port 25 |
|
|
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 6:21 AM |
|
| very weird and confusing ,, I'm about to loose hope ! |
|
|
|
|
mcorrow Forum Moderator Posts: 243 Online:  ArGoNuke Lt. JG


 |
| 10-14-2008 6:39 AM |
|
| I do not believe that ISP's block port 25 incoming. I think they only block outgoing port 25. It sounds like your ISP is blocking your port 25 outgoing. |
|
Matt |
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 6:59 AM |
|
| and is there a way to make sure they block the outgoing port 25 ? |
|
|
|
|
hugzzz
Posts: 15 Online:  ArGoNuke Apprentice


 |
| 10-14-2008 7:07 AM |
|
| I can send emails with outlook 2007 using my gmail smtp account ,, does that use outgoing port 25 ? |
|
|
|
|