On Wed, 2003-05-28 at 07:05, Rick Macdougall wrote:
> 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
I Recently setup a 'forward to existing domain & save locally' config
for a domain that used a second qmail installtion, and use the 'forward'
from that qmail.
| /var/qmail2/bin/forward "$DEFAULT"@thatdomain.com
That'll work...For me, that domain is scanned by SpamAssassin before
> 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