Mess with Trash
law_ence.dev at ntlworld.com
Sat Mar 12 11:00:32 GMT 2011
On Sat, Mar 12, 2011 at 10:42:48AM +0300, Ivan Semin wrote:
> local dovecot accounts (to avoid gmail banning me for bandwidth limit,
> as we have up to 10 people working with each account simultaneously).
> I have the following in config:
> type = Gmail
> remotehost = imap.gmail.com
> remoteuser = something
> remotepass = somethingelse
> remoteport = 993
> ssl = yes
> maxconnections = 1
> realdelete = no
> nametrans = lambda folder: re.sub('.*Trash$', 'Trash', folder)
> folderfilter = lambda foldername: foldername not in ['[Gmail]/All
> Mail','[Gmail]/Sent Messages','[Gmail]/Starred']
I am forced to use gmail because my isp has contracted out email to them
Surely you need realdelete =yes.
And why not
folderfilter = lambda foldername: foldername not in ['[Gmail]/Trash'] ?
That way you just ignore all the gmail duplication unless you really
want to remove junk from their servers. They probably keep copies anyway
for legal reasons, so whether that has any real effect, who knows?
More information about the OfflineIMAP-project