This is a discussion on Re: [AMaViS-user] Amavis seg fault within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Luis Daniel, > Spamassassin 3.1.9 Ok. Memory is fading if there were any particular problems with that version. &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Luis Daniel,
> Spamassassin 3.1.9 Ok. Memory is fading if there were any particular problems with that version. > I also have perl-Mail-SpamAssassin-Plugin-ocrtext-3.1-1mdv2007.1 (is this > the sa image plugin) Spawned external programs like gocr and netpbm can not bring down a perl process, but perl modules like Image::ExifTool and Perl-Imager might. > Machine is at producction environment I make a test right now but I will. A useful feature for testing on a live server is to enable level-5 logging only for a specific test sending address, e.g.: @debug_sender_maps = ( ['secret.test.user@example.net'] ); Another useful trick is the -i command line option (introduced with amavisd-new-2.5.0), providing an instance name (e.g. "test") and allowing conditional assigning (overriding) some settings by the end of file amavisd.conf. For such a test instance to coexist with a running production amavisd, it needs a dedicated pid and lock file, a dedicated bdb directory (or disabled its use by $enable_db=0), and a dedicated TCP port. A working directory may be shared, or kept separate. Change the rest as needed, e.g. the following can go by the end of file amavisd.conf: if ($instance_name eq 'test') { $log_level = 5; $sa_debug = 1; $max_servers = 1; $TEMPBASE = "$MYHOME/tmp-am2"; $ENV{TMPDIR} = $TEMPBASE; $pid_file = "$MYHOME/home/amavisd2.pid"; $lock_file = "$MYHOME/home/amavisd2.lock"; $enable_db = 0; $inet_socket_port = [8888]; # listen on port 8888 } Then one can run such extra instance of amavisd, letting it stay connected to the terminal: # amavisd -i test debug Now one can submit a test message to it, e.g.: $ mini_sendmail -fpostmaster@example.net \ -s127.0.0.1 -p8888 test@example.net <0.msg Mark ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ 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/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|