On 1/11/2013 3:23 AM, Rob Sterenborg (lists) wrote: > On 01/10/2013 10:38 PM, Ben Johnson wrote: >> I have a need to enable AMaViS's SpamAssassin debugging facilities on a >> production server (i.e., "amavisd -d dns,uri,uridnsbl debug-sa"). >> >> How is this done with minimal interruption to amavis, and mail delivery, >> overall? >> >> I have tried starting amavisd-new with "amavisd-new debug-sa", but the >> process appears to terminate after the first message is processed: >> >> Jan 10 13:31:16.970 example.com /usr/sbin/amavisd-new[14043]: (14043-01) >> Requesting process rundown after 1 tasks (and 1 sessions) >> Jan 10 13:31:16.971 example.com /usr/sbin/amavisd-new[14043]: (14043-01) >> extra modules loaded: unicore/lib/gc_sc/Alnum.pl, >> unicore/lib/gc_sc/Alpha.pl >> Jan 10 13:31:16.972 example.com /usr/sbin/amavisd-new[14043]: (14043-01) >> Net::Server: 2013/01/10-13:31:16 Server closing! >> >> Presumably, this is by design. >> >> If there is a better means by which to achieve the objective, I'm all >> ears. > > Put this in amavisd.conf and restart amavisd-new: > > $sa_debug = 1; # Enable SpamAssassin debugging > > > -- > Rob > >
Perfect; that's just what I was looking for. Thanks, Rob! -Ben
