Hi all,

now that I switched to stable 5.6.0 I am using a Ruleset to build one queue
for several actions.

Where do I place the $ActionQueue* options to control that queue?

My test config looks currently like this:
#---------------------------------------------------------
$ModLoad ompgsql
$ModLoad omruleset

$RuleSet dbAction
$RulesetCreateMainQueue on
if $syslogtag startswith  'postfix/smtpd[' \
        and $msg contains 'client=' \
        and not ($msg contains 'NOQUEUE: ') \
then :ompgsql:localhost,maillog,syslog,XXXXXX;template_1

if $syslogtag startswith  'postfix/cleanup[' \
        and $msg contains 'header X-Foo:' \
then :ompgsql:localhost,maillog,syslog,XXXXXX;template_2

#switch back to default ruleset                                                 
       
$ruleset RSYSLOG_DefaultRuleset

# begin action
$ActionOmrulesetRulesetName dbAction
mail.* :omruleset:

mail.* ~
#---------------------------------------------------------

-- 
Senior Consultant :: Solution Architect
IT-Security :: Free Software :: GNU/Linux :: Virtualization
Mobile +49_151_16227402 :: Fon +49_6187_9058695 :: Fax +49_2645_976896250 
MightyCare Solutions GmbH http://www.mightycare.de
Firmenangaben unter http://www.mightycare.de/impressum
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to