# # Read qmail virtual domains file as well. Might want to change this to # dbm at some point. Probably won't ever use smokey for secondary MX # though. # local_domains = "smokey.blackcatnetworks.co.uk:\ lsearch;/etc/exim/virtualdomains" # # virtualdomain Director # # This takes a message to recipient@virtualdomain and rewrites it to # user-recipient@smokey.blackcatnetworks.co.uk. The intention is that # this can then be controlled by the users own .forward files a la # qmail. # virtualdomain: driver = smartuser domains = lsearch;/etc/exim/virtualdomains no_more new_address = "${lookup {$domain} lsearch {/etc/exim/virtualdomains} \ {$value}}-${local_part}@$qualify_domain" headers_add = "Delivered-To: ${lookup {$domain} lsearch \ {/etc/exim/virtualdomains} \ {$value}}-${local_part}@$domain" # # qmailforward Director # # Supports - suffixes to addresses like qmail and uses .forward-suffix # files to control forwarding of them, with a fallback to -default. # # NOTE: Only falls back to .forward-default at present, so for something # like user-foo-bar-baz only .forward-foo-bar-baz or .forward-default # will work and not .forward-foo-bar-default or .forward-foo-default. # qmailforward: driver = forwardfile file_transport = address_file file = "${if exists {${home}/.forward$local_part_suffix} \ {.forward$local_part_suffix} \ {.forward-default}}" suffix = -* filter