In my virtusertable I have the following entry:
Now I also want to forward all the inbound mail to another external domain while keeping my current setup, so I did this :
@fax.mydomain.com mail2fax.sh @fax.mydomain.com @externaldomain.com
But when doing
makemap hash virtusertable.db < virtusertable this error appears :
makemap: virtusertable.db: line 2: key @fax.mydomain.com: duplicate key
The destination mails will be random fax numbers like
firstname.lastname@example.org so I can't use username based forwarding.
So I guess it is not possible to have duplicate entries for the inbound domain. How would you do it ?