Catch all email with auto reply
Hi,
I'm trying to create a catch-all e-mail with an auto reply. My company has two domains. Let's call them center.com and centre.com. Center.com is our official domain with our website and e-mail. Once in a while someone with send an e-mail to user@centre.com. I would like to send an auto reply to them asking them to send it to the correct domain - i.e. user@center.com.
Currently center.com and centre.com point to our 10.8 server. Emails to center.com are delivered to the correct user. Emails to centre.com are bounced back with an undeliverable message.
I have set up a virtual domain and catch all e-mail address for centre.com. Now all messages to centre.com are sent to ar-centre@center.com. Using Roundcube and sieve, I have set up and auto reply. The auto reply works if I send a message to ar-centre@center.com. However if I send a message to anyotheruser@centre.com the auto reply does not work. The message is delivered to ar-centre@center.com. I get this error:
discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=<ar-centre@center.com>, and additional `:addresses' are specified)
Form what I can gather, this has something to do with sieve not finding the address in the header. The address appears in the "Return-Path:" line of the header. I've added "Return-Path" to the required section managesieve.php. Sill not luck.
What am I doing wrong? Is there a better way to accomplish this?
Thanks,
Henry
Mac mini, OS X Mountain Lion (10.8.5), 10.8 Server