I am seeking to install spamassassin in milter mode on a FreeBSD 4.7-STABLE system. The goal is for this system to act as a spam-filtering mail server based on MX records. For mail sent to [EMAIL PROTECTED], I want to have this FreeBSD server functionioning as an MX host for example.com, preference 20. I have a second MX host for example.com, preference 10. Call the FreeBSD system bsd.example.com (MX 20). Call the other mail host (MX 10) mail.example.com. mail.example.com is firewalled in such a way that only bsd.example.com's IP address is allowed to create inbound connections to port 25 on mail.example.com. The rest of the world cannot send directly to mail.example.com, and thus they fall back to the MX 20 host, which is running spam assassin in milter mode.
I have spamd running, using Perl 5.8.0 installed from ports: root 2891 0.0 2.1 16812 14720 ?? Is Sun11PM 0:01.84 /usr/local/bin/spamd -a -c -d (perl) I have verified that /usr/bin/perl is a symlink to /usr/local/bin/perl. I have installed the following modification to my sendmail.mc file: dnl INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') INPUT_MAIL_FILTER(`spamc', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') With mail.example.com offline for testing, I send to [EMAIL PROTECTED] and then look in /var/spool/mqueue on bsd.example.com to see the messages after processing by spamassassin. There is no indication in the mail text that spamassassin processed the messages. Specifically, I don't see any X-Spam-Status header lines. If I run spamd in non-daemon mode with debugging turned on, I don't see any sign of activity, seeming to indicate that sendmail and spamd aren't talking, regardless of which INPUT_MAIL_FILTER line I enable. That output is below. Mail passes through fine, but doesn't get scanned; at least the q* files in /var/spool/mqueue show no X-Spam-... headers. Where should I look next to see why mail isn't getting scanned? Thanks, and regards from Portland, Jim debug: ignore: test message to precompile patterns and load modules debug: using "/usr/local/share/spamassassin" for default rules dir debug: using "/usr/local/etc/mail/spamassassin" for site rules dir debug: is Net::DNS::Resolver unavailable? 0 debug: trying (3) yahoo.de... debug: looking up MX for 'yahoo.de' debug: MX for 'yahoo.de' exists? 1 debug: MX lookup of yahoo.de succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=2.4 debug: check_for_very_long_text: found 1350 bytes debug: check_for_very_long_text: found 1350 bytes debug: spam-phrase score: 32.7734170591313: hits: this message debug: running raw-body-text per-line regexp tests; score so far=4.3 debug: running uri tests; score so far=4.3 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=4.3 debug: Razor2 is available debug: entering helper-app run mode debug: razor2 check timed out after 10 secs. debug: leaving helper-app run mode Razor-Log: Computed razorhome from env: /root/.razor Razor-Log: Found razorhome: /root/.razor Razor-Log: No /root/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Jan 12 11:48:49.858452 check[32515]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Jan 12 11:48:49.859630 check[32515]: [ 5] computed razorhome=/root/.razor, conf=, ident=/root/.razor/identity Jan 12 11:48:49.860162 check[32515]: [ 8] Client supported_engines: 1 2 3 4 Jan 12 11:48:49.861513 check[32515]: [ 8] prep_mail done: mail 1 headers=101, mime0=1376 Jan 12 11:48:49.862463 check[32515]: [ 5] read_file: 1 items read from /root/.razor/servers.discovery.lst Jan 12 11:48:49.863193 check[32515]: [ 5] read_file: 3 items read from /root/.razor/servers.nomination.lst Jan 12 11:48:49.863924 check[32515]: [ 5] read_file: 2 items read from /root/.razor/servers.catalogue.lst Jan 12 11:48:49.864876 check[32515]: [ 9] Assigning defaults to hubris.cloudmark.com Jan 12 11:48:49.865448 check[32515]: [ 9] Assigning defaults to joy.cloudmark.com Jan 12 11:48:49.866024 check[32515]: [ 9] Assigning defaults to conceit.cloudmark.com Jan 12 11:48:49.866605 check[32515]: [ 9] Assigning defaults to shock.cloudmark.com Jan 12 11:48:49.867173 check[32515]: [ 9] Assigning defaults to truth.cloudmark.com Jan 12 11:48:49.868932 check[32515]: [ 5] read_file: 11 items read from /root/.razor/server.shock.cloudmark.com.conf Jan 12 11:48:49.870425 check[32515]: [ 5] read_file: 11 items read from /root/.razor/server.truth.cloudmark.com.conf Jan 12 11:48:49.871014 check[32515]: [ 5] server discovery overdue by 395424 seconds Jan 12 11:48:49.871326 check[32515]: [ 8] already have 1 discovery servers Jan 12 11:48:49.871585 check[32515]: [ 8] Checking with Razor Discovery Server 216.52.3.2 Jan 12 11:48:49.871908 check[32515]: [ 6] No proper port specified, using 2703 Jan 12 11:48:49.872123 check[32515]: [ 5] Connecting to 216.52.3.2 ... debug: Razor1 is not available debug: Pyzor is not available: pyzor not found debug: running meta tests; score so far=5.3 debug: 32515 Trying to get lock on /tmp/spamassassin-32515/.spamassassin/auto-whitelist pass 0 debug: Tie-ing to DB file R/W in /tmp/spamassassin-32515/.spamassassin/auto-whitelist debug: auto-whitelist (db-based): [EMAIL PROTECTED] scores 0/0 debug: AWL active, pre-score: 5.3, mean: undef, originating-ip: undef debug: add_score: New count: 1, new totscore: 5.3 debug: Post AWL score: 5.3 debug: DB addr list: untie-ing and destroying lockfile. debug: DB addr list: file locked, breaking lock. debug: is spam? score=5.3 required=5 tests=DATE_MISSING,INVALID_MSGID,MISSING_HEADERS,NO_REAL_NAME,SPAM_PHRASE_21_34,SUBJ_MISSING,SUPERLONG_LINE server started on port 783 (running version 2.43) server pid: 32515 logmsg: server started on port 783 (running version 2.43) ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk