Re: [exim] Problem with spamassassin [unsolved] :(((

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Balzi Andrea
Fecha:  
A: Exim, Users
Asunto: Re: [exim] Problem with spamassassin [unsolved] :(((
There are errors on my exim configuration?
the information of debug that I have passed are ok? or they need other
information?
How can solve it?

Andrea

> > On 06/09/06, Balzi Andrea <andrea.balzi@???> wrote:
> > > I've always the same problem, isn't a problem of a spamassassin
> > > configuration.
> > >
> > > I've check spamassassin configuration with option --lint
> and don't
> > > report a error on rules.
> >
> > Post the relevant ACL lines from your Exim config, run a debug
> > delivery and post the output. Tell us what you were expecting to
> > happen, and what happened instead.
> >
>
>
>
> =~=~=~= Output of the main.log =~=~=~=
>
>
> 2006-09-07 10:29:43 1GLFGW-0007iu-3m <= wow_deb48@???
> H=(localhost) [58.38.84.101] P=smtp S=27497
> id=000001c6d258$95463880$0100007f@localhost T="$0ft Cialli$,
> branded quality"
> 2006-09-07 10:29:45 1GLFGW-0007iu-3m =>
> girolamo@??? F=<wow_deb48@???>
> R=special T=remote_smtp H=srv-mail01.corporate.corp [10.0.0.51] QT=5s
> 2006-09-07 10:29:45 1GLFGW-0007iu-3m Completed
>
>
> =~=~=~= Output of the exim4 -bd -d =~=~=~=
>
> 29193 child 29584 ended: status=0x0
> 29193 20 SMTP accept processes now running
> 29193 Listening...
> 29692 Data file written for message 1GLFGW-0007iu-3m
> 29692 >>Generated Received: header line
> 29692 P Received: from [58.38.84.101] (helo=localhost)
> 29692 by mail.arthis.it with smtp (Exim 4.63)
> 29692 (envelope-from <wow_deb48@???>)
> 29692 id 1GLFGW-0007iu-3m
> 29692 for girolamo@???; Thu, 07 Sep 2006 10:29:42 +0200
> 29692 using ACL "acl_check_data"
> 29692 processing "deny"
> 29692 check demime =
> exe:pif:bat:scr:lnk:com:reg:vbs:cmd:js:msi:dll:cpl
> 29692 deny: condition test failed
> 29692 processing "deny"
> 29692 check malware = *
> 29692 waiting for data on socket
> 29692 deny: condition test failed
> 29692 processing "warn"
> 29692 check hosts = ! lsearch;/etc/exim4/nospam_check_hosts.cfg
> 29692 sender host name required, to match against
> lsearch;/etc/exim4/nospam_check_hosts.cfg
> 29692 host in "! lsearch;/etc/exim4/nospam_check_hosts.cfg"?
> no (failed to find host name for 58.38.84.101)
> 29692 warn: condition test failed
> 29692 processing "drop"
> 29692 check hosts = ! lsearch;/etc/exim4/nospam_check_hosts.cfg
> 29692 sender host name required, to match against
> lsearch;/etc/exim4/nospam_check_hosts.cfg
> 29692 host in "! lsearch;/etc/exim4/nospam_check_hosts.cfg"?
> no (failed to find host name for 58.38.84.101)
> 29692 drop: condition test failed
> 29692 processing "accept"
> 29692 accept: condition test succeeded
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m.eml'
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m-00000.com'
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m-00001.com'
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m-00002.com'
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m-00003.com'
> 29692 unspool_mbox(): unlinking
> '/var/spool/exim4/scan/1GLFGW-0007iu-3m/1GLFGW-0007iu-3m-00000.jpg'
> 29692 calling local_scan(); timeout=300
> 29692 local_scan() returned 0 NULL
> 29692 Writing spool header file
> 29692 Size of headers = 709
> 29692 LOG: MAIN
> 29692 <= wow_deb48@??? H=(localhost) [58.38.84.101]
> P=smtp S=27497 id=000001c6d258$95463880$0100007f@localhost
> T="$0ft Cialli$, branded quality"
> 29692 SMTP>> 250 OK id=1GLFGW-0007iu-3m
> 29692 search_tidyup called
> 29692 Sender: wow_deb48@???
> 29692 Recipients:
> 29692 girolamo@???
> 29692 forked delivery process 29702
> 29692 Process 29692 is ready for new message
> 29692 smtp_setup_msg entered
> 29692 SMTP<< quit
> 29692 SMTP>> 221 mail.arthis.it closing connection
> 29692 LOG: smtp_connection MAIN
> 29692 SMTP connection from (localhost) [58.38.84.101] closed by QUIT
> 29692 search_tidyup called
> 29193 child 29692 ended: status=0x0
> 29193 20 SMTP accept processes now running
> 29193 Listening...
>
> =~=~=~= exim4.conf =~=~=~=
>
> #the follow line is in the mian configuration.
> spamd_address = 127.0.0.1 783
>
> #the follow lines are in the ACL configuration.
> acl_check_data:
>
>   deny message = Blacklisted file extension detected 
> ($found_extension) / Tipologia di file non autorizzato 
> ($found_extension)
>        demime = exe:pif:bat:scr:lnk:com:reg:vbs:cmd:js:msi:dll:cpl

>
>   # Deny if the message contains a virus. Before enabling 
> this check, you
>   # must install a virus scanner and set the av_scanner option above.
>   #
>   deny    malware   = *
>           message   = This message contains a virus ($malware_name) /
> Questa mail contiente un virus ($malware_name)

>
>   # Add headers to a message if it is judged to be spam. 
> Before enabling this,
>   # you must install SpamAssassin. You may also need to set 
> the spamd_address
>   # option above.
>   #
>   # warn    spam      = nobody
>   #         message   = X-Spam_score: $spam_score\n\
>   #                     X-Spam_score_int: $spam_score_int\n\
>   #                     X-Spam_bar: $spam_bar\n\
>   #                     X-Spam_report: $spam_report

>
>   # Accetta il messaggio
>   # Aggiunta degli header a tutte le mail del controllo AntiSpam
>   warn  message = X-Spam-Score: $spam_score ($spam_bar)\n\
>                   X-Spam-Report: $spam_report\n\
>                   Subject: ***SPAM*** $h_Subject:
>         hosts = ! lsearch;/etc/exim4/nospam_check_hosts.cfg
>         spam = nobody

>
>   # Scarto delle mail che hanno un punteggio > 12
>   drop  message = This message scored $spam_score spam points.
>         hosts = ! lsearch;/etc/exim4/nospam_check_hosts.cfg
>         spam = nobody:true
>         condition = ${if >{$spam_score_int}{120}{1}{0}}

>
>
> accept