I'm working on a similar situation. I had tried what Dave suggested and it
worked as documented. However, I need to be able to actually relay messages
that don't match an alias (ie. don't rewrite the recipient address).

My normal config:

I have my qmail box acting as my primary MX and behind that sits my Domino
server running SMTP. My rcpthosts has:
kendle.com

My smtproutes has:
kendle.com:mail.kendle.com

locals has only the machine itself.

So any message for kendle.com is relayed to mail.kendle.com (the Domino
server), which accepts messages for recipients @kendle.com.

Here's what I tried:

I put kendle.com in locals and used a .qmail-default like this:

| fastforward -p /etc/aliases.cdb
| forward "$LOCAL"@mail.kendle.com

messages are forwarded to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]

 If I use:

| fastforward -p /etc/aliases.cdb
| forward "$LOCAL"@kendle.com

the message just loops because qmail-send thinks that kendle.com is local.
I know it's sort of nitpicky, but I need messages to be processed through
fastforward and be relayed to the next server with the recipient address of
[EMAIL PROTECTED] if no match is found.

Any ideas?

Thanks,
Josh

Reply via email to