You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by angel bosch <ab...@brujulatelecom.com> on 2006/10/18 13:17:31 UTC

mails without headers

hi!

are all mails supossed to contain X-Spam* headers?

im receiving spam marked as spam with this headers:

X-Spam: Not detected
X-Spam-Status: True ; 24.9 / 5.0

but i also receive lot of other mails without any X-Spam header.  is
this by design? must i enable something in the config to enable headers
on all mails?

it is possible that server can't handle too much mails and bypass those
that can't process?

im using solaris 10 with SA 3.1.3
[mercurio:/]# uname -a
SunOS mercurio 5.10 Generic_Patch i86pc i386 i86pc
[mercurio:/]# /opt/csw/bin/spamd --help
SpamAssassin Server version 3.1.3
  running on Perl 5.8.8
  with SSL support (IO::Socket::SSL 0.95)


thanks in advance
-- 
àngel bosch
Departamento de Servicios y Proyectos
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___________________________
En el corazón de su negocio


Re: mails without headers

Posted by angel bosch <ab...@brujulatelecom.com>.
you're absolutely right.

i configured SA following this doc:
http://docs.sun.com/source/819-0105/anti-spam.html#wp45386

i'm not a SA expert so i didn't realize that default configuration only
adds headers to mails filtered as spam.

i'm now checking how to enable headers for all messages, if anyone is
interested just knock my door.


thanks a lot, magnus.

El dc 18 de 10 del 2006 a les 17:14 +0200, en/na Magnus Holmgren va
escriure:
> On Wednesday 18 October 2006 16:20, angel bosch took the opportunity to say:
> > > How do you *call* SpamAssassin, how have you configured the software that
> > > calls it and SA itself? By default, SA adds X-Spam-Checker-Version,
> > > X-Spam-Level, and X-Spam-Status headers to all mail, and X-Spam-Flag: YES
> > > to spam. Those lines seem to be added by some other software. It wouldn't
> > > surprise me if the first line was in the spam to begin with, as a lame
> > > attempt to bypass spam checking.
> >
> > i'm using Java Enterprise System Messaging Server with "internal"
> > configuration. its similar to master.cf configuration in postfix.
> >
> >
> > now you confirm me that every message should have headers i must
> > identify why not all messages are filtered.
> 
> Maybe they are, but JESMS doesn't add any headers if the score is low. The 
> header you presented are not in the standard format, so probably JESMS 
> doesn't filter the mail through spamd, but instead just gives it to spamd,  
> gets the score back and adds its own headers. Have you checked the log files 
> (typically /var/log/mail.log)?
> 
-- 
àngel bosch
Departamento de Servicios y Proyectos
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___________________________
En el corazón de su negocio


Re: mails without headers

Posted by Magnus Holmgren <ho...@lysator.liu.se>.
On Wednesday 18 October 2006 16:20, angel bosch took the opportunity to say:
> > How do you *call* SpamAssassin, how have you configured the software that
> > calls it and SA itself? By default, SA adds X-Spam-Checker-Version,
> > X-Spam-Level, and X-Spam-Status headers to all mail, and X-Spam-Flag: YES
> > to spam. Those lines seem to be added by some other software. It wouldn't
> > surprise me if the first line was in the spam to begin with, as a lame
> > attempt to bypass spam checking.
>
> i'm using Java Enterprise System Messaging Server with "internal"
> configuration. its similar to master.cf configuration in postfix.
>
>
> now you confirm me that every message should have headers i must
> identify why not all messages are filtered.

Maybe they are, but JESMS doesn't add any headers if the score is low. The 
header you presented are not in the standard format, so probably JESMS 
doesn't filter the mail through spamd, but instead just gives it to spamd,  
gets the score back and adds its own headers. Have you checked the log files 
(typically /var/log/mail.log)?

-- 
Magnus Holmgren        holmgren@lysator.liu.se
                       (No Cc of list mail needed, thanks)

Re: mails without headers

Posted by angel bosch <ab...@brujulatelecom.com>.
> How do you *call* SpamAssassin, how have you configured the software that 
> calls it and SA itself? By default, SA adds X-Spam-Checker-Version, 
> X-Spam-Level, and X-Spam-Status headers to all mail, and X-Spam-Flag: YES to 
> spam. Those lines seem to be added by some other software. It wouldn't 
> surprise me if the first line was in the spam to begin with, as a lame 
> attempt to bypass spam checking.
> 

i'm using Java Enterprise System Messaging Server with "internal"
configuration. its similar to master.cf configuration in postfix.

maybe this can help:

[mercurio:/]# ps -ef | grep spam
 mailsrv  2020 18464   1 15:39:43 ?           2:55 /opt/csw/bin/perl
-T /opt/csw/bin/spamd -d -s /var/log/spamd.log -u mailsrv
    root 18464     1   0 13:31:39 ?           0:41 /opt/csw/bin/perl
-T /opt/csw/bin/spamd -d -s /var/log/spamd.log -u mailsrv
    root  5887  5824   0 16:15:06 pts/2       0:00 grep spam
 mailsrv  2019 18464   2 15:39:43 ?           7:19 /opt/csw/bin/perl
-T /opt/csw/bin/spamd -d -s /var/log/spamd.log -u mailsrv



now you confirm me that every message should have headers i must
identify why not all messages are filtered.


> That is possible, yes. It can also be that the messages are too big (over 250 
> kB, usually). But again it depends on how SA is called.
> 

ok, i think size is not the problem in this case.




-- 
àngel bosch
Departamento de Servicios y Proyectos
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___________________________
En el corazón de su negocio


Re: mails without headers

Posted by Magnus Holmgren <ho...@lysator.liu.se>.
On Wednesday 18 October 2006 13:17, angel bosch took the opportunity to say:
> are all mails supossed to contain X-Spam* headers?
>
> im receiving spam marked as spam with this headers:
>
> X-Spam: Not detected
> X-Spam-Status: True ; 24.9 / 5.0

How do you *call* SpamAssassin, how have you configured the software that 
calls it and SA itself? By default, SA adds X-Spam-Checker-Version, 
X-Spam-Level, and X-Spam-Status headers to all mail, and X-Spam-Flag: YES to 
spam. Those lines seem to be added by some other software. It wouldn't 
surprise me if the first line was in the spam to begin with, as a lame 
attempt to bypass spam checking.

> but i also receive lot of other mails without any X-Spam header.  is
> this by design? must i enable something in the config to enable headers
> on all mails?

> it is possible that server can't handle too much mails and bypass those
> that can't process?

That is possible, yes. It can also be that the messages are too big (over 250 
kB, usually). But again it depends on how SA is called.

-- 
Magnus Holmgren        holmgren@lysator.liu.se
                       (No Cc of list mail needed, thanks)