[Exim] Want to use catchall in virtual domain aliasfile, how…

Top Page
Delete this message
Reply to this message
Author: Mike Smith
Date:  
To: exim-users
Subject: [Exim] Want to use catchall in virtual domain aliasfile, how do I do it?
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I am using virtual domains by method of:



virtual:

driver = redirect

allow_fail

allow_defer

data = ${lookup{$local_part@$domain}lsearch{/etc/virtuals}}

file_transport = address_file

pipe_transport = address_pipe



so my /etc/virtuals file would look like



1@???: account1

2@???: account2



1@???: account3



Etc.



I want to be able to add a catchall at the end of a domain like:



1@???: account1

2@???: account2

*@domain.com: account1



So all unmatching emails to that domain would go to one of the domain's
accounts.



How would I go about doing that?



Thanks in advance.



-Mike Smith









--