Hi all. I was trying to shave down the 7+ minutes it takes for Postfix/amavisd/SA to process a single message today <ahem> and wondered about the two biggest choke points I could identify.
*feeding a test message to spamassassin: # su - vscan -c 'spamassassin -D <sample-nonspam.txt 2>&1' | timestamp ** versions: FC4 SpamAssassin version 3.1.7 running on Perl version 5.8.3 amavisd-new-2.4.3 There is a 3 minute delay each at two points: processing the regex rules and one called 'time_t'. Any advice or links to push me in the right direction? Is it normal? Thanks. -Peter REGEX ============================= 13:57:28.380 65.608 0.002 [12521] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i 14:00:02.774 220.003 154.395 [12521] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xa8b0720) implements 'finish_parsing_end' ============================= TIME_T ============================= 14:00:17.937 235.166 0.000 [12521] dbg: eval: time_t from date=987801124, rcvd= 20 Apr 2001 17:12:04 -0400 14:03:17.105 414.333 179.168 [12521] dbg: eval: all '*To' addrs: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] =============================