Hi.
Bit new to PostFix and am having trouble setting it up.
I am trying to set up a null server that can send mail but not receive mail. The server running Postfix is on DMZ of network. We have an exchange Server on the LAN of the network that handles all receiving of mail. The postfix is for my webserver to send confirmation emails to internet users and that's it.
I followed the basic config and standard config for a null client in the documentation but its left me with some problems.
Program works fine sending mail to external mail addresses like hotmail, gmail, etc but when I try to send mail to mydomain.co.uk i get an error of "connect to mail.mydomain.co.uk[xxx.xxx.xxx.xxx]: Connection timed out" where xxx.xxx.xxx.xxx is the address of my router.
This is having a knock on effect of my mailq filling up with mail from root. Anybody have any ideas how to force emails to my domain to be sent externally? This should resolve the
root@mydomain.co.uk problem shouldn't it? Really really need a hand...
Here are changes to config i've made....
in master.cf i've commented out local delivery agent (local) as per documentation instructions.
A printout of postconf -n is as follows...
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
html_directory = /usr/share/doc/postfix-2.2.5/html
inet_interfaces = 127.0.0.1
local_transport = error:local delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = mydomain = co.uk
myhostname = mydomain
mynetworks = 127.0.0.0/8
mynetworks_style = host
myorigin = mydomain.co.uk
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.5/README_FILES relay_domains =
relayhost =
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop