Menu

#1 unable to delete original msg at inbox

v1.0_(example)
open
nobody
None
5
2002-10-03
2002-10-03
No

Hello,
I am trying to circunvent ISP practice, not allowing to create another
folders at my account.
So I tried to move msg to the same INBOX.
imapassassin creates the new tagged msg.
But it is unable to delete original message.
Next time it process the INBOX, it cathes the original and new
tagged message, creating a third tagged msg.
Each time it runs, create a new tagged msg.
How to solve this?
Best regards.
Andre Felipe

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Andre -
    Edit your copy of imapassassin to set the new message to
    be "seen."

    $AppendStatus is the MsgID for the new message so a
    $IMAP -> deny_seeing($AppendStatus);
    below the my $AppendStatus line should do the trick.

    terry bradshaw
    bradshaw@facstaff.wisc.edu

     
  • Daniel Atallah

    Daniel Atallah - 2004-01-21

    Logged In: YES
    user_id=325843

    The reason it is unable to delete the original message is
    because the IMAP protocol doesn't delete the messages from
    the server immediately, rather it marks the message to be
    deleted.

    In order to actually delete the message, you can add the
    following line to the end of the main while(1) loop.
    $IMAP -> expunge;

     

Log in to post a comment.