Handling mail only for a particular host

Hi all, I have Messaging Server 5.2 on an internal machine that gets it's external mail from an outfacing mailhub. The machine is 'messaging.domain.uk' but somewhere the rules in imta.cnf try to handle mail for '*.domain.uk'. When I try to send an internal mail to 'user@domain.uk' which should go straight to the mailhub and get re-addressed to 'user@imap2.domain.uk' the local Messaging Server is trying to handle the mail and complains with 'illegal or unknown alias 5.1.1' because the user/mailbox doesn't exist locally.

Any help on this would be gratefully appreciated.

Martin Pegler

[626 byte] By [Midge26] at [2007-11-25 8:26:20]
# 1

Hi,

try something like this.....

........

! Rules to select local users

! Uncomment the next line for Direct LDAP mode

! $* $E$F$U%$H@messaging.domain.uk$V$H

!messaging.domain.uk $U%$D@messaging.domain.uk

domain.uk $U%$D@messaging.domain.uk

.domain.uk $U%domain.uk

.........

Roberto

Roberto Proietti-Bernardini at 2007-7-1 14:51:19 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...