Hi all,
I am running RedHad 6.2 (linux 2.2.16-3) I have installed qmail 1.03.
I must set up mail relay server for domain AAA.COM. So far so good ...
BUT I need to forward some e-mail addresses (let say [EMAIL PROTECTED])
to another machine (BBB.COM). I did the following:
1. I used /var/qmail/control/smtproutes to relay AAA.COM to internal
mail server. But in this case I can not catch [EMAIL PROTECTED]!
2. I defined AAA.COM to be local (/var/qmail/control/locals). This way
I catched [EMAIL PROTECTED] and I am able to forward messages to
anywhere. Problem arised with rest of addresses. I defined in
~alias/.qmail-default following rules:
I. | forward "$[EMAIL PROTECTED]" but BBB.COM does not accept this address
(there is $[EMAIL PROTECTED] define on BBB.COM but not $[EMAIL PROTECTED])
There are a hundred of users on BBB.COM so it is not seems to be
easy to define aliases!
II. | forward "<@MAIL.BBB.COM:$RECIPIENT>" ($RECIPIENT is
full destination address of recipient) but I receive
messages like this:
Hi. This is the qmail-send program at MAIL.AAA.COM.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<<@MAIL.BBB.COM:[EMAIL PROTECTED]>>:
Sorry, I couldn't find any host named AAA.COM>. (#5.1.2)
Does anybody know how can I set explicit route in address (and qmail
to understand it!) or anything else that solves the problem!
Any proposals will be highly appreciated!
SGD
P.S. Excuse my bad English! I am sorry about this!