[ILUG] External->Internal postfix

Deim Agoston ago at idg.hu
Sat Feb 17 17:46:38 GMT 2001


Hello !

I've tried to setup two instances of postfix , on is on a "firewall'
the other is on the real gateway. I followed the faq's config (Running
postfix inside an intranet on the internal server and Running postfix on a
firewall on the external server). But now it doesn't work. And I don't
know why because I followed every single bit. Here are my postconf -ns and
the contents of the file..
On the external server ("firewall"):
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mydestination = $myhostname, carion.hu, localhost.carion.hu
mydomain = carion.hu
myhostname = mail.carion.hu
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 212.108.196.110/32
myorigin = $mydomain
queue_directory = /var/spool/postfix
relay_domains = 
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport:
carion.hu       smtp:[mail.intranet]
.carion.hu      smtp:[mail.intranet]

On the internal host:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = sentinel at localhost
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
disable_dns_lookups = yes
header_checks = regexp:/etc/postfix/body_checks
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mydestination = /etc/postfix/mydestination
mydomain = carion.hu
myhostname = mail.intranet
mynetworks = 212.108.196.110, 192.168.0.0/24, 127.0.0.0/8
myorigin = $mydomain
queue_directory = /var/spool/postfix
relayhost = firewall.carion.hu
transport_maps = /etc/postfix/transport

/etc/postfix/transport:

carion.hu       smtp:
.carion.hu      smtp:
mail.intranet   local:
localhost.carion.hu     local:

And now I just got the following messages :
Feb 17 18:08:36 mail postfix/trivial-rewrite[1296]: fatal: open
dictionary: need
 "type:name" form: /etc/postfix/transport
Feb 17 18:08:37 mail postfix/master[1000]: warning: process
/usr/libexec/postfix
/trivial-rewrite pid 1296 exit status 1
Feb 17 18:08:37 mail postfix/master[1000]: warning:
/usr/libexec/postfix/trivial
-rewrite: bad command startup -- throttling

Any help appriciated, thanks,
Ago





More information about the ILUG mailing list