Click to See Complete Forum and Search --> : Need Help with postfix and redhat8


slewis1972
01-09-2003, 01:15 PM
I am setting up postfix on a redhat8 home server - well trying.

heres a readout from postconf

lias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = scott-lewis.kicks-***.net
myhostname = scott-lewis.kicks-***.net
myorigin = scott-lewis.kicks-***.net
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /etc/postfix/README_FILES
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 450


And heres my setup with iptables (could this be the issue)

Postfix is installed.

Ipatables are:-

iptables -A INPUT -p tcp -i $EXTINT --dport 25 -j ACCEPT
iptables -A OUTPUT -p tcp -o $EXTINT --sport 25 -j ACCEPT
iptables -A INPUT -p tcp -i $INTINT --dport 25 -j ACCEPT
iptables -A OUTPUT -p tcp -o $INTINT --sport 25 -j ACCEPT

iptables -A INPUT -p tcp -i $EXTINT --dport 110 -j ACCEPT
iptables -A OUTPUT -p tcp -o $EXTINT --sport 110 -j ACCEPT
iptables -A INPUT -p tcp -i $INTINT --dport 110 -j ACCEPT
iptables -A OUTPUT -p tcp -o $INTINT --sport 110 -j ACCEPT

I dport and sport in there as still getting used to what they. I have set them both - so once its working I can alter.

Now - postfix.

Couple of quick questions.

I have set what domain to receive and send from to be specific eg my dns name of scott-lewis.kicks-***.net (note its not working fully ay the moment)

Network interfaces for receving email = all.

Internet hostname = scott-lewis.kicks-***.net

is this ok?

Now - what.

Client. I have set the server details = using outlook Express:-

incoming and outgoing are set to the servers ip address for eth0 eg x.x.x.x which is the external one.

Username is a user on the system, and password is that of the user.

Is that it?

Tried it - it wont connect?

is it the iptables?

Scott