[imapfilter-devel] Imapfilter printing to console?
Hawk Anonymous
p91 at gmx.de
Sun Feb 13 20:42:41 EET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1YJiEACgkQSKShdMH+tm1C7ACg172gCz417Ph936ylFspdq7bG
ELQAoM6wxsLzKjUuaIUYu4bWazKYD0+Q
=zkWi
-----END PGP SIGNATURE-----
More information about the Imapfilter-devel
mailing list