[Postfixbuch-users] header checks

Silvio Siefke listen at silviosiefke.de
Do Mär 13 14:02:15 CET 2008


Werner Detter schrieb:
> Was bekommst du zurück wenn du den Header-Check händisch machst?
> 
> echo 'Subject: Belebt Geist und Korper' | postmap -fq - pcre:/path/to/header.checks

silviosiefke:~# echo 'Subject: Belebt Geist und Korper' | postmap -fq -
pcre:/etc/postfix/spam/uce_headerchecks
Subject: Belebt Geist und Korper        REJECT  Message content rejected;
No spam please! (H1)
silviosiefke:~#

Oder liegt es an der Einbindung:
body_checks = regexp:/etc/postfix/spam/uce_bodychecks
header_checks = regexp:/etc/postfix/spam/uce_headerchecks
relay_recipient_maps = pcre:/etc/postfix/relay_recipients

silviosiefke:~# postconf -n
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/spam/uce_bodychecks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
header_checks = regexp:/etc/postfix/spam/uce_headerchecks
home_mailbox = maildir/
mailbox_size_limit = 0
mydestination = $myhostname
myhostname = m58s08.vlinux.de
mynetworks = 83.151.21.74/32
recipient_delimiter = +
relay_domains = fax.silviosiefke.de
relay_recipient_maps = pcre:/etc/postfix/relay_recipients
smtpd_recipient_restrictions = reject_non_fqdn_sender 
reject_non_fqdn_recipient       reject_invalid_helo_hostname 
reject_non_fqdn_helo_hostname   permit_sasl_authenticated 
permit_mynetworks       reject_unauth_destination 
reject_unlisted_recipient       check_helo_access 
hash:/etc/postfix/spam/helo_block_own_name    check_sender_mx_access 
hash:/etc/postfix/spam/sender_mx_blockedcheck_sender_access 
hash:/etc/postfix/spam/sender_access reject_rbl_client zen.spamhaus.org 
   reject_rbl_client dul.dnsbl.sorbs.net   reject_rbl_client bl.spamcop.net 
        reject_unknown_sender_domain
smtpd_restriction_classes = fax_sender_check
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = 
mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001


Schöne Grüße
Silvio



Mehr Informationen über die Mailingliste Postfixbuch-users