rewrite with some bugs fixed and email notification support
Brought to you by:
vondo
Here is my version of imapassassin. I fixed
the "expunge" bug and added some options for the
maximum size of a message to process (you wouldn't
want a 10MB message be tested for spam...) and email-
notification (you might want to send no-spam mail to
your pager or cellphone if it has a mail-gateway)
Also I don't save the MIDs but MD5 checksums of the
messages. is more expensive in bandwidth but doesn't
come into trouble when you edit your mailbox during
imapassassin session.
whould like to use UIDs, but it doesn't work for me.
Either server doesn't support it or there's a bug in
IMAPClient. I always get MIDs.
So here's the script. Feel free to add and modify ;)
No docu until now...
Logged In: YES
user_id=493889
updated the script - checks whether server supports UIDs - if
yes UIDs are used, if not ONLY the headers are downloaded
and an MD5 checksum is created.
Or maybe this is a bug in IMAPClient...
anyway MD5 of headers should do, even if no "Message-ID"
field is present, because Received-Headers should at least be
different for every message.
It is a bad practice to use MIDs because these may change
or be reused for example when you delete some mails from
you mailbox...
with UID support detection / MD5 of headers