
17th August 2005, 19:45
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

17th August 2005, 21:16
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

18th August 2005, 10:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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
|

18th August 2005, 19:40
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

18th August 2005, 20:24
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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
|

22nd August 2005, 16:10
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Rio de Janeiro, RJ - Brazil
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The result is...
__________________
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.
|

22nd August 2005, 16:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Your system doesn't have a connection to the internet!  Not very good for sending mails...
|

22nd August 2005, 23:22
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
Last edited by jrowe; 22nd August 2005 at 23:26.
Reason: mistake
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:35.
|
Recent comments
2 days 15 hours ago
3 days 18 min ago
3 days 3 hours ago
3 days 4 hours ago
3 days 5 hours ago
3 days 7 hours ago
3 days 8 hours ago
3 days 10 hours ago
4 days 2 hours ago
4 days 2 hours ago