Postfix setup

Tom Misilo tmisilo at gmail.com
Tue Aug 14 14:09:05 BST 2007


This is the error I get back from telnet
C:\Documents and Settings\Administrator>telnet mail 25
Connecting To mail...Could not open connection to the host, on port
25: Connect failed

Also to the best of my knowledge there is no firewall running.

I also have this in my main.cf
mynetworks = 127.0.0.0./8 192.168.0.0/24 192.168.1.0/24 So any client
that is on my network should be able to connect, no?

Thanks!

On 8/14/07, Gavin McCullagh <gmccullagh at gmail.com> wrote:
> Hi,
>
> On Tue, 14 Aug 2007, Tom Misilo wrote:
>
> > Thanks for the replies.
> >
> > I am trying to use cyrus to handle the pop3/imap requests.
>
> > Also, would I be better of using another piece of software instead of
> > cyrus?
>
> Cyrus is highly scalable (moreso than most), but some aspects of it are a
> little unusual -- eg how you do server-side filtering, etc.  It is not an
> unreasonable choice, although depending on the size of your project you
> might find something like dovecot a little easier to set up and maintain.
>
> > I am sending mail from the localhost using alpine. setting it to
> > localhost fixed that error. but when I tail the mail.log file this is
> > what I get
> >
> > Aug 14 08:34:15 linus postfix/smtp[13788]: C4B5598131:
> > to=<xxxxxxxx at gmail.com>, relay=none, delay=214, delays=64/0.07/150/0,
> > dsn=4.4.1, status=deferred (connect to
> > alt2.gmail-smtp-in.l.google.com[72.14.215.114]: Connection timed out)
>
> So now it's accepted your emails, but it can't connect to google.com to
> deliver them, apprently because something's stopping it from connecting to
> 72.14.215.114 on port 25.  I'd presume that's a firewall rule somewhere as
> I see it fine:
>
> gavinmc at boing:~$ telnet 72.14.215.114 25
> Trying 72.14.215.114...
> Connected to 72.14.215.114.
> Escape character is '^]'.
> 220 mx.google.com ESMTP y1si2317953hua
>
> > I still cannot "telnet mail 25" from another computer on network. But
> > it works fine if I run it on the server.  Any suggestions?
>
> Again the error telnet gives back is all important.  "Connection refused"
> suggests postfix is probably only listening on 127.0.0.1 (a postfix config
> issue).  "No route to host" or "connection timed out" probably suggests a
> firewall is blocking you.  "Connection closed" might be postfix replying
> and immediately closing the connection (not so likely).
>
> It seems like you may have some sort of firewall on the mail server that's
> causing most of these problems.  I'd suggest you turn off the firewall for
> 5 minutes and see do the problems go away.  If it does, you need to
> configure the firewall properly to allow connections in and out on tcp port
> 25.
>
> Gavin
>
>
> --
> edubuntu-users mailing list
> edubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>


-- 
Tom Misilo
AIM:Tmisilo FL
Jabber:tmisilo at jabber.org
http://tmisilo.ath.cx



More information about the edubuntu-users mailing list