Hi,

I'm having some problems with setting a regexp transport map. What I
want is:

1) Mail for [email protected] is delivered locally via the Zimbra system.

2) Mail for [email protected] should be delivered directly to that
machine.

3) All other (i.e. external) mail should be relayed via
relay.domain.com.

What I've tried is setting:

postfix_transport_maps=proxy:ldap:/opt/zimbra/conf/ldap-transport.cf \
regexp:/opt/zimbra/conf/transport_regexp

Where /opt/zimbra/conf/transport_regexp contains one line:

!/domain.com/ smtp:relay.domain.com

and has been compiled with "postmap /opt/zimbra/conf/transport_regexp"

When this is set 1) and 3) work correctly, however 2) doesn't work (i.e.
all non-local mail is sent to relay.domain.com.

I guess I'm not understanding the regexp syntax somewhere, but can't see
where - I'd be grateful if someone can tell me what I'm doing wrong.

Thanks,
Rob

Reply via email to