> I have installed Postfix on Ubuntu to use to only send emails for my rails
application. My rails application is not able to connect to it. Could this
be because sendmail is listeneing at port 20?
> also, what configuration would suit me best if I only want to send emails
ant not receive. This is onyl for testing purposes on my own laptop.

Postfix listens on port 25, which (excluding configuration changes) which is
where all your applications will expect to find it.

Postfix also comes with it's own version of sendmail, so you need to uninstall
the version that came with ubuntu.

By default postfix will only relay mail from IPs in "mynetworks" Make sure you
check mynetworks in main.cf to make sure it only contains 127.0.0.1, so you
don't end up relaying for everybody on your local network.

Terry


Reply via email to