Evan Platt
2006-11-08 00:29:05 UTC
I see quite a few SEXUALLY EXPLICIT spams..
From: "Esmeralda Stokes" <***@tin.it>
To: <***@espphotography.com>
Subject: SEXUALLY EXPLICIT : Suzanne spreads puss
I have in my /etc/postfix/header_checks:
/SEXUALLY EXPLICIT/ Reject
header_checks = regexp:/etc/postfix/header_checks
But...
Just sent myself a test message with the same subject:
Nov 7 16:21:12 espphotography postfix/cleanup[1438]: 71F3D9B18B1:
reject: header Subject: SEXUALLY EXPLICIT: Hi from
web53413.mail.yahoo.com[206.190.39.73]; from=<***@yahoo.com>
to=<***@espphotography.com> proto=SMTP
helo=<web53413.mail.yahoo.com>: 5.7.1 message content rejected
So .. Am I missing something? It was caught by SpamAssassin (called
via procmail), but it should have been caught and discarded long before that.
Any ideas what I'm missing?
Also, I use spamcop filtering, and occasionally servers like yahoo
are added to Spamcop BL'ing, so I created /etc/postfix/rbl_access
66.94.237.26 OK
dcn.yahoo.com OK
scd.yahoo.com OK
mud.yahoo.com OK
yahoo.com OK
mail.apache.org OK
apache.org OK
140.211.11.2 OK
And add
check_client_access hash:/etc/postfix/rbl_access,
I then get
Nov 7 12:32:36 espphotography postfix/smtpd[615]: fatal: open
database /etc/postfix/rbl_access.db: Inappropriate file type or format
I did postmap hash:/etc/postfix/rbl_access, still no go.
postconf -n shows
command_directory = /sw/sbin
config_directory = /sw/etc/postfix
daemon_directory = /sw/lib/postfix
debug_peer_level = 2
html_directory = /sw/share/doc/postfix/html
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /sw/bin/mailq
manpage_directory = /sw/share/man
mynetworks_style = host
newaliases_path = /sw/bin/newaliases
queue_directory = /sw/var/spool/postfix
readme_directory = /sw/share/doc/postfix/README_FILES
sample_directory = /sw/etc/postfix
sendmail_path = /sw/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
I changed hash to regexp. Any reason that won't work?
Thanks.
Evan
From: "Esmeralda Stokes" <***@tin.it>
To: <***@espphotography.com>
Subject: SEXUALLY EXPLICIT : Suzanne spreads puss
I have in my /etc/postfix/header_checks:
/SEXUALLY EXPLICIT/ Reject
header_checks = regexp:/etc/postfix/header_checks
But...
Just sent myself a test message with the same subject:
Nov 7 16:21:12 espphotography postfix/cleanup[1438]: 71F3D9B18B1:
reject: header Subject: SEXUALLY EXPLICIT: Hi from
web53413.mail.yahoo.com[206.190.39.73]; from=<***@yahoo.com>
to=<***@espphotography.com> proto=SMTP
helo=<web53413.mail.yahoo.com>: 5.7.1 message content rejected
So .. Am I missing something? It was caught by SpamAssassin (called
via procmail), but it should have been caught and discarded long before that.
Any ideas what I'm missing?
Also, I use spamcop filtering, and occasionally servers like yahoo
are added to Spamcop BL'ing, so I created /etc/postfix/rbl_access
66.94.237.26 OK
dcn.yahoo.com OK
scd.yahoo.com OK
mud.yahoo.com OK
yahoo.com OK
mail.apache.org OK
apache.org OK
140.211.11.2 OK
And add
check_client_access hash:/etc/postfix/rbl_access,
I then get
Nov 7 12:32:36 espphotography postfix/smtpd[615]: fatal: open
database /etc/postfix/rbl_access.db: Inappropriate file type or format
I did postmap hash:/etc/postfix/rbl_access, still no go.
postconf -n shows
command_directory = /sw/sbin
config_directory = /sw/etc/postfix
daemon_directory = /sw/lib/postfix
debug_peer_level = 2
html_directory = /sw/share/doc/postfix/html
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /sw/bin/mailq
manpage_directory = /sw/share/man
mynetworks_style = host
newaliases_path = /sw/bin/newaliases
queue_directory = /sw/var/spool/postfix
readme_directory = /sw/share/doc/postfix/README_FILES
sample_directory = /sw/etc/postfix
sendmail_path = /sw/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
I changed hash to regexp. Any reason that won't work?
Thanks.
Evan