[CentOS] Installing Postfix/Dovecot

Thu Mar 27 19:26:35 UTC 2008
Dennis McLeod <dmcleod at foranyauto.com>

"So I changed mynetworks to 192.168.69.0/24 and also 192.168.69.19/30"

192.168.69.19/30 should not be in there.
What exactly does it say?

This?: mynetworks = 192.168.69.0/24, 192.168.69.19/30
should be
mynetworks = 192.168.69.0/24, 127.0.0.0/8

(the /24 assumes you are using 255.255.255.0 as your subnet mask, and then
tells postfix to trust mail from machines in the 192.168.69.0-255 range)

Looks like you are trying to tell it that your clients start at .20, but
that's not something its going to need to know or understand, and is not a
legitimate entry anyway.
I would think it could be the cause of your problem, if you are logged onto
the server (localhost) and using mail to send messages.
You've removed the 127.0.0.0/8, which (I don't use postfix, so I could be
wrong) would remove localhost from the trusted addresses,







-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of Giulio Troccoli
Sent: Thursday, March 27, 2008 12:04 PM
To: centos at centos.org
Subject: [CentOS] Installing Postfix/Dovecot

I have just installed CentOS 5.1 on my home server and I am trying to set a
mail server.

I have diligently followed the instructions on the Wiki - How To on the
CentOS website (http://wiki.centos.org/HowTos/postfix). However I cannot
send internal email (I haven't yet tried externally).

Do you have any suggestions on what to check? To test it I used two normail
user: giulio and federica. I logged in as federica and sent an email to
giulio with the mail programme. Is this correct (i.e. using the mail
programme)?

There is one thing that I don't quite understand from the instructions. 
In section 3.1 it's suggested to set

mynetworks = 192.168.0.0/24, 127.0.0.0/8

in the /etc/postfix/main.cf file. My home network however is 192.168.69.0
and actually the IP assigned to any computers in the networks start from
192.168.69.20. So I changed mynetworks to
192.168.69.0/24 and also 192.168.69.19/30 (as my server IP address is
actully 192.168.69.25). I don't think this is the cause of my problem
anyway, because it didn't work even with the value suggested by the Wiki
page.

Thanks for you help
Giulio
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos