List Info

Thread: Re: How to print running configuration?




Re: How to print running configuration?
user name
2007-04-26 11:02:56
On 26/04/07 16:16, Michael Storz wrote:
> On Thu, 26 Apr 2007, Mauro G. Todeschini wrote:
> 
>> Thanks, I tryed but got this error:
>>
>> test-ux:~# (echo 'package Amavis::Conf; use
Data:umper;
>> $Data:umper:eepcopy
= $Data:umper::T
erse = 1; read_config();
>> foreach(keys(%EXPORT_TAGS)) {print "  
$_:n";
>> foreach({$EXPORT_TAGS{$_}}) {print "$_ =
"; s/^([%])/\$1/; print
>> Dumper(eval $_)}} exit;'; cat
/usr/sbin/amavisd-new) | perl
>>
>> No entry "warnvirussender" in policy bank
"" at - line 379
>>         Amavis::Conf::c('warnvirussender') called
at - line 1302
>>         Amavis::Conf::read_config() called at -
line 1
> 
> I had to double the  when I run the command from the
shell:
> 
>    s/^([%])/\\$1/;

This shouldn't be necessary, because it is enclosed in
single quotes.

-- 
Martin Orr

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )