<div>¡ Hola Lista !</div>
<div> </div>
<div>   Tengo un servidor Solaris 10</div>
<div>Levante el sendmail y ya recibe correo.</div>
<div>Estoy intentando instalar el spamassassin 3.2.4 y no se deja</div>
<div>Lo instale con el comando </div>
<div>/opt/csw/bin/pkg-get -i spamassassin</div>
<div>Ya lo probe con los comandos </div>
<div> spamassassin -t < sample-nonspam.txt > nonspam.out<br>      spamassassin -t < sample-spam.txt > spam.out</div>
<div>Y segun ellos funciona.</div>
<div>Instale el procmail tambien con</div>
<div>/opt/csw/bin/pkg-get -i procmail</div>
<div>Segun el archivo INSTALL del directorio donde instalo el spamassasin debo de crear el archivo .procmail en el HOME de los usuarios y modificar el .forward</div>
<div>El procmail lo saque del archivo de ejemplo que trae </div>
<div># SpamAssassin sample procmailrc<br># ==============================</div>
<div># The following line is only used if you use a system-wide /etc/procmailrc.<br># See procmailrc(5) for infos on what it exactly does, the short version:<br>#  * It ensures that the correct user is passed to spamd if spamc is used<br>
#  * The folders the mail is filed to later on is owned by the user, not<br>#    root.<br>DROPPRIVS=yes</div>
<div># Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'<br># if you use the spamc/spamd combination)<br>#<br># The condition line ensures that only messages smaller than 500 kB<br># (500 * 1024 = 512000 bytes) are processed by SpamAssassin. Most spam<br>
# isn't bigger than a few k and working with big messages can bring<br># SpamAssassin to its knees.<br>#<br># The lock file ensures that only 1 spamassassin invocation happens<br># at 1 time, to keep the load down.<br>
#<br>:0fw: spamassassin.lock<br>* < 512000<br>| spamassassin</div>
<div># Mails with a score of 15 or higher are almost certainly spam (with 0.05%<br># false positives according to rules/STATISTICS.txt). Let's put them in a<br># different mbox. (This one is optional.)<br>:0:<br>* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*<br>
almost-certainly-spam</div>
<div># All mail tagged as spam (eg. with a score higher than the set threshold)<br># is moved to "probably-spam".<br>:0:<br>* ^X-Spam-Status: Yes<br>probably-spam</div>
<div># Work around procmail bug: any output on stderr will cause the "F" in "From"<br># to be dropped.  This will re-add it.<br># NOTE: This is probably NOT needed in recent versions of procmail<br>:0<br>
* ^^rom[ ]<br>{<br>  LOG="*** Dropped F off From_ header! Fixing up. "<br>  <br>  :0 fhw<br>  | sed -e '1s/^/F/'<br>}<br></div>
<div>Al .forward le agregue</div>
<div>"|IFS=' ' && exec /opt/csw/bin/procmail -f- || exit 75 #user"</div>
<div> </div>
<div>Pruebo enviando correos y NO atrapa los spam</div>
<div>¿ Que puede ser ?</div>
<div>¡ Gracias !<br></div>