Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-09 Thread Nick Lomonte

   ~vpopmail/domains/example.com/user/.qmail
 
 Is this what you are asking?

Yes ;)
 
-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700





Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-06 Thread Nick Lomonte
On Wed, 2002-11-27 at 14:34, Cory Wright wrote:
  |spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
   

This works good, is there a way to do this in a .qmail file in the
user's home dir?
 
 
-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700





Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 03:49:43PM -0600, Nick Lomonte wrote:
 On Wed, 2002-11-27 at 14:34, Cory Wright wrote:
   |spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
 
 This works good, is there a way to do this in a .qmail file in the
 user's home dir?

Sure, I use the following on my account:

  |spamc |maildir ./Maildir/

The 'maildir' command is from the safecat package by Len Budney:

  http://www.nb.net/~lbudney/linux/software/safecat.html

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 03:49:43PM -0600, Nick Lomonte wrote:
 This works good, is there a way to do this in a .qmail file in the
 user's home dir?

It just occured to me that you might mean the virtual users's vpopmail home
directory.  

  ~vpopmail/domains/example.com/user/.qmail

Is this what you are asking?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 01:48:59PM -0500, Brendan McAlpine wrote:
 Is it possible to use SA on a per user basis within qmail?

Sure.
 
 I know how to set up SA on a per domain basis, but not all users in the 
 domain I am setting up want spamassassin.  Is there a way to call spamc 
 from a .qmail file within an individual user's directory?

I have a setup like the following:

 [EMAIL PROTECTED] - /var/vpopmail/domains/example.com/user

Then, in /var/vpopmail/domains/example.com/.qmail-user:

 |spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
  
If you dont user spamc/spamd then you can do something similar with the 
`spamassassin` command.

Cory




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Brendan McAlpine
I tried this way, but it didn't work for me for some reason.

Here is how I got it to work a little while ago

1.  install Safecat 
(http://www.nb.net/~lbudney/linux/software/safecat.html)
2.  edit your mailbox's .qmail file to look like this:

| /usr/bin/spamc -u vpopmail | maildir /path/to/your/maildir

Done.

It wasn't hard to implement once I dug around for about an hour and a 
half and found the solution and obviously this isn't compatible with 
qmailadmin.  The first time you go into qmailadmin and muck around with 
forwarding, etc. it will overwrite the .qmail file.

Brendan

On Wednesday, November 27, 2002, at 03:34 PM, Cory Wright wrote:

On Wed, Nov 27, 2002 at 01:48:59PM -0500, Brendan McAlpine wrote:

Is it possible to use SA on a per user basis within qmail?


Sure.


I know how to set up SA on a per domain basis, but not all users in 
the
domain I am setting up want spamassassin.  Is there a way to call 
spamc
from a .qmail file within an individual user's directory?

I have a setup like the following:

 [EMAIL PROTECTED] - /var/vpopmail/domains/example.com/user

Then, in /var/vpopmail/domains/example.com/.qmail-user:

 |spamc | /var/vpopmail/bin/vdelivermail '' 
/var/vpopmail/domains/example.com/user/

If you dont user spamc/spamd then you can do something similar with the
`spamassassin` command.

Cory







Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Brendan McAlpine
Is there any way around the quota issue that you've found?

That is a big problem.

Brendan
On Wednesday, November 27, 2002, at 04:49 PM, Cory Wright wrote:


On Wed, Nov 27, 2002 at 04:43:28PM -0500, Brendan McAlpine wrote:

1.  install Safecat
(http://www.nb.net/~lbudney/linux/software/safecat.html)
2.  edit your mailbox's .qmail file to look like this:

| /usr/bin/spamc -u vpopmail | maildir /path/to/your/maildir

Done.

It wasn't hard to implement once I dug around for about an hour and a
half and found the solution and obviously this isn't compatible with
qmailadmin.  The first time you go into qmailadmin and muck around 
with
forwarding, etc. it will overwrite the .qmail file.

It also wont take into account any quota limits that are set.

Cory








Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 04:57:52PM -0500, Brendan McAlpine wrote:
 Is there any way around the quota issue that you've found?

Well, the solution is to use vdelivermail.  What was the problem that you
ran into by using that?

Cory




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Mystery Admin
On Wed, 27 Nov 2002 at 12:35:26, Cory Wright wrote:

 On Wed, Nov 27, 2002 at 01:48:59PM -0500, Brendan McAlpine wrote:
  Is it possible to use SA on a per user basis within qmail?
 
 Sure.
  
  I know how to set up SA on a per domain basis, but not all users in the 
  domain I am setting up want spamassassin.  Is there a way to call spamc 
  from a .qmail file within an individual user's directory?
 
 I have a setup like the following:
 
  [EMAIL PROTECTED] - /var/vpopmail/domains/example.com/user
 
 Then, in /var/vpopmail/domains/example.com/.qmail-user:
 
  |spamc | /var/vpopmail/bin/vdelivermail ''
 /var/vpopmail/domains/example.com/user/
   
 If you dont user spamc/spamd then you can do something similar with the 
 `spamassassin` command.
 
 Cory

Thanks for the great example!  The other example I had seen used MySQL for
authentication (I believe) eevn though I currently don't.  I'll give this a try!

Happy Thanksgiving! (If you celebrate the Holiday)

Peace

Tom



___
http://jawmail.org/





Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Brendan McAlpine
Version 5.3.5

Brendan
On Wednesday, November 27, 2002, at 05:19 PM, Cory Wright wrote:


Brendan replied directory to me, I am sending this followup to the 
list.

On Wed, Nov 27, 2002 at 05:10:25PM -0500, Brendan McAlpine wrote:
Mail just disappeared when sent to my test mailbox.

No error messages, no bounce, just vanished.

What was the exact syntax you had for the .qmail file using
vdelivermail again?


|spamc | /var/vpopmail/bin/vdelivermail '' 
/var/vpopmail/domains/example.com/user/

Which version of vpopmail are you using?   I believe you need version 
5.3.7 or
newer and have it compiled with the --enable-make-seekable=y configure 
option
(which is the default).

Cory







Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 06:04:52PM -0500, Brendan McAlpine wrote:
 Version 5.3.5

Try upgrading to a newer 5.3.* release.  I suspect this will fix the 
problem and you will be able to use the spamc - vdelivermail method.

Cory