How to move mails to trash on the server after deleting them in sup?
133 views
Skip to first unread message
Siwen Yu
unread,
Jun 23, 2015, 4:38:16 AM6/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sup...@googlegroups.com
I've recently switched to SUP from MUTT.
I've followed the 'Complete gmail configuration' wiki post and set my gmail account with offlineimap & sup successfully. But when I delete some mails in the INDEX view with 'd' key, they just disappeared but still on the server. After flushing changes and polling manually, they were still there. How could I move them to the Trash on the server after deleting them in sup?
ps. My sup & offlineimap setting is the same as the wiki post.
Thanks.
Gaute Hope
unread,
Jun 23, 2015, 4:52:02 AM6/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Siwen Yu, sup...@googlegroups.com
Siwen Yu writes on June 23, 2015 10:38:
Hi,
sup does not do this for you. It can probably be best done with an
addon-script that loops over deleted messages, or a script that looks
for the trash (T) flag (if you have maildir-syncback enabled).
Maybe what you want to achieve is actually to add the trash flag? In
that case check out maildir-syncback in the wiki [0].
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gaute Hope, sup...@googlegroups.com
Thanks a lot.
--
________________________________ 余斯文
q.sha...@gmail.com
unread,
Oct 11, 2015, 9:37:07 AM10/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The Sup email client
Hi, has anyone successfully implemented this? Somehow the mail needs to get moved to the IMAP "[Gmail]/Trash" folder when it is deleted, but sup does not sync labels, so I'm not sure how to do that. Maybe it would be possible to sync the trash folder using offlineimap, and then have some sort of hook in sup that moved the actual mail file from the "archive" to the "trash" folder in the maildir? with a config like this: