exim/cpanel - mail routed wrong - need fix
Hi -I'm running a cPanel server and the /etc/valiases/domain.com file was misconfigured for one client. He now has about 4000 messages in queue trying to be delivered to the wrong address.
Here's what I want to do:
Using this command or something similar
exim -Mar message_id email@domain.dom
how can I add a new recipient to the mail in the queue addressed to someone@hisdomain.com ?
Obviously I want the new address only added to the messages addressed to someone@hisdomain.com so that messages not belonging to his domain are left alone.
Any ideas of how I can quickly accomplish this? I was thinking a perl script - but I don't know how to write it. Once the new address is added - I'm hoping that when the queue is processed again the messages will be delivered to the newly added good address.
Any help would be greatly appreciated.
Thanks!