[imapfilter-devel] Imapfilter printing to console?

Lefteris Chatzimparmpas lefcha at hellug.gr
Mon Feb 14 20:02:13 EET 2011


Hello,

If you include the following in your configuration:

  options.info = false

Do you still get those?


On 02/13/2011 07:42 PM, Hawk Anonymous wrote:
> Hi,
> I have a little problem.
> I am using this script to check only new mails:
> options.timeout = 120
> options.subscribe = true
> options.certificates = false
> 
> function uniconnect()
>         myaccount = IMAP {
>         server = 'mymailserver',
>         username = 'myuername',
>         password = 'mypw',
>         ssl = 'ssl3'
>                          }
> end
> 
> function sortMAIL()
>         spam = myaccount.INBOX:contain_from('GMX Service') +
>         myaccount.INBOX:contain_from('GMX Best Price') +
>         myaccount.INBOX:contain_from('TrashMail.net') +
>         myaccount.INBOX:contain_from('GMX Magazin') +
>         myaccount.INBOX:contain_cc('p9760 at gmx.de') +
>         myaccount.INBOX:contain_to('p911')
>         spam:delete_messages()
> end
> 
> function sortMAIL_ignore_errors()
>         pcall(sortMAIL)
> end
> 
> 
> uniconnect()
> sortMAIL()
> while true do
>         uniconnect()
>                 while myaccount.INBOX:enter_idle() do
>                         sortMAIL_ignore_errors()
>                 end
> end
> 
> Problem is if I am logged in per SSH I will always get a "1 message was
> moved blabla" between my commands or even in nano.
> How can I stop this?
> with best regards
> 
> 
> p90
_______________________________________________
Imapfilter-devel mailing list
Imapfilter-devel at lists.hellug.gr
http://lists.hellug.gr/mailman/listinfo/imapfilter-devel


More information about the Imapfilter-devel mailing list