Sandy Drobic wrote:
Richard Mixon (qwest) wrote: <SNIP>
You can do two things to get an insight into your problem:
$final_spam_destiny = D_PASS;
Somewhere within the murky back of my rotting brain, I seem to recall that there are some settings that only work when $final_spam_destiny is set to "D_PASS". You could try that.
Another way is to stop amavis and start it in debug mode. It will show lines like "header...." rcamavis stop amavis debug
Then you have a real time view into the insides of amavis as is processes the mails.
Sandy/Carlos/all, Sorry, but his saga continues. But I am learning a lot more than I ever knew before, thanks to each of you for your time. I checked my /etc/amavisd.conf and have the following settings: $final_virus_destiny = D_BOUNCE; # (defaults to D_BOUNCE) $final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE) $final_spam_destiny = D_PASS; $final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE suggested Also, I finally had a chance to get debug turned on for amavsid. Even with debug on I do not see clue as to why the X-Spam* headers are not inserted. I have pretty closely inspected both the console output and the output into /var/log/mail, but do not see anything telling (at least to me). I do see one message in my /var/log/mail (see output #2 below) that might indicate a problem: Apr 6 09:01:26 gofish postfix/smtp[5170]: connect to localhost[::1]: Connection refused (port 10024) This port number is referred to in my /etc/postfix/master.cf file so I've attached the configuration lines from that file. Not sure if this matters, but we are using email client authentication and SSL encryption for our connections if that makes any difference. This has been working fine for quite a while. Our certificate is self-generated so each time Mozilla or Outlook connect we get a warning asking do we want to accept the certificate - but other than that no problems. So, here are the attachments below: 1) /etc/postfix/master.cf 2) Corresponding output from /var/log/mail 3) Headers received with the mail message at the client. Yes, its Outlook, but I have compared Outlook with Squirrelmail and they both pass the same headers. I tried looking in /var/spool, but as I am using Cyrus I do not see a spam folder for any of my users. 4) SPAM notification for the above message that was sent to the designated administrator account. I tried to sen: 5) Amavis debug console output, showing amavis startup and processing of a single SPAM message that I sent from a computer outside my domain (rnmixon@qwest.net) to a user (rnmixon@acme.com) on my domain. but it caused the message to exceed the 20,000 character limit the list has. I can break it in to two chunks and send it separately if needed. NOTE: I have changed my domain name in these messages from XXXXXXXX to Acme and altered my actual server IP address for a (possibly false) sense of security :). Thank you for any ideas/help on resolving this. - Richard 1) /etc/postfix/master.cf (comments ommitted): # ======================================================================== == # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ======================================================================== == smtp inet n - n - 2 smtpd -o content_filter=smtp:[localhost]:10024 smtps inet n - n - 2 smtpd -o content_filter=smtp:[localhost]:10024 -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #submission inet n - n - - smtpd # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject #628 inet n - n - - qmqpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr #tlsmgr fifo - - n 300 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - n - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil localhost:10025 inet n - n - - smtpd -o content_filter= # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # maildrop. See the Postfix MAILDROP_README file for details. # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient vscan unix - n n - 10 pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient} procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} 2) Corresponding output from /var/log/mail: Apr 6 09:01:25 gofish postfix/smtpd[5167]: connect from mpls-qmqp-03.inet.qwest.net[63.231.195.114] Apr 6 09:01:26 gofish postfix/smtpd[5167]: 2670B1693: client=mpls-qmqp-03.inet.qwest.net[63.231.195.114] Apr 6 09:01:26 gofish postfix/cleanup[5169]: 2670B1693: message-id=<DKELJBPNDHJEECCAEPGOMEFILFAA.rnmixon@qwest.net> Apr 6 09:01:26 gofish postfix/qmgr[25274]: 2670B1693: from=<rnmixon@qwest.net>, size=9795, nrcpt=1 (queue active) Apr 6 09:01:26 gofish postfix/smtp[5170]: connect to localhost[::1]: Connection refused (port 10024) Apr 6 09:01:26 gofish postfix/smtpd[5167]: disconnect from mpls-qmqp-03.inet.qwest.net[63.231.195.114] Apr 6 09:01:27 gofish postfix/smtpd[5174]: connect from localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/smtpd[5174]: B23BE17A9: client=localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/cleanup[5169]: B23BE17A9: message-id=<SA05152-01@gofish> Apr 6 09:01:27 gofish postfix/qmgr[25274]: B23BE17A9: from=<rnmixon@acme.com>, size=3250, nrcpt=1 (queue active) Apr 6 09:01:27 gofish postfix/smtpd[5174]: disconnect from localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/smtpd[5174]: connect from localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/smtpd[5174]: C337E17AA: client=localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/cleanup[5169]: C337E17AA: message-id=<DKELJBPNDHJEECCAEPGOMEFILFAA.rnmixon@qwest.net> Apr 6 09:01:27 gofish postfix/qmgr[25274]: C337E17AA: from=<rnmixon@qwest.net>, size=10272, nrcpt=1 (queue active) Apr 6 09:01:27 gofish postfix/smtpd[5174]: disconnect from localhost[127.0.0.1] Apr 6 09:01:27 gofish postfix/smtp[5170]: 2670B1693: to=<rnmixon@gofish.AcmeSoftware.com>, orig_to=<rnmixon@acme.com>, relay=localhost[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=05152-01, from MTA: 250 Ok: queued as C337E17AA) Apr 6 09:01:27 gofish postfix/qmgr[25274]: 2670B1693: removed Apr 6 09:01:27 gofish postfix/lmtp[5177]: B23BE17A9: to=<rnmixon@gofish.AcmeSoftware.com>, orig_to=<rnmixon@acme.com>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=sent (250 2.1.5 Ok) Apr 6 09:01:27 gofish postfix/qmgr[25274]: B23BE17A9: removed Apr 6 09:01:27 gofish postfix/lmtp[5180]: C337E17AA: to=<rnmixon@gofish.AcmeSoftware.com>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=sent (250 2.1.5 Ok) Apr 6 09:01:27 gofish postfix/qmgr[25274]: C337E17AA: removed 3) Headers received with the mail message at the client: Here are the corresponding messages from /var/log/mail: Return-Path: <rnmixon@qwest.net> Received: from gofish.AcmeSoftware.com ([unix socket]) by gofish (Cyrus v2.2.3) with LMTP; Wed, 06 Apr 2005 09:01:27 -0700 X-Sieve: CMU Sieve 2.2 Received: from localhost (localhost [127.0.0.1]) by gofish.AcmeSoftware.com (Postfix) with ESMTP id C337E17AA for <rnmixon@gofish.AcmeSoftware.com>; Wed, 6 Apr 2005 09:01:27 -0700 (MST) Received: from gofish.AcmeSoftware.com ([127.0.0.1]) by localhost (gofish [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05152-01 for <rnmixon@gofish.AcmeSoftware.com>; Wed, 6 Apr 2005 09:01:26 -0700 (MST) Received: from mpls-qmqp-03.inet.qwest.net (mpls-qmqp-03.inet.qwest.net [63.231.195.114]) by gofish.AcmeSoftware.com (Postfix) with SMTP id 2670B1693 for <rnmixon@acme.com>; Wed, 6 Apr 2005 09:01:26 -0700 (MST) Received: (qmail 23637 invoked by uid 0); 6 Apr 2005 16:01:25 -0000 Received: from mpls-pop-07.inet.qwest.net (63.231.195.7) by mpls-qmqp-03.inet.qwest.net with QMQP; 6 Apr 2005 16:01:25 -0000 Received: from vdsl-130-13-0-7.phnx.qwest.net (HELO redfish) (130.13.0.7) by mpls-pop-07.inet.qwest.net with SMTP; 6 Apr 2005 16:01:25 -0000 Date: Wed, 6 Apr 2005 09:02:37 -0700 Message-ID: <DKELJBPNDHJEECCAEPGOMEFILFAA.rnmixon@qwest.net> From: "Richard Mixon (qwest)" <rnmixon@qwest.net> To: rnmixon@acme.com Reply-To: "Richard Mixon" <rnmixon@Acme.com> Subject: Test #10 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0240_01C53A87.614C3F30" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at acme.com Importance: Normal X-Sieve: CMU Sieve 2.2 X-Virus-Scanned: by amavisd-new at acme.com 4) SPAM notification for the above message that was sent to the designated administrator account. -----Original Message----- From: rnmixon@acme.com [mailto:rnmixon@acme.com] Sent: Wednesday, April 06, 2005 9:01 AM To: rnmixon@acme.com Subject: SPAM FROM <rnmixon@qwest.net> Unsolicited bulk email from: rnmixon@qwest.net Subject: Test #10 According to the 'Received:' trace, the message originated at: vdsl-130-13-0-7.phnx.qwest.net (HELO redfish) (130.13.0.7) The message WILL BE delivered to: <rnmixon@gofish.AcmeSoftware.com> Not quarantined. SpamAssassin report: Spam detection software, running on the system "gofish.AcmeSoftware.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content analysis details: (5.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------- ------ 2.4 ONLINE_PHARMACY BODY: Online Pharmacy 0.5 HTML_40_50 BODY: Message is 40% to 50% HTML 0.1 HTML_LINK_CLICK_HERE BODY: HTML link text says "click here" 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 HTML_FONT_BIG BODY: HTML has a big font 0.1 HTML_TAG_EXISTS_TBODY BODY: HTML has "tbody" tag 1.8 HTML_SHOUTING5 BODY: HTML has very strong "shouting" markup 0.1 HTML_FONTCOLOR_RED BODY: HTML font color is red 0.0 CLICK_BELOW Asks you to click below ------------------------- BEGIN HEADERS ----------------------------- Return-Path: <rnmixon@qwest.net> Received: from mpls-qmqp-03.inet.qwest.net (mpls-qmqp-03.inet.qwest.net [63.231.195.114]) by gofish.AcmeSoftware.com (Postfix) with SMTP id 2670B1693 for <rnmixon@acme.com>; Wed, 6 Apr 2005 09:01:26 -0700 (MST) Received: (qmail 23637 invoked by uid 0); 6 Apr 2005 16:01:25 -0000 Received: from mpls-pop-07.inet.qwest.net (63.231.195.7) by mpls-qmqp-03.inet.qwest.net with QMQP; 6 Apr 2005 16:01:25 -0000 Received: from vdsl-130-13-0-7.phnx.qwest.net (HELO redfish) (130.13.0.7) by mpls-pop-07.inet.qwest.net with SMTP; 6 Apr 2005 16:01:25 -0000 Date: Wed, 6 Apr 2005 09:02:37 -0700 Message-ID: <DKELJBPNDHJEECCAEPGOMEFILFAA.rnmixon@qwest.net> From: "Richard Mixon (qwest)" <rnmixon@qwest.net> To: rnmixon@acme.com Reply-To: "Richard Mixon" <rnmixon@Acme.com> Subject: Test #10 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0240_01C53A87.614C3F30" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at acme.com Importance: Normal X-Sieve: CMU Sieve 2.2 -------------------------- END HEADERS ------------------------------