OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: TRANSPORT NON WORK
From: Giuliano Cocchi (gcocchi.mastertiscalinet.it)
Date: Tue Jul 04 2000 - 09:10:09 CDT


Hi all.

I have a problem with transport map.
I have 2 postfix running on linux box.
The 2 server are setted as 1st and 2nd MX exchange in my DNS.
The first MX contain all the mbox for local users, and is used to deliver all
mail local and extern.
The second MX must deliver all mail for my local domain to the 1st MX, but the
mail directed to extern, must be delivered directly to 2nd MX.
But if i send a mail for my localdomain through 2nd MX, the mail remain in the
queue. (sendmail -q is not useful to send the mail), but the extern mail works
correctly.
Any ideas?

My postconf -n:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
delay_warning_time = 4
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = xxxxxxxxx.xx
myhostname = 2ndMX.xxxxxxxxxx.xx
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
queue_directory = /var/spool/postfix
relay_domains = $mydestination
relayhost = $mydomain
smtpd_banner = $myhostname ESMTP $mail_name
transport_maps = hash:/etc/postfix/transport

My /etc/postfix/transport:

local.domain stmp: 1stMX.xxxx.xx
.local.domain stmp: 1stMX.xxxx.xx