On Tue, May 05, 2009 at 03:33:25PM -0300, Alejandro Cabrera Obed wrote:
> Dear all, I have this platform:
> 
> Debian Etch
> Postfix 2.3.8-2+etch1
> Amavisd-new 2.4.2-6.1
> Spamassassin 3.2.3-0.volatile1
> 
> The problem is that Amavis is not tagging the spam message as I want, the
> spam messages are checked by Spamassassin and they don't seem to pass
> through amavis.
> 
> Here are the problematic files:
> 
> /etc/default/spamassassin:
> ENABLED=1
> OPTIONS="--create-prefs --socketpath=/tmp/spamd.sock -u amavis
> --max-children 5 --helper-home-dir"
> PIDFILE="/var/run/spamd.pid"
> 
> /etc/postfix/master.cf:
> spamassassin    unix    -       n       n       -       -       pipe
>  user=nobody argv=/usr/bin/spamc -U /tmp/spamd.sock -e /usr/sbin/sendmail
> -oi -f ${sender} ${recipient}
> 
> /etc/amavis/conf.d/20-debian_defaults:
> $inet_socket_port = 10024;
> $inet_socket_bind = '127.0.0.1';
> @inet_acl = qw ( 10.1.1.12 127.0.0.1 );
> $sa_spam_subject_tag = '***SPAM*** ';
> $sa_tag_level_deflt  = 4.0;
> $sa_tag2_level_deflt = 5.0;
> $sa_kill_level_deflt = 5.0;
> $sa_dsn_cutoff_level = 10;
> $final_spam_destiny       = D_PASS;
> 
> Any help please ??? Maybe the spamd and spamc socket is bad defined ???

Things are rather confused in this configuration; if you look at your
Postfix master configuration, you are sending mail from Postfix into
SpamAssassin's spamc rather than sending it into amavisd. 

Amavisd calls SpamAssassin; SpamAssassin will never call Amavisd.

Look at the amavisd instructions on how to configure Postfix to send
mail through Amavisd; once you have that set up and working, disable
the SpamAssassin startup because you will no longer be using
spamc/spamd.  The FAQ and HowTos listed below in the mailing list
footer are a good start for help.

>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
>  AMaViS-HowTos:http://www.amavis.org/howto/ 

  -- Clifton

-- 
    Clifton Royston  --  clift...@iandicomputing.com / clift...@lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to