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=