Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dave Liquorice on August 23, 2003, 01:44:50 PM

Title: Procmail & SA Junkmail
Post by: Dave Liquorice on August 23, 2003, 01:44:50 PM
Hi,

Silly question. Where does mail marked as spam end up if, under Server Manager > Spam Assassin your set the procmail rule not to deliver into the users "junkmail" folders? I'd guess as per any other recipies which in the basic setup is the $DEFAULT folder.

However if I turn it off there is a stray character in the procmail config,   where the deliver to junkmail recipe would have been, this makes me nervous...

# -------------------------------
# SpamAssassin Router            
# -------------------------------
:0fw
| /usr/bin/spamc
 
0   << Whats this do, if anything?

# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT

SME 5.6u4, Mr Prices Spamassassin RPM and Dundog User Manager.

Cheers
Dave.
Title: Re: Procmail & SA Junkmail
Post by: Dave Liquorice on August 24, 2003, 06:15:09 AM
I'll talk to myself then.  B-)

Had a dig about in the user templates and the lone 0 appears to be coming from the 95saSort template but can't work out why. I've added an else clause to the end of that script that just writes a "# comment" to the users file if no sort option is found in the databases. This adds the comment and kills the 0.

My server is 5.6u4 but I'm using /usr/lib/perl5/site_perl/esmith/templates.pm from  e-smith-lib-1.14.0-04.noarch.rpm which is for 6.0. This is to sort out the hisax ISDN problem with templates, it might have a bearing on this "feature".

Oh and without a sort option it does end up in $DEFAULT.

Cheers
Dave.