#1  
Old 17th August 2005, 19:45
Luciano Luciano is offline
Junior Member
 
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Luciano Send a message via MSN to Luciano
Default Server can't "see" the internet

Hi folks!

Probably this may be a common error, caused by a little mistake of myself during the installation process. Please let me know what's going wrong.
This problem is similar as what i found on this thread: http://www.howtoforge.com/forums/sho...ighlight=relay

When i try to send a mail via Uebimiau, inside ISPConfig, i receive this error:

Quote:
It was not possible to send this e-mail
SMTP Error: Recipient not accepted. Verify your relay rules
I verified my DNS settings on my DNS server, and everything is fine. The DNS server finds the mail server without a problem. My .zone file on the DNS server shows:

Quote:
MX 5 smtp.e4w.com.br. ---> Our mailboxes actually are hosted on an external ISP.
MX 10 darwin.e4w.com.br. --> This is our internal mail server.
I asked a friend to test if he can "see" the mail server from outside my network. After using the command

Code:
ping mail.valeresponde.com.br
This result appears:

Code:
 
Starting against mail.valeresponde.com.br [200.190.167.101]
with 32 bytes of data:
 
Request server timeout
Request server timeout
Request server timeout
Request server timeout
 
Statistics of Ping to 200.190.167.101:
Packets: Sent = 4, Received = 0, Lost = 4 (100% of lost)
Probably something is blocking the transmission/receiving of packets from/to my network. What will i have to do? Shall i have to change settings of my DNS server? Or the problem might be the firewall?

Any help it's welcome!
__________________
Best regards,

Luciano Pereira Areal
Linux Network Administrator
E-mail: Lpareal@e4w.com.br
_____________________________
E4W Internet Solutions
:: www.e4w.com.br ::
_____________________________
Advise #1: Before writing a new post, try searching the forum first. Probably someone had the similar problem in the past and found an answer.

Advise #2: Always remember to put the remark [SOLVED] on all your posts. It helps everyone to find a solution quickly.
Reply With Quote
Sponsored Links
  #2  
Old 17th August 2005, 21:16
jnoble jnoble is offline
Junior Member
 
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default first thing to check

Hello, the first thing I would check is that your using your internal mailserver to send out (best practice) and if not, then the external mailserver has to allow relay from you.

The headers of the rejection email will say which server it is trying to use.

James
Reply With Quote
  #3  
Old 17th August 2005, 23:51
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 8 Times in 7 Posts
Default

I'm having a bit of problem receiving, but I think it's my config setting at my DNS service. The first thing I did to be able to send was open port 110 and 25 on my AP router as well as my DSL modem.

These might be able to help you troubleshoot your configuration.

Email/SMTP Test Utility: http://www.zoneedit.com/smtp.html
Mailbox/POP3 Test Utility: http://www.zoneedit.com/pop3.html?ad=smtptest
NSLookup: http://www.zoneedit.com/lookup.html?ad=pop3test
Reply With Quote
The Following User Says Thank You to domino For This Useful Post:
AbannyvabVask (17th December 2013)
  #4  
Old 18th August 2005, 10:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Quote:
Originally Posted by Luciano
When i try to send a mail via Uebimiau, inside ISPConfig, i receive this error:
Do you have these lines in your postfix main.cf?

Code:
mynetworks = 127.0.0.0/8
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
AbannyvabVask (20th December 2013)
  #5  
Old 18th August 2005, 19:40
Luciano Luciano is offline
Junior Member
 
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Luciano Send a message via MSN to Luciano
Default Is there a little point that i'm missing? :D

Hi Till !

I've checked the /etc/postfix/main.cf file, just as you said, and i've found two things:

1 - I didn't find the statement mynetworks = 127.0.0.0/8 in the TRUST AND RELAY CONTROL section. So, i've added it.

2 - Then, i've searched for the smtpd statement and i've found this line below:

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination

which is straightly different than your hint mentioned before:

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains

Does the lack of these two parameters is the main reason for the mail server failure?


In addition, i've also checked the log for e-mails, in /var/log/maillog. And, between the most error messages, one of them is very common: Network is unreachable.

Take a look and tell me, please, what i'm missing here.

Aug 18 12:12:24 darwin postfix/smtp[24537]: connect to uipa01i82.usiminas.com.br[200.251.3.175]: Network is unreachable (port 25)
Aug 18 12:12:24 darwin postfix/smtp[24537]: connect to uipa01m10x.usiminas.com.br[200.251.3.249]: Network is unreachable (port 25)
Aug 18 12:12:24 darwin postfix/smtp[24537]: 8F01013A8067: to=<vdesouza@usiminas.com.br>, relay=none, delay=11930, status=deferred (connect to uipa01m10x.usiminas.com.br[200.251.3.249]: Network is unreachable)
Aug 18 12:12:24 darwin postfix/smtp[24536]: connect to smtp.gerdau.com.br[200.213.29.36]: Network is unreachable (port 25)
Aug 18 12:12:24 darwin postfix/smtp[24536]: connect to smtp.gerdau.com.br[200.213.29.35]: Network is unreachable (port 25)
Aug 18 12:12:24 darwin postfix/smtp[24536]: 7039013A8066: to=<hugo.freitas@gerdau.com.br>, relay=none, delay=11930, status=deferred (connect to smtp.gerdau.com.br[200.213.29.35]: Network is unreachable)
Aug 18 12:12:40 darwin postfix/smtp[24538]: connect to mail.valeresponde.com.br[200.190.167.101]: Network is unreachable (port 25)
Aug 18 12:12:40 darwin postfix/smtp[24538]: D812E13A8064: to=<valeresponde@valeresponde.com.br>, relay=none, delay=76968, status deferred (connect to mail.valeresponde.com.br[200.190.167.101]: Network is unreachable)
Aug 18 12:29:04 darwin postfix/qmgr[9006]: 57BCD13A805E: from=<e4w@e4w.com.br>, size=1147, nrcpt=1 (queue active)
Aug 18 12:29:04 darwin postfix/smtp[24874]: connect to smtp.e4w.com.br[200.150.150.17]: Network is unreachable (port 25)
Aug 18 12:29:04 darwin postfix/smtp[24874]: 57BCD13A805E: to=<tecnologia@e4w.com.br>, relay=none, delay=91746, status=deferred (connect to smtp.e4w.com.br[200.150.150.17]: Network is unreachable)

Thanks in advance!!
__________________
Best regards,

Luciano Pereira Areal
Linux Network Administrator
E-mail: Lpareal@e4w.com.br
_____________________________
E4W Internet Solutions
:: www.e4w.com.br ::
_____________________________
Advise #1: Before writing a new post, try searching the forum first. Probably someone had the similar problem in the past and found an answer.

Advise #2: Always remember to put the remark [SOLVED] on all your posts. It helps everyone to find a solution quickly.
Reply With Quote
  #6  
Old 18th August 2005, 20:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
In addition, i've also checked the log for e-mails, in /var/log/maillog. And, between the most error messages, one of them is very common: Network is unreachable.
Can you ping the outside world? Try
Code:
ping -c4 www.google.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
AbannyvabVask (20th December 2013)
  #7  
Old 22nd August 2005, 16:10
Luciano Luciano is offline
Junior Member
 
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Luciano Send a message via MSN to Luciano
Default The result is...

This is the result:

Code:
 
# ping -c4 www.google.com
 
PING www.l.google.com (64.233.167.99) 56(84) bytes of data.
 
 
--- www.l.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
__________________
Best regards,

Luciano Pereira Areal
Linux Network Administrator
E-mail: Lpareal@e4w.com.br
_____________________________
E4W Internet Solutions
:: www.e4w.com.br ::
_____________________________
Advise #1: Before writing a new post, try searching the forum first. Probably someone had the similar problem in the past and found an answer.

Advise #2: Always remember to put the remark [SOLVED] on all your posts. It helps everyone to find a solution quickly.
Reply With Quote
The Following User Says Thank You to Luciano For This Useful Post:
AbannyvabVask (20th December 2013)
  #8  
Old 22nd August 2005, 16:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Your system doesn't have a connection to the internet! Not very good for sending mails...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
AbannyvabVask (5th December 2013)
  #9  
Old 22nd August 2005, 23:22
jrowe jrowe is offline
Junior Member
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Smile

Perhaps a slight oversight but it appears that you were trying to ping www.google.com and could not ping it, it could have to do with your ISP blocking pings, I cannot ping it myself from work, ICMP to the net is blocked, but from home (verizon DSL) I can ping it. Just thought i'd help. Have a nice day!



Quote:
Originally Posted by Luciano
This is the result:

Code:
 
# ping -c4 www.google.com
 
PING www.l.google.com (64.233.167.99) 56(84) bytes of data.
 
 
--- www.l.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms

Last edited by jrowe; 22nd August 2005 at 23:26. Reason: mistake
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Migration adamluz Feature Requests 0 15th August 2005 20:54
Multi servers ejs Installation/Configuration 1 3rd August 2005 09:46
Restrict access to my SystemImager server cornelius Installation/Configuration 1 7th June 2005 11:35
Multiple SSL sites on 1 server heat Server Operation 1 26th April 2005 13:05
Internal Server Error with CGI scripts? lola Programming/Scripts 2 21st April 2005 17:00


All times are GMT +2. The time now is 21:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.