For my local mailserver with postfix/dovecot and virtual domains set up  as
follows:

relayhost = aaa.bbb.ccc:25
virtual_mailbox_domains = xxx.yyy.zzz
virtual_transport = lmtp:unix:private/dovecot-lmtp

I would like to achieve the following
- mail of all subnets in my LAN is relayed if nesessary (so not for the
virtual domain). To accomplish this, I have listed all my subnets under
mynetworks. This works
- restrict the delivery of a particular subnet, 192.168.80.0/24 only to the
virtual domain so forbid further relay via the relayhost

How to accomplish this? I can not remove the 192.168.80.0/24 from mynetworks
because then the email is not delivered to the virtual domain too.

Thanks.

-- Jaap


Reply via email to