Hi,

You can not do it that way.

The only way I can see to do it is to set up a dummy sub-domain and forward the mail to that sub-domain...

ie - domain.com mx = your server, mail2.domain.com mx = real server

.qmail-default =
|/usr/bin/spamc -f -u spamd |forward "$DEFAULT"@mail2.domain.com

Regards,

Rick


Michael Bellears wrote:


I have multiple domains running on one server, and have been asked to
accept mail for a domain, parse it with spamassassin, then forward to
remote mail server.

I have tried adding the domain(eg example.com via vqadmin), adding an
smtproutes entry, then creating an .qmail-default:

|/usr/bin/spamc -f -u spamd |forward "$DEFAULT"@example.com

But the message fails (loops):

2003-05-28 16:33:10.422753500 delivery 10263: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)


Regards, MB





Reply via email to