View Full Version : Forward and then delete e-mail
mvdg27
09-07-2007, 02:04 AM
Hi,
I'm looking for a way to do the following:
when an e-mail is received in sales@.. I want to forward it to info@.. Consequently I want to delete the e-mail from the sales@.. to prevent storing e-mails double on the system.
How do I do this?
Cheers, Michiel
nobaloney
09-07-2007, 11:16 AM
If you have a mailbox and a forwarder for sales@example.com, then mail will end up in both places.
If you delete your sales@example.com mailbox, but leave the forwarder, the email will be forwarded to info@example.com, but will never be saved in sales@example.com, because sales@example.com won't exist.
Jeff
frost
08-20-2010, 05:12 AM
i tried this - ie i deleted the email account but left the forwarder in place. sometimes this works and sometimes i get an error when sending an email to the deleted account that the user doesnt exist. could this have anything to do with the CATCHALL account, or the fact that some of my tests were sent from a gmail and some from other email accounts?
nobaloney
08-21-2010, 11:04 AM
It shouldn't matter where the email comes from. It should work properly for all virtual email addresses. If it's not working you should check the exim mainlog file. If it's not your server you need to contact your hosting provider.
Presuming you're the server administrator: did you make any changes to your exim.conf file?
We recommend NOT using catchall. I think everyone else does, too. If you use it, it simply delivers mail for which there is no mailbox and no forwarder. If there is either or both it's ignored.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.