Spamassassin/postfix konfiguracia.
Mam nakonfigurovany mailserver postfix+spamassassin, ktory funguje. Da sa nastavit tak, aby vobec nekontroloval mail(hlavicku) od jednej osobky, ktora si neda povedat aby 1xxxxxxx5 adresatov nedavala do kolonky "To:" ale "Bcc:". Problem nastava s dorucenim takejto spravy adresatovi, kedy sa zobrazuje hlaska "Táto správa nebola spracovaná, pretože obsahuje neplatného príjemcu."
Dik za akukolvek pomoc...
Pre pridávanie komentárov sa musíte prihlásiť.
Hlavicka vyzera takto:
From: odosielatel [mailto:odosielatel@yyy.sk]
Sent: Thursday, February 14, 2008 3:26 PM
Subject: FW: materiál
Táto správa nebola spracovaná, pretože obsahuje neplatného príjemcu.
Return-Path: <odosielatel@yyy.sk>
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on
mail.xxx.sk
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=3.3 tests=HTML_MESSAGE
autolearn=failed
version=3.1.7-deb
X-Original-To: prijemca@xxx.sk
Delivered-To: prijemca@xxx.sk
Received: from mail.yyy.sk (mail.yyy.sk [1.1.1.1])
by mail.xxx.sk (Postfix) with SMTP id AD9DD180A902
for <prijemca@xxx.sk>; Thu, 14 Feb 2008 15:20:24 +0100 (CET)
Received: from (mail.yyy.sk [10.10.0.132]) by mail.yyy.sk with smtp
id 4f6a_8344b778_db08_11dc_99b5_001143d23101;
Thu, 14 Feb 2008 15:24:12 +0100
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type:
multipart/mixed;boundary="----_=_NextPart_001_01C86F15.94C8E7D0"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Subject: =?iso-8859-2?Q?FW=3A_materi=E1l?=
Date: Thu, 14 Feb 2008 15:26:26 +0100
Message-ID: <926E0B9E7604E94DBEEC03797CFD9D32017F73F0@mail.yyy.sk>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Thread-Topic: =?iso-8859-2?Q?materi=E1l?=
Thread-Index: AchvEzJWCjh6Z/PJRKGZDZBJl42YrQABBd6w
From: =?iso-8859-2?Q? odosielatel <odosielatel@yyy.sk>
To: <okolo 100 prijimatelov>
This is a multi-part message in MIME format.
------_=_NextPart_001_01C86F15.94C8E7D0
Content-Type:
multipart/alternative;boundary="----_=_NextPart_002_01C86F15.94C8E7D0"
------_=_NextPart_002_01C86F15.94C8E7D0
Content-Type: text/plain;charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
X-EC0D2A8E-5CB7-4969-9C36-46D859D137BE-PartID:
44003F99-4B31-4D19-B8AF-D0B88F0851DF
telo mailu plne necitatelnych znakov :-)...
Postfix config - main.cf:
---
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = nobody
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
# mailbox_command =
home_mailbox = Maildir/
myhostname = aaa.bbb.sk
mydomain = bbb.sk
myorigin = $myhostname
inet_interfaces = all
append_at_myorigin = yes
append_dot_mydomain = yes
masquerade_domains = $mydomain
mydestination = $myhostname,
$mydomain,
localhost.$mydomain,
localhost,
relay_domains = $mydestination
relayhost =
mynetworks = 127.0.0.0/8,
10.1.1.0/24,
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
disable_vrfy_command = yes
allow_untrusted_routing = no
maps_rbl_domains = relays.ordb.org,
dnsbl.njabl.org,
sbl-xbl.spamhaus.org
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_rbl_client $myhostname
smtpd_sender_restrictions = permit_mynetworks,
reject_rbl_client $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination,
reject_unauth_destination
bounce_size_limit = 50000
header_size_limit = 102400
message_size_limit = 20480000
smtpd_eror_sleep_time = 1s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
smtpd_banner = $myhostname ESMTP $mail_name
access_map_reject_code = 550
invalid_hostname_reject_code = 501
maps_rbl_reject_code = 550
reject_code = 550
relay_domains_reject_code = 550
unknown_address_reject_code = 450
unknown_client_reject_code = 450
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
Spamassassin - local.cf:
---
rewrite_subject 1
rewrite_header subject *****SPAM*****
report_safe 1
trusted_networks 10.1.1.
required_score 3.3
whitelist_from *@xxx.sk
sak to je ZAKLAD
cat /var/log/mail|grep ODKOHO
najskor nemas reverzny zaznam na ipcku a preto ta ich server nepozna.