I have a debian server which uses exim4 as mta and courier-imap to allow users to read main. Mail is usually either delivered locally or an aliases file is used to forward mail to another adress. e.g.
# Local account: foo receives mail for firstname.lastname@example.org somealias: email@example.com otheralias: foo, firstname.lastname@example.org # Deliver both locally and remote
We now have an emailadres which we would like to be accesible through imap, but also be forwarderded to another e-mail address. This can be achieved by renaming the account and using the aliases file, but is this also possible with the local account having the same name? Renaming the account would require quite some reconfiguration in several systems.
# email@example.com needs to be de delivered to both firstname.lastname@example.org and the "buz" local account # Possible solution, rename buz account to buzdummy, but this would case other problems buz: email@example.com, buzdummy