View Single Post
Old 17th January 2006, 17:20
onesandtwos onesandtwos is offline
Junior Member
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Red face postfix help please


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 i get an error of "connect to[]: Connection timed out" where 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 problem shouldn't it? Really really need a hand...

Here are changes to config i've made....

in 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 =
local_transport = error:local delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = mydomain =
myhostname = mydomain
mynetworks =
mynetworks_style = host
myorigin =
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
Reply With Quote
Sponsored Links