Koozali.org: home of the SME Server

receive email for fake account, forward to real account

simnux

receive email for fake account, forward to real account
« on: March 12, 2007, 11:28:59 PM »
I have a need to receive email on behalf of a corporate account, but redirect the email to a local SME account. Specifically, the SME Server is setup for the domain helpdesk.internal.simnux.com with an account called "support". This is a server-only mode system.

Within the top level domain, however, email is managed by another server and the email address for the helpdesk account is actually "helpdesk@simnux.com". The corporate mailserver is configured to redirect email to that address to the SME smtp server at helpdesk.internal.simnux.com.

I need helpdesk.internal.simnux.com to do two things. First, I need it to accept email for helpdesk@simnux.com. Second, I need it to redirect that email to support@helpdesk.internal.simnux.com.

Here is what I've tried. I have added the following lines to the indicated files.

/var/service/qpsmtpd/config/goodrcptto
     helpdesk@simnux.com

/var/qmail/control/rcpthosts
     simnux.com

/var/qmail/control/virtualdomains
     helpdesk@simnux.com:support

This accomplishes the first requirement - the SME Server signs off on the recipient as being okay. However, the second requirement is not met. The message does not route to support@helpdesk.internal.simnux.com.

Any idea how to get this second step accomplished?

Or the whole thing, since I'm probably making this way too hard ;-)

Thx!

simnux

receive email for fake account, forward to real account
« Reply #1 on: March 13, 2007, 12:04:32 AM »
Nevermind!

I had the setup right, but I forgot that I had the support@ account forwarded. Created my own mystery there.