Greetings

i have an old osx server that was working fine and I noticed that the transport 
maps listed in the config are not being followed.

I have one domain name and several imap servers. 

first i checked if the format for the map was correct in main.cf , 
hash:/etc/postfix/k12_tm_imap2
I verified that user(s) in question had the correct entry in the map.
us...@mydomain.com  smtp:sub1.mydomain.com:25
us...@mydomain.com  smtp:sub1.mydomain.com:25
us...@mydomain.com  smtp:support.mydomain.com:25
us...@mydomain.com  smtp:elemail.mydomain.com:25

did a postmap 

postmap /etc/postfix/k12_tm_imap2

postfix reload


sent email to user1 , the message re-wrote the header as being local, as if I 
had an incorrect entry. I double checked my transport map and it all points to 
us...@sub1.mydomain.com

sample
Aug 20 10:36:41 imap2 postfix/pipe[3641]: 536D3DC23DA: 
to=<us...@imap2.mydomain.com>, orig_to=<user1@mydomain>, relay=dovecot, 
delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot 
service)

So it's delivering it locally when it should deliver it to the system specified 
in the transport map.

what should I be looking for ? what would stop the transport lookup and deliver 
locally ? is there something that overrides the transport map ?
main.cf on this machine is abnormally huge, most of it is set by default I 
usually adjust very little.

thanks for any insight
-j

postconf -n | grep transport                                                    
  
address_verify_default_transport = $default_transport
address_verify_local_transport = $local_transport
address_verify_relay_transport = $relay_transport
address_verify_transport_maps = $transport_maps
address_verify_virtual_transport = $virtual_transport
best_mx_transport = 
default_transport = smtp
defer_transports = 
fallback_transport = 
fallback_transport_maps = 
local_transport = local:$myhostname
mailbox_transport = dovecot
mailbox_transport_maps = 
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps 
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains 
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps 
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks 
$sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps
relay_transport = relay
transport_maps = hash:/etc/postfix/k12_tm_imap2, 
hash:/etc/postfix/bethsd_tm_imap2
transport_retry_time = 60s
virtual_transport = virtual




Reply via email to