Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd December 2010, 17:58
albertox26 albertox26 is offline
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 3 problems with mail Help me !!!!!!!

hi all I have a problem with the email of ispconfig 3 I can send emails but I can not get them.

I have a server that I am using router all port as much as 80 to 8080 and those for the OPERATING of ispconfig 3 are routed to the server.

the question is ...

that I can not receive?

HowtoForge follow the guide of ispconfig 3 with dovecot bind and step by step and is installed correctly ....

the operating system is debian 5.0 Lenny

I am using iptables

would greatly appreciate the help

Thanks!!
Reply With Quote
Sponsored Links
  #2  
Old 22nd December 2010, 22:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Are you able to send yourself a email locally from one account that is hosted on the server to another account which is hosted on the same server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2010, 05:00
albertox26 albertox26 is offline
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Problems with mail ispconfig 3

if I can send mail between mail accounts of several domains hosted on the same server .....

if I send mail from GMAIL to mail accounts of registered domains on my server I have not received

sorry for my English I'm using a translator to write
Reply With Quote
  #4  
Old 23rd December 2010, 09:03
Ghostdare Ghostdare is offline
Senior Member
 
Join Date: Aug 2009
Location: Europe - Romania - Bucharest
Posts: 146
Thanks: 10
Thanked 22 Times in 22 Posts
Default

I think that you have a problem with DNS. Chech if you have a corect pointing to your server.
Reply With Quote
  #5  
Old 23rd December 2010, 12:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
if I can send mail between mail accounts of several domains hosted on the same server .....
Thats good as it indicated that the problem is not the mailserver. As Ghostdare pointed out, you should check your dns records. Additionally, make sure that you forwarded port 25 from your router to your server and that your internet access provider does not block port 25.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 23rd December 2010, 13:55
albertox26 albertox26 is offline
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Problems with Ispconfig 3

ok I'll check the dns anyway I send a copy of the iptables configuration file to see if I'm wrong in the configuration of ports


## FLUSH de reglas
iptables -F
iptables -X
iptables -t nat -F

## Establecemos politica por defecto
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P POSTROUTING ACCEPT

## Nota: eth0 es el interfaz conectado a internet y eth1 a la LAN
# acceso localhost
/sbin/iptables -A INPUT -i lo -j ACCEPT

# Al firewall tenemos acceso desde las redes locales
iptables -A INPUT -s 192.168.0.0/24 -i eth0 -j ACCEPT
iptables -A INPUT -s 192.168.7.0/24 -i eth1 -j ACCEPT

# Ahora hacemos enmascaramiento de la red local
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -o eth1 -j MASQUERADE

# Abrimos el puerto 25, hay que configurar bien el relay del servidor SMTP
iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 25 -j ACCEPT
# Abrimos el pop3
iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 110 -j ACCEPT

# Cerramos el rango de puerto bien conocido
# iptables -A INPUT -s 0/0 -p tcp -dport 1:1024 -j DROP
# iptables -A INPUT -s 0/0 -p udp -dport 1:1024 -j DROP

# Cerramos un puerto de gesti.n: webmin
# iptables -A INPUT -s 0/0 -p tcp -dport 10000 -j DROP

# Redireccionamiento de Puerto TCP

iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 20 -j DNAT --to-destination 192.168.7.2:20
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 21 -j DNAT --to-destination 192.168.7.2:21
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 23 -j DNAT --to-destination 192.168.7.2:23
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 25 -j DNAT --to-destination 192.168.7.2:25
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 53 -j DNAT --to-destination 192.168.7.2:53
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 80 -j DNAT --to-destination 192.168.7.2:80
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 110 -j DNAT --to-destination 192.168.7.2:110
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 143 -j DNAT --to-destination 192.168.7.2:143
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 465 -j DNAT --to-destination 192.168.7.2:465
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 443 -j DNAT --to-destination 192.168.7.2:443
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 8080 -j DNAT --to-destination 192.168.7.2:8080
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 8081 -j DNAT --to-destination 192.168.7.2:8081
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 8070 -j DNAT --to-destination 192.168.7.3:8070
iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xx --dport 9000 -j DNAT --to-destination 192.168.7.3:9000

# Redireccionamiento de Puertos UDP


# PUERTOS TELNET
#iptables -A INPUT -s 192.168.2.0/24 -p tcp --dport 22:23 -j ACCEPT
#iptables -A INPUT -s 192.168.3.0/24 -p tcp --dport 22:23 -j ACCEPT
#iptables -A INPUT -s 192.168.4.0/24 -p tcp --dport 22:23 -j ACCEPT
#iptables -A INPUT -s 192.168.5.0/24 -p tcp --dport 22:23 -j ACCEPT

# Cerrar Puertos
iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 10000 -j DROP
iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 22 -j DROP

## Enmascarar todo lo que salga por eth0 proveniente de la red local.
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -o eth0 -j MASQUERADE

echo " OK "
echo "Verifique que lo que se aplica con: iptables -L -n"

if you can add me to your messenger my email is juan_alberto_ojeda@hotmail.com so I can better target

Thanks!!
Reply With Quote
  #7  
Old 23rd December 2010, 18:48
Ghostdare Ghostdare is offline
Senior Member
 
Join Date: Aug 2009
Location: Europe - Romania - Bucharest
Posts: 146
Thanks: 10
Thanked 22 Times in 22 Posts
Default

I'm not an IPTABLES familiar but try to stop this service, for testing only, and give a try. maybe somebody else will give you an opinion about your configuration.
Reply With Quote
  #8  
Old 27th December 2010, 03:54
albertox26 albertox26 is offline
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Help me!!!!!!!!!!!!!!!

Merry Christmas for all!!!!!!!!!!!!!!!

Hello Ghostdare

you were right the problem is not resolving dns

stop the configuration of the firewall (iptables) and check port redirection was fine 25y

could you tell me how to configure DNS for that I have reviewed to my knowledge but nothing does not work the connection.

can you tell me which file I edit?? and if you can show me a dns configuration file to guide me ....

Thanks!!
Reply With Quote
  #9  
Old 27th December 2010, 19:57
Ghostdare Ghostdare is offline
Senior Member
 
Join Date: Aug 2009
Location: Europe - Romania - Bucharest
Posts: 146
Thanks: 10
Thanked 22 Times in 22 Posts
 
Default

Merry Christmas... sry for my late response, i was Internet free these days.

1. Your server has a FQDN?
2. Has a NS at your registar or do you use your srv as primary nameserver?


regards,
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
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Hosting multiple websites and webmail dmwcool Installation/Configuration 8 30th March 2010 03:15
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50


All times are GMT +2. The time now is 02:17.


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