Ruleset hook: queuegroup. Cannot enter message in the expected queuegroup

Ruleset hook: queuegroup. Cannot enter message in the expected queuegroup

am 15.10.2007 12:22:59 von r31dmaeu

I have defined the queuegroup which appears in the *.cf as:
Qunres, P=/var/spool/mqueue/mqueue-rx/unres, R=2, F=f, N=5

I have defined a ruleset (in the *.mc):
LOCAL_RULESETS
Squeuegroup
R< $+ > $1
R $+ @ $+ $: $(resolve $2 $) $1 @ $2
R $* $* $# unres
R $* < $* > $* $: $3
R $+ @ $+ $: $>SearchList $| <>
R $@
R< $+ > $# $1

While testing, switching debugging on, I get (extract here):

rewrite: ruleset queuegroup input: hugo . boss @ medien-
fabrik . biz
medien-fabrik.biz: Name server timeout
rewritten as: medien-fabrik . biz < TEMP > hugo . boss @ medien-
fabrik . biz
rewritten as: $# unres
rewrite: ruleset queuegroup returns: $# unres

>>>>> queueing /var/spool/mqueue/mqueue-rx/./qfl9F95cUk023313 (new id) >>>>>
e_flags=4205041
hugo.boss@medien-fabrik.biz... queued
queueing 0x809639d0=hugo.boss@medien-fabrik.biz:
mailer 4 (esmtp), host `[127.0.0.1]'
user `hugo.boss@medien-fabrik.biz', ruser `'
state=QUEUEUP, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=4.4.3
finalrcpt="RFC822; hugo.boss@medien-fabrik.biz"
rstatus="(none)"
statdate=(none)
<<<<< done queueing l9F95cUk023313 <<<<<

But finally, the message is not in the "unres" queue, but in the
standard one.

What is wrong here ? Where is my error ?

Thanks a lot !

Claude

Re: Ruleset hook: queuegroup. Cannot enter message in the expected queuegroup

am 16.10.2007 10:37:52 von r31dmaeu

I have found where the problem is located: During the processing of
the "queuegroup" ruleset, a DNS resolve problem occurs. The debugging
output is:
Transient parse error -- message queued for future delivery
But the queuing occurs in the standard queue, not in the queue which
resulted form the processing of the "queuegroup" ruleset.

What can I do, so that the queuing occurs in the result from the
"queuegroup" ruleset even if a DNS resolve problem occurs ?

Or, a little bit different: How can I say "if a temporary DNS resolve
problem occurs, then use the queue XXXX" ?

Thanks a lot !

Claude