[Exim] restricted virt domain with /dev/null for rest

Top Page
Delete this message
Reply to this message
Author: Randy Bush
Date:  
To: exim users
Subject: [Exim] restricted virt domain with /dev/null for rest
the 'normal' domain here is psg.com, and we have many users <user>@psg.com.
we also have a few domains such as bogus.com, for which we want mail for
<user>@bogus.com delivered locally, but only for two of the local users.

all the rest we want to send to /dev/null. there is no sense bouncing mail
for <wrong-user>@bogus.com as it is all spam, and massive amounts of it.

note that by "deliver locally" there may be relevant ~/.forwards or
/etc/aliased entries.

the hack with

    bogus_local:
      driver = domainlist
      local_parts = user0:user1
      domains = bogus.com
      route_list = * localhost byname
      self = local


leaves all non-matching as frozed as lowest mx points to self. i want to
/dev/null them.

which faq bit am i not understanding?

randy