RE: [qmailtoaster] Spamassassin SASQL

2006-12-21 Thread Ronnie Tartar
Awesome, got the spam filter filtering mail, at least tagging it with the
proper setup via Mysql.  One last question, can it place spam in the spam
folder when flagged as spam?  Thanks



-Original Message-
From: Eric "Shubes" [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 11:21 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Spamassassin SASQL

You need to do step 1 in Quinn's instructions. Even though you've installed
the package, when you use the normal procedure for installation, this file
is removed at the end as it's only used for building the binary rpm.

Ronnie Tartar wrote:
> I've installed but I do not have a simscan-toaster.spec file in the
> /usr/src/redhat/SPECS directory.
> 
> Thanks
> 
> - Original Message - From: "Quinn Comendant"
> <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, December 18, 2006 8:46 PM
> Subject: RE: [qmailtoaster] Spamassassin SASQL
> 
> 
>> So you're still in? I'm in a rush out of the office, but here are some
>> quick steps:
>>
>> =
>> REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
>> =
>>
>> 1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:
>>
>> # rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm
>>
>> 2. Edit the simscan-toaster.spec file:
>>
>> # vi /usr/src/redhat/SPECS/simscan-toaster.spec
>>
>> You can change the configure options at around line 434. You will only
>> need to set --enable-spamc-user option. Here is this part of my
>> simscan-toaster.spec file:
>>
>>--enable-user=clamav \
>>--enable-attach \
>>--enable-ripmime=/usr/bin/ripmime \
>>--enable-per-domain \
>>--enable-spam \
>>--enable-spam-hits=20 \
>>--enable-spamc-user \
>>--enable-received \
>>--enable-clamavdb-path=/usr/share/clamav \
>>--enable-custom-smtp-reject
>>
>> 3. Build an RPM from this spec file:
>>
>> # rpmbuild -bb --with cnt40 --target $(uname -m)
>> /usr/src/redhat/SPECS/simscan-toaster.spec
>>
>> (Replace cnt40 with the flag for your distro.)
>>
>> 4. Install the RPM (the usual disclaimers apply):
>>
>> # rpm -Uvh --force
>> /usr/src/redhat/RPMS//simscan-toaster-..rpm
>>
>> (Replace  with yours: i386, i686, etc)
>>
>> 5. Then following the instructions for setting up Spamassassin:
>>
>> http://wiki.apache.org/spamassassin/UsingSQL
>>
>> I haven't offered a control panel to our users (yet), but rather just
>> let them post a support ticket if they have specific SA needs. Then I
>> use a rudimentary shell script to make it easy to add/remove userprefs
>> from the database.
>>
>> Quinn
>>
>>
>> -
>> Strangecode :: Internet Consultancy
>> http://www.strangecode.com/
>> +1 530 624 4410
>>
>>
>>
>> On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:
>>> Looks like I need to use the --enable-spam and the
>>> --enable-spam-passthru
>>> options.  Will I need to download the source to recompile?  Or can I
>>> install
>>> via the simscan-toaster-3.1.7-1.3.6.src.rpm file?
>>


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-19 Thread Quinn Comendant
Rats. You caught me! ;P

That was a copy-and-paste error on my part (copied the path to the spamassassin 
RPM  from a different document, then changed the file name to simscan leaving 
the same version. Sorry for the confusion. ;P

Quinn

-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 17:54:09 -0800, Erik Espinoza wrote:
> I'm pretty sure that simscan is still at version 1.2, not 3.1.7.
> 
> There may be an issue here.

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-19 Thread Eric \"Shubes\"
You need to do step 1 in Quinn's instructions. Even though you've installed
the package, when you use the normal procedure for installation, this file
is removed at the end as it's only used for building the binary rpm.

Ronnie Tartar wrote:
> I've installed but I do not have a simscan-toaster.spec file in the
> /usr/src/redhat/SPECS directory.
> 
> Thanks
> 
> - Original Message - From: "Quinn Comendant"
> <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, December 18, 2006 8:46 PM
> Subject: RE: [qmailtoaster] Spamassassin SASQL
> 
> 
>> So you're still in? I'm in a rush out of the office, but here are some
>> quick steps:
>>
>> =
>> REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
>> =
>>
>> 1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:
>>
>> # rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm
>>
>> 2. Edit the simscan-toaster.spec file:
>>
>> # vi /usr/src/redhat/SPECS/simscan-toaster.spec
>>
>> You can change the configure options at around line 434. You will only
>> need to set --enable-spamc-user option. Here is this part of my
>> simscan-toaster.spec file:
>>
>>--enable-user=clamav \
>>--enable-attach \
>>--enable-ripmime=/usr/bin/ripmime \
>>--enable-per-domain \
>>--enable-spam \
>>--enable-spam-hits=20 \
>>--enable-spamc-user \
>>--enable-received \
>>--enable-clamavdb-path=/usr/share/clamav \
>>--enable-custom-smtp-reject
>>
>> 3. Build an RPM from this spec file:
>>
>> # rpmbuild -bb --with cnt40 --target $(uname -m)
>> /usr/src/redhat/SPECS/simscan-toaster.spec
>>
>> (Replace cnt40 with the flag for your distro.)
>>
>> 4. Install the RPM (the usual disclaimers apply):
>>
>> # rpm -Uvh --force
>> /usr/src/redhat/RPMS//simscan-toaster-..rpm
>>
>> (Replace  with yours: i386, i686, etc)
>>
>> 5. Then following the instructions for setting up Spamassassin:
>>
>> http://wiki.apache.org/spamassassin/UsingSQL
>>
>> I haven't offered a control panel to our users (yet), but rather just
>> let them post a support ticket if they have specific SA needs. Then I
>> use a rudimentary shell script to make it easy to add/remove userprefs
>> from the database.
>>
>> Quinn
>>
>>
>> -
>> Strangecode :: Internet Consultancy
>> http://www.strangecode.com/
>> +1 530 624 4410
>>
>>
>>
>> On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:
>>> Looks like I need to use the --enable-spam and the
>>> --enable-spam-passthru
>>> options.  Will I need to download the source to recompile?  Or can I
>>> install
>>> via the simscan-toaster-3.1.7-1.3.6.src.rpm file?
>>


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-19 Thread Ronnie Tartar
I've installed but I do not have a simscan-toaster.spec file in the 
/usr/src/redhat/SPECS directory.


Thanks

- Original Message - 
From: "Quinn Comendant" <[EMAIL PROTECTED]>

To: 
Sent: Monday, December 18, 2006 8:46 PM
Subject: RE: [qmailtoaster] Spamassassin SASQL


So you're still in? I'm in a rush out of the office, but here are some 
quick steps:


=
REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
=

1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:

# rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm

2. Edit the simscan-toaster.spec file:

# vi /usr/src/redhat/SPECS/simscan-toaster.spec

You can change the configure options at around line 434. You will only 
need to set --enable-spamc-user option. Here is this part of my 
simscan-toaster.spec file:


   --enable-user=clamav \
   --enable-attach \
   --enable-ripmime=/usr/bin/ripmime \
   --enable-per-domain \
   --enable-spam \
   --enable-spam-hits=20 \
   --enable-spamc-user \
   --enable-received \
   --enable-clamavdb-path=/usr/share/clamav \
   --enable-custom-smtp-reject

3. Build an RPM from this spec file:

# rpmbuild -bb --with cnt40 --target $(uname -m) 
/usr/src/redhat/SPECS/simscan-toaster.spec


(Replace cnt40 with the flag for your distro.)

4. Install the RPM (the usual disclaimers apply):

# rpm -Uvh --force 
/usr/src/redhat/RPMS//simscan-toaster-..rpm


(Replace  with yours: i386, i686, etc)

5. Then following the instructions for setting up Spamassassin:

http://wiki.apache.org/spamassassin/UsingSQL

I haven't offered a control panel to our users (yet), but rather just let 
them post a support ticket if they have specific SA needs. Then I use a 
rudimentary shell script to make it easy to add/remove userprefs from the 
database.


Quinn


-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:

Looks like I need to use the --enable-spam and the --enable-spam-passthru
options.  Will I need to download the source to recompile?  Or can I 
install

via the simscan-toaster-3.1.7-1.3.6.src.rpm file?


-
QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Erik Espinoza

I'm pretty sure that simscan is still at version 1.2, not 3.1.7.

There may be an issue here.

On 12/18/06, Quinn Comendant <[EMAIL PROTECTED]> wrote:

So you're still in? I'm in a rush out of the office, but here are some quick 
steps:

=
REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
=

1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:

# rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm

2. Edit the simscan-toaster.spec file:

# vi /usr/src/redhat/SPECS/simscan-toaster.spec

You can change the configure options at around line 434. You will only need to 
set --enable-spamc-user option. Here is this part of my simscan-toaster.spec 
file:

--enable-user=clamav \
--enable-attach \
--enable-ripmime=/usr/bin/ripmime \
--enable-per-domain \
--enable-spam \
--enable-spam-hits=20 \
--enable-spamc-user \
--enable-received \
--enable-clamavdb-path=/usr/share/clamav \
--enable-custom-smtp-reject

3. Build an RPM from this spec file:

# rpmbuild -bb --with cnt40 --target $(uname -m) 
/usr/src/redhat/SPECS/simscan-toaster.spec

(Replace cnt40 with the flag for your distro.)

4. Install the RPM (the usual disclaimers apply):

# rpm -Uvh --force 
/usr/src/redhat/RPMS//simscan-toaster-..rpm

(Replace  with yours: i386, i686, etc)

5. Then following the instructions for setting up Spamassassin:

http://wiki.apache.org/spamassassin/UsingSQL

I haven't offered a control panel to our users (yet), but rather just let them 
post a support ticket if they have specific SA needs. Then I use a rudimentary 
shell script to make it easy to add/remove userprefs from the database.

Quinn


-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:
> Looks like I need to use the --enable-spam and the --enable-spam-passthru
> options.  Will I need to download the source to recompile?  Or can I install
> via the simscan-toaster-3.1.7-1.3.6.src.rpm file?

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Quinn Comendant
So you're still in? I'm in a rush out of the office, but here are some quick 
steps:

=
REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
=

1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:

# rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm

2. Edit the simscan-toaster.spec file:

# vi /usr/src/redhat/SPECS/simscan-toaster.spec

You can change the configure options at around line 434. You will only need to 
set --enable-spamc-user option. Here is this part of my simscan-toaster.spec 
file:

--enable-user=clamav \
--enable-attach \
--enable-ripmime=/usr/bin/ripmime \
--enable-per-domain \
--enable-spam \
--enable-spam-hits=20 \
--enable-spamc-user \
--enable-received \
--enable-clamavdb-path=/usr/share/clamav \
--enable-custom-smtp-reject

3. Build an RPM from this spec file:

# rpmbuild -bb --with cnt40 --target $(uname -m) 
/usr/src/redhat/SPECS/simscan-toaster.spec

(Replace cnt40 with the flag for your distro.)

4. Install the RPM (the usual disclaimers apply):

# rpm -Uvh --force 
/usr/src/redhat/RPMS//simscan-toaster-..rpm

(Replace  with yours: i386, i686, etc)

5. Then following the instructions for setting up Spamassassin:

http://wiki.apache.org/spamassassin/UsingSQL

I haven't offered a control panel to our users (yet), but rather just let them 
post a support ticket if they have specific SA needs. Then I use a rudimentary 
shell script to make it easy to add/remove userprefs from the database.

Quinn


-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:
> Looks like I need to use the --enable-spam and the --enable-spam-passthru
> options.  Will I need to download the source to recompile?  Or can I install
> via the simscan-toaster-3.1.7-1.3.6.src.rpm file?  

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Eric \"Shubes\"
You can use the src.rpm file you have. I'm not sure off hand how to invoke
these options in the build process though. Someone else will know if you
need help.

Ronnie Tartar wrote:
> Looks like I need to use the --enable-spam and the --enable-spam-passthru
> options.  Will I need to download the source to recompile?  Or can I install
> via the simscan-toaster-3.1.7-1.3.6.src.rpm file?  
> 
> Thanks
> 
> -Original Message-
> From: Quinn Comendant [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 18, 2006 1:56 PM
> To: qmailtoaster-list@qmailtoaster.com
> Subject: Re: [qmailtoaster] Spamassassin SASQL
> 
> Ronnie
> 
> Yes, there are docs, but here-and-there. It is mostly a DIY project. ;P
> 
> We've got ours setup to use per-user prefs. However a major caveat is that
> with simscan + spamassassin the correct prefs will only be loaded for emails
> matching the following requirements:
> 
>   - Email has only one recipient
>   - Recipient address is not an alias (i.e. a real vpopmail user)
> 
> Because of this, user-prefs on my system are only being called for about
> 80-90% of incoming emails.
> 
> http://qmailwiki.org/Simscan/Guide#Multiple_Recipient_Problem_with_Per_User_
> simscan_option
> 
> If you still want to proceed with this, bug me about it and I'll update the
> wiki with simscam + SA + SQL presfs.
> 
> Quinn
> 
> -
> Strangecode :: Internet Consultancy
> http://www.strangecode.com/
> +1 530 624 4410
> 
> 
> 
> On Mon, 18 Dec 2006 09:46:13 -0500, Ronnie Tartar wrote:
>> Newbie question,
>>
>> I have the toaster setup all setup, I am trying to implement per user 
>> settings for spamassassin.  I've seen a few docs out there but 
>> nothing complete.  Is anybody running this out there?
>>
>> Thank you 
>>


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Ronnie Tartar
Looks like I need to use the --enable-spam and the --enable-spam-passthru
options.  Will I need to download the source to recompile?  Or can I install
via the simscan-toaster-3.1.7-1.3.6.src.rpm file?  

Thanks

-Original Message-
From: Quinn Comendant [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 1:56 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Spamassassin SASQL

Ronnie

Yes, there are docs, but here-and-there. It is mostly a DIY project. ;P

We've got ours setup to use per-user prefs. However a major caveat is that
with simscan + spamassassin the correct prefs will only be loaded for emails
matching the following requirements:

- Email has only one recipient
- Recipient address is not an alias (i.e. a real vpopmail user)

Because of this, user-prefs on my system are only being called for about
80-90% of incoming emails.

http://qmailwiki.org/Simscan/Guide#Multiple_Recipient_Problem_with_Per_User_
simscan_option

If you still want to proceed with this, bug me about it and I'll update the
wiki with simscam + SA + SQL presfs.

Quinn

-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 09:46:13 -0500, Ronnie Tartar wrote:
> Newbie question,
> 
> I have the toaster setup all setup, I am trying to implement per user 
> settings for spamassassin.  I've seen a few docs out there but 
> nothing complete.  Is anybody running this out there?
> 
> Thank you 
> 
> -
> QmailToaster hosted by: VR Hosted <http://www.vr.org>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted <http://www.vr.org>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Quinn Comendant
Ronnie

Yes, there are docs, but here-and-there. It is mostly a DIY project. ;P

We've got ours setup to use per-user prefs. However a major caveat is that with 
simscan + spamassassin the correct prefs will only be loaded for emails 
matching the following requirements:

- Email has only one recipient
- Recipient address is not an alias (i.e. a real vpopmail user)

Because of this, user-prefs on my system are only being called for about 80-90% 
of incoming emails.

http://qmailwiki.org/Simscan/Guide#Multiple_Recipient_Problem_with_Per_User_simscan_option

If you still want to proceed with this, bug me about it and I'll update the 
wiki with simscam + SA + SQL presfs.

Quinn

-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 09:46:13 -0500, Ronnie Tartar wrote:
> Newbie question,
> 
> I have the toaster setup all setup, I am trying to implement per user 
> settings for spamassassin.  I've seen a few docs out there but 
> nothing complete.  Is anybody running this out there?
> 
> Thank you 
> 
> -
> QmailToaster hosted by: VR Hosted 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] Spamassassin SASQL

2006-12-18 Thread Ronnie Tartar

Newbie question,

I have the toaster setup all setup, I am trying to implement per user 
settings for spamassassin.  I've seen a few docs out there but nothing 
complete.  Is anybody running this out there?


Thank you 



-
QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]