Phibee Network Operation Center wrote: > Hi > > when i start a spamassassin -D, he stop at Net::DNS ... after 1 > hours, no change .. CTRL-C for stop it > > [r...@spam spamassassin]# spamassassin -D > [6451] dbg: logger: adding facilities: all > [6451] dbg: logger: logging level is DBG > [6451] dbg: generic: SpamAssassin version 3.2.5 > [6451] dbg: config: score set 0 chosen. > [6451] dbg: util: running in taint mode? yes > [6451] dbg: util: taint mode: deleting unsafe environment variables, > resetting PATH > [6451] dbg: util: PATH included '/sbin', keeping > [6451] dbg: util: PATH included '/usr/sbin', keeping > [6451] dbg: util: PATH included '/bin', keeping > [6451] dbg: util: PATH included '/usr/bin', keeping > [6451] dbg: util: PATH included '/usr/X11R6/bin', which doesn't exist, > dropping > [6451] dbg: util: PATH included '/usr/local/bin', keeping > [6451] dbg: util: PATH included '/usr/local/sbin', keeping > [6451] dbg: util: final PATH set to: > /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin > [6451] dbg: dns: is Net::DNS::Resolver available? yes > [6451] dbg: dns: Net::DNS version: 0.63 > > > I have a error ? Well, what did you expect it to do?
The "spamassassin" command line isn't a deamon, so it's waiting for you to enter a message into it to be processed. Since you've not redirected the input, it's expecting you one to be typed in :) Normal usage on a command line would be something like this: spamassassin <message.in >message.out But that's not really practical for real mail volumes. Really, the "spamassassin" command is only intended for configuration test use on one or two messages . It's not a reasonable way to scan real volumes of mail. Nearly everyone integrates SA into their mail chain so this happens automatically, usually using the spamd/spamc pairing in some fashion, but there are a few integration options that invoke the perl API (ie: MailScanner, MimeDefang): See: http://wiki.apache.org/spamassassin/IntegratedInMta http://wiki.apache.org/spamassassin/IntegratedInMua
