Every once in a while there comes the time for me to vainly try and get 
this working again in the hopes that there will be fresh blood that will 
think of the test no one thought of before.  So here goes.

The problem is this: I am trying to run a pop3 daemon so I can send and 
receive my email on my home system as well as provide email addresses to 
users of my website without them needing to learn linux and pine.

I have imap-2001a-4mdk installed.

I am running:Linux www.eq-viatores.org 2.4.8-12mdk #1 Fri Aug 24 16:18:19 
CEST 2001 i686

eth0 is internal network
eth1 is external network

----------------------
xinetd.conf:
defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST RECORD
}
swat stream tcp nowait.400 root /usr/sbin/swat swat
includedir /etc/xinetd.d

------
ls /etc/xinetd.d
chargen*      daytime*      echo-udp*  ipop2*          pop3*            
rsync*  time-udp*
chargen-udp*  daytime-udp*  imap*      ipop3*          pop3s*           
swat*
cvs*          echo*         imaps*     linuxconf-web*  proftpd-xinetd*  
time*

-----

ipop3:

service pop3
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/ipop3d
        log_on_success          += USERID
        log_on_failure          += USERID
}

------------------

rc.firewall:
#!/bin/bash
echo "Enabling Forwarding"
echo ""
echo 1>/proc/sys/net/ipv4/ip_forward

iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD ACCEPT
iptables -F FORWARD

iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 81 -j REDIRECT --to-port 3128
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5900 -j DNAT --to-destination 
192.168.0.1
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5800 -j DNAT --to-destination 
192.168.0.1
---------------------------------------------

hosts.allow
swat: 127.0.0.1 192.168.0
pop3: ALL

------

hosts.deny (empty)
-------

/etc/services

snip
pop3            110/tcp    Post Office Protocol - Version 3
pop3            110/udp    Post Office Protocol - Version 3
snip


---------------------------------------

telnet localhost 110

Trying 68.44.71.113...
telnet: connect to address 68.44.71.113: Connection refused
telnet: Unable to connect to remote host: Connection refused








----------------------


Any takers?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to