de ce nu folosesti Procmail? e destul de usor de folosit si poti intgra cu
usurinta suportul de SpamAssassin
Razvan
On Wed, 21 Sep 2005, egl wrote:
> Buna ziua,
> Am instalat Spam Assassin dupa modelul prezentat la
> wiki.apache.org/spamassassin.
> Folosesc Postfix (2.1.3 pe fc1), ca urmare in master cf am adaugat o
> linie de genul :
> smtp inet n - n - - smtpd -o content_filter=spamassassin
> si, mai departe :
> spamassassin unix - n n - - pipe
> user=spamfilter argv=/cale/catre spamc -f -e
> /cale/catre/sendmail -oi -f ${sender} ${recipient}
>
> dupa ce am restartat postfixul, la primirea unui mail prin smtpd, se
> petrec urmatoarele:
>
> postfix/smtpd[10245]: connect from admin[192.1.1.4]
> postfix/smtpd[10245]: 665BE17F4FE: client=admin[192.1.1.4]
> postfix/cleanup[10248]: 665BE17F4FE: message-id=<....>
> postfix/qmgr[10240]: 665BE17F4FE: from=<[EMAIL PROTECTED]>, size=878,
> nrcpt=1 (queue active)
> postfix/smtpd[10245]: disconnect from admin[192.1.1.4]
> spamd[10171]: spamd: connection from localhost [127.0.0.1] at port 44482
> spamd[10171]: spamd: setuid to spamfilter succeeded
> spamd[10171]: spamd: processing message <....> for spamfilter:721
> spamd[10171]: spamd: clean message (0.0/5.0) for spamfilter:721 in 0.0
> seconds, 845 bytes.
> spamd[10171]: spamd: result: . 0 -
> scantime=0.0,size=845,user=spamfilter,uid=721,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=44482,
> mid=<....>,autolearn=ham
> spamd[10168]: prefork: child states: II
> sendmail[10250]: Authentication-Warning: server.ro: spamfilter set
> sender to [EMAIL PROTECTED] using -f
> sendmail[10250]: [EMAIL PROTECTED], size=1012,class=0,nrcpts=1,
> msgid=<....>, [EMAIL PROTECTED]
> postfix/smtpd[10245]: connect from localhost[127.0.0.1]
> postfix/smtpd[10245]: D871D17F528: client=localhost[127.0.0.1]
> postfix/cleanup[10248]: D871D17F528: message-id=<....>
> postfix/qmgr[10240]: D871D17F528: from=<[EMAIL PROTECTED]>, size=1452,
> nrcpt=1 (queue active)
> sendmail[10250]: j8L9IeI5010250: [EMAIL PROTECTED],
> [EMAIL PROTECTED] (637/637), delay=00:00:00
>
> dupa aceasta, spamd preia din nou mesajul si acest lucru se repeta de
> cateva ori.dupa ce refac master cful
> si restartez postfixul primesc
>
> <[EMAIL PROTECTED]>: service unavailable
> Received: from server.ro (localhost [127.0.0.1])
> by server.ro (Postfix) with ESMTP id 4458E17F4FE
> for <[EMAIL PROTECTED]>; Wed, 21 Sep 2005 12:18:43 +0300 (EEST)
> Received: (from [EMAIL PROTECTED])
> by server.ro (8.12.10/8.12.10/Submit) id j8L9IheG010293
> for [EMAIL PROTECTED]; Wed, 21 Sep 2005 12:18:43 +0300
> X-Authentication-Warning: server.ro: spamfilter set sender to
> [EMAIL PROTECTED] using -f
> X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.ro
> X-Spam-Level:
> X-Spam-Status: No, score=0.0 required=5.0 tests=none
> autolearn=unavailable
> version=3.1.0
> Received: from server.ro (localhost [127.0.0.1])
> by server.ro (Postfix) with ESMTP id 0DB8D17F528
> for <[EMAIL PROTECTED]>; Wed, 21 Sep 2005 12:18:43 +0300 (EEST)
> Received: (from [EMAIL PROTECTED])
> by server.ro (8.12.10/8.12.10/Submit) id j8L9Igvq010290
> for [EMAIL PROTECTED]; Wed, 21 Sep 2005 12:18:42 +0300
>
> ...si tot asa. Imi puteti indica ce anume am gresit ?
> Multumesc
>
> postconf -n :
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> body_checks = regexp:/etc/postfix/darkentries/body_checks
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> daemon_timeout = 1800s
> debug_peer_level = 2
> default_destination_concurrency_limit = 4
> default_process_limit = 40
> delay_warning_time = 10m
> disable_vrfy_command = yes
> header_checks = regexp:/etc/postfix/darkentries/header_checks
> html_directory = /usr/share/doc/postfix-2.1.3-documentation/html
> ignore_mx_lookup_error = yes
> in_flow_delay = 1s
> inet_interfaces = all
> local_destination_concurrency_limit = 2
> mail_owner = postfix
> mail_spool_directory = /var/spool/mail
> mailbox_command = /usr/bin/procmail
> mailbox_size_limit = 51200000
> mailq_path = /usr/bin/mailq.postfix
> maximal_queue_lifetime = 60m
> message_size_limit = 8144000
> mime_header_checks = regexp:/etc/postfix/darkentries/mime_header_checks
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> notify_classes = resource, software, bounce, delay, policy, protocol
> queue_directory = /var/spool/postfix
> queue_run_delay = 60s
> relay_domains =
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtpd_banner = $myhostname
> smtpd_data_restrictions = reject_unauth_pipelining, permit
> smtpd_recipient_restrictions = reject_non_fqdn_sender,
> reject_non_fqdn_recipient, reject_unknown_sender_domain,
> reject_unknown_recipient_domain, permit_mynetworks,
> reject_unauth_destination, check_client_access
> hash:/etc/postfix/client_checks, check_client_access
> hash:/etc/postfix/access, check_sender_access
> hash:/etc/postfix/darkentries/access_sender, reject_rbl_client
> relays.ordb.org, reject_rbl_client opm.blitzed.org,
> reject_rbl_client list.dsbl.org, reject_rbl_client
> sbl-xbl.spamhaus.org, reject_rbl_client dul.dnsbl.sorbs.net
> strict_rfc821_envelopes = yes
> unknown_local_recipient_reject_code = 450
>
>
>
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug
>
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug