RE: [qmailtoaster] Re: Spambox troubles

2010-07-29 Thread Patrick Ring
Not to my knowledge.  A long while back, I had a partner who was taking
care of my QMT.  He implemented the spambox on SpamAssassin; though I've
talked to him, and he thought the same thing.

I've built a few newer versions of QMT since, so I'm not sure what might
be doing this.

This time when I migrate to the new server load (QMT5-ISO -- this
weekend), I'll likely not do a full backup/restore process, and
hopefully I'll be able to skip on whatever is running that is doing the
re-filtering. 


Patrick M. Ring
P. Ring Technologies
Louisiana Web Host, LLC.
985-868-4200

-Original Message-
From: Jake Vickers [mailto:j...@qmailtoaster.com] 
Sent: Thursday, July 29, 2010 12:54 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: Spambox troubles

On 07/29/2010 01:46 PM, Eric Shubert wrote:
> Then it's either some other (imap) client, or courier. I doubt the 
> later though. Does your imap/imaps log show anyone logged in?
>

I would agree that we're looking at something external. The mailfilter
script is only run when the message is delivered to the mailstore. It
see the .qmail file, and processes the message according to the .qmail
file which tells it to run through the mailfilter script. Courier then
places the message in the folder. It does not get run against that same
message again. You indicated that when you move it, it moves itself
back. That would not be indiciative of the mailfilter script and the
message being hung in the queue - if it were there would be multiple
copies.
Do you have a script or something that runs against the mailboxes?


-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Spambox troubles

2010-07-29 Thread Jake Vickers

On 07/29/2010 01:46 PM, Eric Shubert wrote:
Then it's either some other (imap) client, or courier. I doubt the 
later though. Does your imap/imaps log show anyone logged in?




I would agree that we're looking at something external. The mailfilter 
script is only run when the message is delivered to the mailstore. It 
see the .qmail file, and processes the message according to the .qmail 
file which tells it to run through the mailfilter script. Courier then 
places the message in the folder. It does not get run against that same 
message again. You indicated that when you move it, it moves itself 
back. That would not be indiciative of the mailfilter script and the 
message being hung in the queue - if it were there would be multiple copies.

Do you have a script or something that runs against the mailboxes?

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Spambox troubles

2010-07-29 Thread Patrick Ring
It seems to be independent of SM.
-P. Ring
--
Sent from my BlackBerry Wireless Device


-Original Message-
From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thu Jul 29 12:29:11 2010
Subject: [qmailtoaster] Re: Spambox troubles

That seems to indicate a client program somewhere then that has a mail 
filter running that's doing this. Perhaps in SM?

Patrick Ring wrote:
> As it turns out, if I remove "***SPAM***" from the subject, the messages 
> stay in the inbox. I've tested this from SM, SSH session, and Webmin 
> file manager.
> 
> If "***SPAM***" exists in the subject, the message will be removed from 
> the Inbox and placed in the .Spam folder.
> 
> Thank you,
> Patrick Ring
> --
> Sent from my BlackBerry Wireless Device
> 
> 
> -Original Message-
> From: Eric Shubert 
> To: qmailtoaster-list@qmailtoaster.com 
> Sent: Thu Jul 29 11:19:28 2010
> Subject: [qmailtoaster] Re: Spambox troubles
> 
> Patrick Ring wrote:
>  > I'm running Courier (I haven't had the time to plan out a Dovecot
>  > transition).
>  >
>  > I've tested and re-tested what is happening with the spam-marked
>  > messages.  Both from SM and from a ssh session (moved the files
>  > manually).  In both cases, the file ends up back in the .spam folder
>  > within a second of being moved.
> 
> That's very odd. I'm having a hard time imagining how that could happen.
> 
> Is the message perhaps 'stuck' in the delivery queue, getting
> re-delivered? Take a close look at the file, and see if the inodes are
> the same (in which case the file is being moved), or if the inodes
> change (in which case the file is a copy).
> 
> I presume you've checked that the message id is the same in both cases.
> 
> Have you tried copying it to the inbox, then deleting it from the
> spambox? (from a ssh session)
> 
>  > Hopefully when I deploy a new server (over the weekend), this will stop.
> 
> My guess is that it will.
> 
> --
> -Eric 'shubes'
> 
> 
> -
> Qmailtoaster is sponsored by Vickers Consulting Group 
> (www.vickersconsulting.com)
> Vickers Consulting Group offers Qmailtoaster support and installations.
>   If you need professional help with your setup, contact them today!
> -
>  Please visit qmailtoaster.com for the latest news, updates, and 
> packages.
> 
>   To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>  For additional commands, e-mail: 
> qmailtoaster-list-h...@qmailtoaster.com
> 
> 


-- 
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Spambox troubles

2010-07-29 Thread Patrick Ring
As it turns out, if I remove "***SPAM***" from the subject, the messages stay 
in the inbox. I've tested this from SM, SSH session, and Webmin file manager.

If "***SPAM***" exists in the subject, the message will be removed from the 
Inbox and placed in the .Spam folder.

Thank you,
Patrick Ring
--
Sent from my BlackBerry Wireless Device


-Original Message-
From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thu Jul 29 11:19:28 2010
Subject: [qmailtoaster] Re: Spambox troubles

Patrick Ring wrote:
> I'm running Courier (I haven't had the time to plan out a Dovecot
> transition).
 >
> I've tested and re-tested what is happening with the spam-marked
> messages.  Both from SM and from a ssh session (moved the files
> manually).  In both cases, the file ends up back in the .spam folder
> within a second of being moved.

That's very odd. I'm having a hard time imagining how that could happen.

Is the message perhaps 'stuck' in the delivery queue, getting 
re-delivered? Take a close look at the file, and see if the inodes are 
the same (in which case the file is being moved), or if the inodes 
change (in which case the file is a copy).

I presume you've checked that the message id is the same in both cases.

Have you tried copying it to the inbox, then deleting it from the 
spambox? (from a ssh session)

> Hopefully when I deploy a new server (over the weekend), this will stop.

My guess is that it will.

-- 
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Re: Spambox troubles

2010-07-29 Thread Patrick Ring
I'm running Courier (I haven't had the time to plan out a Dovecot
transition).

I've tested and re-tested what is happening with the spam-marked
messages.  Both from SM and from a ssh session (moved the files
manually).  In both cases, the file ends up back in the .spam folder
within a second of being moved.

Hopefully when I deploy a new server (over the weekend), this will stop.



Patrick M. Ring
P. Ring Technologies
Louisiana Web Host, LLC.
985-868-4200

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Wednesday, July 28, 2010 6:40 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Spambox troubles

Patrick Ring wrote:
> I said "so it stays" because I have been trying to use the 
> Squirrelmail "Move" function to move the messages into the Inbox.  
> However, it looks like they've moved, but when you check the Inbox the

> message(s) is/are not there.  Clicking back on the Spam folder reveals

> they are right back there.  I can move the marked messages to any 
> other folder except the Spam folder.
> 
> Any ideas? 

My understanding is that messages are only moved to the spambox upon
delivery. My guess is that somehow SM (or the underlying IMAP server)
isn't updating the folder views properly. Which IMAP client are you
running?

> As for IMAP, it seems to confuse the end users when it is time to 
> delete messages.  Outlook and Outlook Express just strike them out, 
> and then the user has to find the Purge function in a drop menu.  I'm 
> working on educating them, but most of them are not young and computer

> savvy. ;-)

I knew that Outlook did that, but wasn't aware of OE doing so. The newer
Win7 mail program (OE equivalent on Win7) handles imap in a better
fashion (like you'd expect it to). Of course TBird also handles imap
well.

I encourage users to use something other than Outlook when they're not
using features that require it (most users use it only for email). 
Outlook'03 is particularly troublesome, given its 2G .pst file limit and
the fact that it stores all imap messages in the pst file even though
they're on the server as well. Outlook'07 behaves a bit better in this
regard (you can purge automatically, and full messages aren't stored in
the pst), but it still has limitations, as well as having to compress
the pst file occasionally. Not very user friendly.

FWIW,  you can change the "view" in Outlook so that it doesn't show the
striked-out messages. They still need to be purged, but it appears like
they go away. Also, they don't go into the 'deleted items' folder as
you'd expect. I actually had a user that was using the 'deleted items' 
folder as a normal file for archiving! (What part of DELETED do you not
understand?)

I'm not yet aware of a good cure for Outlook users. :( I imagine that
there would be a lot fewer of them if they understood how easily their
pst file could become corrupt, and they'd lose all of their email and
contacts and calendar information. Sometimes scaring them into switching
works.

-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Re: Spambox troubles

2010-07-28 Thread Patrick Ring
I said "so it stays" because I have been trying to use the Squirrelmail
"Move" function to move the messages into the Inbox.  However, it looks
like they've moved, but when you check the Inbox the message(s) is/are
not there.  Clicking back on the Spam folder reveals they are right back
there.  I can move the marked messages to any other folder except the
Spam folder.

Any ideas? 

As for IMAP, it seems to confuse the end users when it is time to delete
messages.  Outlook and Outlook Express just strike them out, and then
the user has to find the Purge function in a drop menu.  I'm working on
educating them, but most of them are not young and computer savvy. ;-)

Thank you,
Patrick M. Ring
P. Ring Technologies
Louisiana Web Host, LLC.
985-868-4200

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Wednesday, July 28, 2010 5:31 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Spambox troubles

Patrick Ring wrote:
> Once an email gets "marked" as spam and placed in the .spam box, what 
> must one do to move it out so it stays in the Inbox?

The simplest way is to use squirrelmail/webmail (imap).
The spambox feature isn't intended to be used with pop3. It's a feature
that works well with imap.

I'm not sure why you ask "so it stays". I don't know why it wouldn't
stay where it's put. Have you observed otherwise?

> The only thing I can do is move the mail to another folder, but my 
> users use POP3 and really don't want to use the webmailer.

They could use any client program configured with their account as imap.

> (I'm hoping to bypass alot of this when I deploy a new server and 
> migrate everyone (without the spam rules etc) to the new system.)
 >
> Thank you,
> Patrick M. Ring
> P. Ring Technologies
> Louisiana Web Host, LLC.
> 985-868-4200
>  
> 
> --
> --
> *From:* Toma Bogdan [mailto:tbog...@direkt.ro]
> *Sent:* Friday, July 23, 2010 1:44 AM
> *To:* qmailtoaster-list@qmailtoaster.com
> *Subject:* Re: [qmailtoaster] Spambox troubles
> 
> On 23/07/2010 3:13 AM, Patrick Ring wrote:
>> OK.  I deleted the .qmail file from all accounts.
>> As well, I "reset" the spamassassin database using "sudo -H -u 
>> vpopmail sa-learn --clear"
>> I followed this with a "qmailctl restart"
>>  
>> I am still getting a huge amount of false positives, and it is still 
>> dropping the ***SPAM*** marked emails into the .Spam box.
>> Once messages are in there, it seems to be impossible to get them 
>> back into the inbox (and stay there).
>>  
>> Any advice?
>>  
>> Thank you,
>> Patrick M. Ring
>> P. Ring Technologies
>> Louisiana Web Host, LLC.
>> 985-868-4200
>>  
>>
>> -
>> ---
>> *From:* Jake Vickers [mailto:j...@qmailtoaster.com]
>> *Sent:* Wednesday, July 21, 2010 1:34 AM
>> *To:* qmailtoaster-list@qmailtoaster.com
>> *Subject:* Re: [qmailtoaster] Spambox troubles
>>
>> On 07/20/2010 05:54 PM, Patrick Ring wrote:
>>> I've been running the Spambox on my qmt for quite some time now.  
>>> However, lately I'm getting a huge amount of false positives, and 
>>> it's a pain trying to educate the users about how to use the Spam 
>>> (or
>>> .Spam) folder.
>>>  
>>> Is there any (simple) way to turn it off?
>>> In the reading I've done, the only thing I can find is to 
>>> recompile/rebuild a package or two with the spambox 0 defined.
>>> I've also read it has something to do with the .qmail file found in 
>>> each users' account.
>>>  
>>> Can anyone point me to some enlightenment about this?
>>>
>>
>> If you are getting false positives, check the message headers. I'll 
>> bet your bayes DB has been tainted with legitimate messages that were

>> marked as spam, which will have a snowball effect. You'll see 
>> legitimate messages hitting the bayes score categories.
>>
>> Basically when the spambox is enabled for a user, after all the spam 
>> scans are done the message gets passed to the /etc/mail/mailfilter 
>> script (maildrop). If the message has a spam score in the headers 
>> that is greater than 7 (I think this is the default now) then it gets

>> sent to the Spam folder and also sent to sa-learn so that 
>> spamassassin can analyze it and learn to identify messages like it as

>> spam more efficiently. So if a legitimate message gets sent to 
>> sa-learn as spam, spamassassin will be tainted - this will have a
snowball effect.
>>
>> When you enable the spambox for users, it creates a .qmail file in 
>> the user's maildir. This tells it to pass the messages to the 
>> mailfilter script before delivery. You have a couple ways to fix
this:
>>
>> Delete the bayes DB and start over. You may see an increase in spam 
>> initially until spamassassin can learn again (brain-wipe it), but 
>> this is usually preferable to false-positives.
>>
>> Disable the spambox by recompiling qmailadmin-toaster to disable the 
>> option - this will not REMOVE i

Re: [qmailtoaster] Re: Spambox troubles

2010-07-22 Thread Patrick Ring
I do remember reading about it...
I don't know if my build would have had it already... I'll check tonight.
--
Sent from my BlackBerry Wireless Device


-Original Message-
From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thu Jul 22 21:01:12 2010
Subject: [qmailtoaster] Re: Spambox troubles

Patrick Ring wrote:
> I've been running the Spambox on my qmt for quite some time now.  
> However, lately I'm getting a huge amount of false positives, and it's a 
> pain trying to educate the users about how to use the Spam (or .Spam) 
> folder.
>  
> Is there any (simple) way to turn it off?
> In the reading I've done, the only thing I can find is to 
> recompile/rebuild a package or two with the spambox 0 defined.
> I've also read it has something to do with the .qmail file found in each 
> users' account.
>  
> Can anyone point me to some enlightenment about this?
>  
> Thank you,
> Patrick M. Ring
> P. Ring Technologies
> Louisiana Web Host, LLC.
> 985-868-4200
>  

Have you added this:
score   FH_DATE_PAST_20XX   0.0
to your local.cf file? That rule began creating havoc at the beginning 
of the year.

Does anyone know if this has been fixed in the upstream package?

-- 
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com