I'm not familiar with shorewall, so someone else is going to have to check
the below (it looks ok, but maybe shorewall has to be restarted? dunno.)
let's check that courier esmtpd is in fact up and listening. you say you're
able to telnet to port 25 from the box, is it possible it's just listening
on 127.0.0.1? as root, what do you get w/:
netstat -anp
-j
> Mail from the local box gets to the outside world okay. Just not the
> otherway around.
>
> I have a firewall (Shorewall) running.
>
> /etc/shorewall/rules
>
> #ACTION SOURCE DEST PROTO
> DEST
> SOURCE ORIGINAL
> #
> PORT
>
> PORT(S) DEST
> ACCEPT net fw tcp
> http,https,55555,ssh,6665,6666,6667,6668,6669,7000,4899,imap,pop3,smtp,25
> -
> ACCEPT masq fw tcp
>
domain,bootps,http,https,631,imap,pop3,smtp,nntp,ntp,6665,6666,6667,6668,6669,7000,25
> -
> ACCEPT masq fw udp
>
domain,bootps,http,https,631,imap,pop3,smtp,nntp,ntp,6665,6666,6667,6668,6669,7000,25
> -
> ACCEPT fw masq tcp
> 631,137,138,139,6665,6666,6667,6668,6669,7000,4899,imap,pop3,smtp,25
> -
> ACCEPT fw masq udp
> 631,137,138,139,6665,6666,6667,6668,6669,7000,4899,imap,pop3,smtp,25
> -
> ACCEPT fw net tcp
> 6665,6666,6667,6668,6669,7000,4899,imap,pop3,smtp,25
> -
> ACCEPT fw fw tcp
> http,https,55555,ssh,6665,6666,6667,6668,6669,7000,4899,imap,pop3,smtp,25
> -
>
> As you can see, I'm allowing port 25 inbound and outbound.
>
> Shorewall uses Zones. fw is the box itself. net is anything on eth1 (the
> outside world), masq is my local netowkr on eth0
>
> - Nigel
>
> Jeff Potter said the following on 28/10/2002 16:04:
>
> >does local email from the box manage to make it to the outside world?
> >
> >if yes: are you running a firewall, or on a NATted IP address?
> >if no: is your ethernet interface up? (ifconfig -a)
> >
> >-j
> >
> > > Hi,
> > > I've got most of Courier 0.40 working on my Mandrake 9 machine. I've
> > > got webadmin working, and I've got webmail working. Emailing from the
> > > webmail works fine no problems.
> > > I can email "local" accounts using the webmail interface fine. But
when
> > > I try to send an email to one of the accounts from an external source I
> > > don't get it. I don't get an undelivered message from the sending
> > > address, but it just doesn't arrive in my maildir.
> > > As a test I've tried to telnet to the box on port 25 from itself,
works
> > > fine.
> > >
> > > ---------------
> > > [root@*** sbin]# telnet localhost 25
> > > Trying 127.0.0.1...
> > > Connected to localhost.localdomain (127.0.0.1).
> > > Escape character is '^]'.
> > > 220 ***.eclipticdreams.com ESMTP Postfix (1.1.11) (Mandrake Linux)
> > > ---------------
> > >
> > > Telnetting to the same IP:PORT from a different box however doesn't
> > > yield a response.
> > > Can anyone offer me a solution to what I've done wrong? I'm vey new to
> > > this and sorry if this is a dumb problem on my part.
> > >
> > > Thanks in advance
> > >
> > > - Nigel
> > >
> > >
> >
> >
> >
> >
> >
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users