You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by alexus <al...@gmail.com> on 2010/02/23 20:08:30 UTC

.qmail

is there a way to put sa-learn --spam inside of .qmail?
one more my emails getting spam'd big time...
i get nothin' but spam at this email
so i'd like to redirect all of that to sa-learn --spam as soon as it
arrives, and then get rid of it after its done processing


-- 
http://alexus.org/

Re: .qmail

Posted by alexus <al...@gmail.com>.
On Tue, Feb 23, 2010 at 2:34 PM, Martin Gregorie <ma...@gregorie.org> wrote:
> On Tue, 2010-02-23 at 14:08 -0500, alexus wrote:
>> is there a way to put sa-learn --spam inside of .qmail?
>> one more my emails getting spam'd big time...
>> i get nothin' but spam at this email
>> so i'd like to redirect all of that to sa-learn --spam as soon as it
>> arrives, and then get rid of it after its done processing
>>
> Sounds like a job for procmail to me.
>
>
> Put a procmail recipe in the target user that learns
> messages as ham or spam then bins them. If you're using spamd rather than
> vanilla spamassassin you may find it easier to set up if you use "spamc --ham/spam"
> rather than sa_learn.
>
> Martin
>
>
>
>

i have maildrop installed, and any of my attempt to get it to work
didn't work out...
can  you provide some example?
or if anyone else have it in place maybe?

-- 
http://alexus.org/

Re: .qmail

Posted by Martin Gregorie <ma...@gregorie.org>.
On Tue, 2010-02-23 at 14:08 -0500, alexus wrote:
> is there a way to put sa-learn --spam inside of .qmail?
> one more my emails getting spam'd big time...
> i get nothin' but spam at this email
> so i'd like to redirect all of that to sa-learn --spam as soon as it
> arrives, and then get rid of it after its done processing
> 
Sounds like a job for procmail to me. 


Put a procmail recipe in the target user that learns 
messages as ham or spam then bins them. If you're using spamd rather than 
vanilla spamassassin you may find it easier to set up if you use "spamc --ham/spam"
rather than sa_learn.

Martin

 


Re: .qmail

Posted by alexus <al...@gmail.com>.
On Thu, Feb 25, 2010 at 2:57 AM, Toni Mueller
<su...@oeko.net> wrote:
>
> Hi,
>
> On Wed, 24.02.2010 at 22:18:04 -0500, alexus <al...@gmail.com> wrote:
>> On Wed, Feb 24, 2010 at 4:49 AM, Toni Mueller <su...@oeko.net> wrote:
>> > On Tue, 23.02.2010 at 14:08:30 -0500, alexus <al...@gmail.com> wrote:
>> >> is there a way to put sa-learn --spam inside of .qmail?
>> -bash-3.2# man preline
>> No manual entry for preline
>> -bash-3.2#
>
> look for the man pages included with your qmail* package.
>
> $ cat .qmail
> | /var/qmail/bin/preline /usr/bin/procmail
>
>
> Kind regards,
> --Toni++
>

-bash-3.2# man -M /var/qmail/man/ preline

okay, i found man for preline...

-- 
http://alexus.org/

Re: .qmail

Posted by Toni Mueller <su...@oeko.net>.
Hi,

On Wed, 24.02.2010 at 22:18:04 -0500, alexus <al...@gmail.com> wrote:
> On Wed, Feb 24, 2010 at 4:49 AM, Toni Mueller <su...@oeko.net> wrote:
> > On Tue, 23.02.2010 at 14:08:30 -0500, alexus <al...@gmail.com> wrote:
> >> is there a way to put sa-learn --spam inside of .qmail?
> -bash-3.2# man preline
> No manual entry for preline
> -bash-3.2#

look for the man pages included with your qmail* package.

$ cat .qmail
| /var/qmail/bin/preline /usr/bin/procmail


Kind regards,
--Toni++

Re: .qmail

Posted by alexus <al...@gmail.com>.
On Wed, Feb 24, 2010 at 4:49 AM, Toni Mueller
<su...@oeko.net> wrote:
>
> On Tue, 23.02.2010 at 14:08:30 -0500, alexus <al...@gmail.com> wrote:
>> is there a way to put sa-learn --spam inside of .qmail?
>
> man preline
>
> HTH,
> --Toni++
>

-bash-3.2# man preline
No manual entry for preline
-bash-3.2#


-- 
http://alexus.org/

Re: .qmail

Posted by Toni Mueller <su...@oeko.net>.
On Tue, 23.02.2010 at 14:08:30 -0500, alexus <al...@gmail.com> wrote:
> is there a way to put sa-learn --spam inside of .qmail?

man preline

HTH,
--Toni++