Re: Need Help with Squirrelmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcio A. Regalado wrote:
> telnet to localhost 25 & 110 work fine
> telnet to publimotion.com.mx Times Out

Is your server behind a NAT firewall...  If so, the request for
publimotion.com.mx will be resolving to your external IP address which,
for requests that originate from the internal network, invariably end up
with your firewall trying to deal with it.

A quick solution would be to add an entry to your hosts file that makes
publimotion.com.mx reference 127.0.0.1.  Alternatively, if you have
other machines running on the network that need to access the server you
will need to set up a DNS server on the network which has the internal
network IP addresses for all internal services, and then make all
internal machines use that DNS server.

Here's the relevant extracts from my config files:

/etc/named.conf
[...]
zone "pythagoras.no-ip.org" {
        type master;
        file "pythagoras_no-ip_org.db";
        allow-update { localhost; };
};

zone "0.168.192.in-addr.arpa" IN {
        type master;
        file "rev.pythagoras_no-ip_org.db";
        allow-update { localhost; };
};
[...]

/etc/dhcpd.conf
[...]
        option routers                  192.168.0.1;
[...]
        option domain-name-servers      192.168.0.2;
[...]

/var/named/pythagoras_no-ip_org.db

; BIND db file for pythagoras.no-ip.org

$TTL 86400

@       IN      SOA     dns.pythagoras.no-ip.org.
postmaster.pythagoras.no-ip.org. (
                        2005093001      ; serial number YYMMDDNN
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400           ; Min TTL
                        )

                NS      dns.pythagoras.no-ip.org.

                MX      10 mail.pythagoras.no-ip.org.


$ORIGIN pythagoras.no-ip.org.

router          IN      A       192.168.0.1
gavin           IN      A       192.168.0.2


; Gavin aliases
dns             IN      A       192.168.0.2
www             IN      A       192.168.0.2
mail            IN      A       192.168.0.2
smtp            IN      A       192.168.0.2
ssh             IN      A       192.168.0.2
upload          IN      A       192.168.0.2
listhost        IN      A       192.168.0.2
ren             IN      A       192.168.0.2
stimpy          IN      A       192.168.0.2
imap            IN      A       192.168.0.2
dspam           IN      A       192.168.0.2
vpn             IN      A       192.168.0.2


/var/named/rev.pythagoras_no-ip_org.db

; Reverse lookup file for local pythagoras.no-ip.org network

$TTL    86400

@       IN      SOA     dns.pythagoras.no-ip.org.
root.pythagoras.no-ip.org.  (
                                      2005042901 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum

              IN      NS      dns.pythagoras.no-ip.org.

1       IN      PTR     router.pythagoras.no-ip.org.
2       IN      PTR     gavin.pythagoras.no-ip.org.


Alternatively, I suppose that you could just make everything on your
server reference localhost - but that looks unprofessional in my opinion.

Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQ2FqGugNmph0Y1E2AQKByQ/9FNZs+mfhh/z2d7QkHyf8VJnQVl3ndAVp
3re4NI14iFXoCXXySqFg1CRmYs9DTcNcQfpmpsDqjpjGxV8LeZI7piepfVExZL/j
gBHi+k9kDMxj2o0J72HwpFCJ14inFW+RtuUzCGcsSLCCqZA8rTG6MtcI3CxlLUnw
J9EJ591DY3IZSwEH2hAiDfGTiwnm5ZwzvUJd0BbsFgd/5bEM3pSFiphzxeA0AYTS
QXmV6xsJ5pKn8Bn9bomTWL/GafCJJ1lZskLLg3aUQ58wC+DpUoNUeEWWg5Yo43N8
t1Bbn4q2ySu/zjdPAYa8SjiaPyL0lrY2PbUPcIt3deJ+n5YqssOpbiPDwSCLQVv5
dXFU7kuSEMaL3zZCFIHpu4uYHbrddzYKQyUlpEGt84lYYH7zOapqISHke+E5OkM/
BqXcOt0Br3wQ2uBx+38FW+IsoLjoEjn+XWoTpDyi8J4nant3X8XUvIm8pc8fKNCX
IqpX/lDkRhm380SEJFWkJ5DAGqEAUCUi0LCN48QV68S6AWcrUd5Otx3SnP4gu0UI
ihf61N8V3ukerBdp8hEo+pVwbvgFt+ZE7XHI/5Ae6abC/lJ3JAbNsIEgOUuSYBWa
0eBo89d3yC8x3nEuVHILCCSFgqJJVehxO3WbjRk7CQHNgd8U8lNmfC8yb8WvnpMy
8kGxe/Zss7g=
=zBiz
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux