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 = ( ['[EMAIL PROTECTED]'] );


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 [EMAIL PROTECTED] \
    -s127.0.0.1 -p8888 [EMAIL PROTECTED] <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;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to