Postfix setup

Gavin McCullagh gmccullagh at
Tue Aug 14 09:33:35 BST 2007

Hi Tom,

On Mon, 13 Aug 2007, Jim Kronebusch wrote:

> On Mon, 13 Aug 2007 16:01:16 -0400, Tom Misilo wrote
> > Okay I have found out that I cannot telnet port 25 on the server from
> > inside/outside of the network. Any ideas?

It depends what error you get.  If you get "connection refused" postfix is
probably either not running or not listening on that interface/port.  If
you get "no route to host", you probably have a firewall of some sort in
the way.  Telnetting to postfix on the local computer looks like this:

gavinmc at boing:~$ telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 boing.hamilton.local ESMTP Postfix (Ubuntu)

Try it on the local machine first.

> > On 8/13/07, Tom Misilo <tmisilo at> wrote:
> > > I followed all the directions here:
> > >
> > >
> > > However when I try and send an email using alpine I am gettng a relay
> > > access denied message when trying to send to my email address. Any
> > > ideas? Also what ports would I need to forward through the router to
> > > be able to send/receive mail from the outside world. As I would like
> > > to be able to use it while out with my laptop.

"relay access denied message" suggests to me that postfix is refusing to
relay your email as you are not one of the trusted hosts which it will
relay for.  At a guess, I'd say that might be down to you answering
"" to the seventh question in the howto which I guess is who
should the server relay mail for.  

You don't say if you're sending mail from the local computer or not.  If
you are, you'd need to use "localhost" or "" as your outgoing mail
server (not the machine's name).  If it's from another computer, you
probably need to add that computer's ip address or a range of ip addresses
to the relay allowed list by reconfiguring again.


More information about the edubuntu-users mailing list