Re: [AMaViS-user] How to print running configuration?

This is a discussion on Re: [AMaViS-user] How to print running configuration? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; > > Ok you are suggesting to grep the source, but I was looking for a > cleaner solution only ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-26-2007
Leon Kolchinsky
 
Posts: n/a
Default Re: [AMaViS-user] How to print running configuration?

>
> Ok you are suggesting to grep the source, but I was looking for a
> cleaner solution only for variables and their values at run-time.
> My problem is that I'm not really sure that a variable has the value I
> imagine and I'd like to check at runtime.
> For example with your method I dont' know the value of $warnvirussender,
> and the output is very dirty and not at runtime.
> I was looking for a command that dumps variables at runtime or a switch
> for the daemon to get the dump in logs or on the console.
> I checked the "debug" switch but It doesn't do what I'm looking for.
> Other hints?
>
> Bye and Thanks
>



Nope, only this:

grep -vE "^$|^#" /etc/amavisd.conf



Regards,
Leon Kolchinsky


-------------------------------------------------------------------------
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://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0