Hi Daryl,

you can use the --imaplist switch to check your imap folder structure. You may need to specify "INBOX.Bulk Mail" or similar to get the folder.

Cheers,
Luke

On 11/5/19 1:35 AM, Daryl Rose wrote:
I just stood up ISBG and am in the process of configuring it.  I've followed the documentation as well as some information found on a forum.  I think that it's setup correctly, but it doesn't seem to actually be filtering spam.  

I have several email addresses setup.  One of them I know for sure has spam in the inbox and I watch the log files when isbg runs.  It see's the email, but flags it as "OK".  I'm I missing something?  Is there an option that I need to set?  Here is the string that I'm using:  

isbg --verbose --imaphost <<Provider IMAP HOSTname>> --imapuser <<USER as you would logon in webmail>> --imapport <<YourISPKnows>> --partialrun 10 --spaminbox Spam --delete --expunge

This is what I found on the forum.  

Second question.....I"m not sure about the "--spaminbox" setting.  Am I supposed to create a "Spam" directory on the sever that I have setup, or is this the name of the spam folder on the email server?  Most of the email addresses that I have use the name "Spam" for the spam folder, but a couple that I use have the folder named "Bulk Mail".  If I run the "Bulk Mail" in the string, the command fails.   I get the following error:

('select', 'Bulk Mail', 1) = ('NO', ['Mailbox does not exist.'])
('select', 'Bulk Mail', 1) returned ('NO', ['Mailbox does not exist.']) - aborting

Any feedback is appreciated.

Thank you.
Daryl

_______________________________________________
Isbg mailing list -- isbg@python.org
To unsubscribe send an email to isbg-leave@python.org
https://mail.python.org/mailman3/lists/isbg.python.org/