spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Br├Ąckelmann <guent...@rudersport.de>
Subject Re: new install
Date Fri, 01 Oct 2010 02:27:49 GMT
On Thu, 2010-09-30 at 21:09 -0400, dhottinger@harrisonburg.k12.va.us
wrote:
> Thanks for all the replies.  I did run an sa-update. Mail is getting  
> scored now.  /opt/spam/spam users dont have access to, but that is  
> where I always had bogofilter put mail.  Not all users at this stage  
> have a spam folder in place.  The main reason I had an older version  
> is I started on this project last year and just got involved in other  
> things.  I did have some mail going to /opt/spam, however it was  
> internal mail.  So I added our domain to the local.cf file:  
> whitelist_from *@harrisonburg.k12.va.us

What Jason said. Do NOT do this. This is the most obvious and often
abused forgery of a sender. IFF you really need white-listing at all,
use one of the constrained variants, but not the plain _from one.

Besides, if you even need something like that, your problem usually is
something else. Like outgoing SMTP equals MX, or scanning outbound mail.
Both can easily be fixed my using SMTP AUTH.

Note: In the quote above I added a space after the _from myself. If you
do not have that space, your rules do not pass a lint check. You did run
a --lint test, did you?

> Help me with the relative  
> path?  Users imap mbox in /home/username, would I use /home/*/spam?

This would be a procmail question.

Just drop the leading slash! There, path relative to $MAILDIR. Yeah,
right, you should adjust that remaining leading stuff, too, since I
don't assume you really want an opt/ mail folder for your users. ;)
Also, you must ensure all directories are created, procmail will create
the file, if it doesn't exist yet.

Do not use * in procmail receipts delivery files, unless you know what
you are doing. 'man procmailrc' will be your friend, and understanding
what $MAILDIR is. As would re-reading parts of my previous post.


> Also, is there anyway I can pull in my bogofilter database to  
> spamassassin?

Not that I would know of.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0;
}}}


Mime
View raw message