Re: True IMAP Trash Folder

2004-02-04 Thread Ilya Varlashkin
On Mon, Feb 02, 2004 at 11:42:37AM -0500, Louis LeBlanc wrote:
> > 
> > I understand now.  Thanks.  So do you know of a mail client that 
> > supports "Deleting Items" to a folder called "Trash" on the IMAP 
> > server?  Right now I have evolution and if I delete mail it puts it into 
> > a local trash folder, but I dont see an option to "Copy deleted mail to 
> > folder  on mail server" or something like that.
> 
> I use mutt with an imap server.  I've tied macros to specific keys
> that save messages to INBOX.trash, which effectively deletes them from
> the current folder.  I go to the .trash folder and use 'D' to clean it
> out on a regular basis, sometimes finding one or two that I didn't
> want to delete.  It requires folder hooks to change the underlying
> behavior for the 'd', '^d' and 'D' keys based on the current folder,
> but it works like a charm.
> 

Hi

Hope I'm not too late :-)

I'm using courier-imapd and have few users with whole bunch of various client
software on FreeBSD and Windows. Following lines in imapd config do magic:

IMAP_TRASHFOLDERNAME="Deleted Items"
MAP_EMPTYTRASH="Deleted Items":90,"Sent Items":365
IMAP_MOVE_EXPUNGE_TO_TRASH=1

This makes MS Outlook Express happy. For mutt client I just make symbolic
link "trash" -> "Deleted Items". Moreover, in case of mutt it's actually server
that moves messages to trash, and does this without any hooks or filters.

By the way, MSOE actually allows to specify names of both 'sent items' and
'deleted items' folders, but to avoid explaining Windows users how to do this
I just fix this on the server.

Just make sure you correctly specify namespace, otherwise your folders will
show up in the client either with dot in the front or/and as sub-folders of
your inbox (well, they're in fact, but I don't like that look). This actually
might be reason why your client stores Trash locally - it doesn't look for
it in proper place on the server because namespace specified incorrectly.

Hope this helps.

Kind regards,
Ilya Varlashkin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-03 Thread Jeff Gardner
Mozilla mail client does this.  It uses a Trash folder on the IMAP 
server.  However, there is no setting that I found which specifies where 
the Trash folder should be or what it is called.  It simply just works 
as expected.  I am using courier-imap for my imap and that is what I get 
here.

Jeff

Matt Juszczak wrote:
Gary wrote:

Gary,

Hi Matt,

On Mon, 02 Feb 2004 10:20:09 -0500 UTC (2/2/2004, 9:20 AM -0600 UTC my
time), Matt Juszczak wrote:
M> Does anyone know of a mail client that supports a true IMAP trash
M> folder?  Evolution doesn't, and so I use evolution on three different
M> machines and if I have deleted messages I have to check all three
M> machines sometimes to find it.
There is no trash folder in the IMAP protocol itself.. Removing mail is a
two step process, first of deleting it, and second of purging the deleted
mail.
 

I understand now.  Thanks.  So do you know of a mail client that 
supports "Deleting Items" to a folder called "Trash" on the IMAP 
server?  Right now I have evolution and if I delete mail it puts it into 
a local trash folder, but I dont see an option to "Copy deleted mail to 
folder  on mail server" or something like that.

Thanks!


--
Gary
TEAMWORK...means never having to take all the blame yourself.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
 



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-03 Thread Benjamin Lutz

> >I use mutt with an imap server.  I've tied macros to specific keys
> >that save messages to INBOX.trash, which effectively deletes them
> >from
> >the current folder.  I go to the .trash folder and use 'D' to clean
> >it
> >out on a regular basis, sometimes finding one or two that I didn't
> >want to delete.  It requires folder hooks to change the underlying
> >behavior for the 'd', '^d' and 'D' keys based on the current folder,
> >but it works like a charm.
> >
> >The mutt site documents how to do most of this, but if you like, I
> >can
> >dig up my macros for you.
> >
> >HTH
> >Lou
> >  
> >
> Lou,
> 
> I think I got it covered.  My new solution seems to work.  Thanks
> though!
> 
> -Matt

Maybe I can offer another way to do it. I use courier-imap as imap
server. It offers a configuration variable called
IMAP_MOVE_EXPUNGE_TO_TRASH. As the name implies, mails that are deleted
from non-trash folders (deleting = deleting + expunging) are moved to
the trash folder. In combination with IMAP_EMPTYTRASH=Trash:7, which
removes mails from the trash folder after 7 days, this solution is
comfortable, as long as the mail client has support for
deleting/expunging in one step (I use sylpheed with X, which does this
well, and mutt does it well enough too. I have not used evolution).
Basically I don't use the classical IMAP way of deleting mails (just
marking them with the "deleted" flag) at all.

- Benjamin


pgp0.pgp
Description: PGP signature


Re: True IMAP Trash Folder

2004-02-03 Thread Matt
Louis LeBlanc wrote:

On 02/02/04 10:27 AM, Matt Juszczak sat at the `puter and typed:
 

Gary wrote:

Gary,

   

Hi Matt,

On Mon, 02 Feb 2004 10:20:09 -0500 UTC (2/2/2004, 9:20 AM -0600 UTC my
time), Matt Juszczak wrote:
M> Does anyone know of a mail client that supports a true IMAP trash
M> folder?  Evolution doesn't, and so I use evolution on three different
M> machines and if I have deleted messages I have to check all three
M> machines sometimes to find it.
There is no trash folder in the IMAP protocol itself.. Removing mail is a
two step process, first of deleting it, and second of purging the deleted
mail.


 

I understand now.  Thanks.  So do you know of a mail client that 
supports "Deleting Items" to a folder called "Trash" on the IMAP 
server?  Right now I have evolution and if I delete mail it puts it into 
a local trash folder, but I dont see an option to "Copy deleted mail to 
folder  on mail server" or something like that.
   

I use mutt with an imap server.  I've tied macros to specific keys
that save messages to INBOX.trash, which effectively deletes them from
the current folder.  I go to the .trash folder and use 'D' to clean it
out on a regular basis, sometimes finding one or two that I didn't
want to delete.  It requires folder hooks to change the underlying
behavior for the 'd', '^d' and 'D' keys based on the current folder,
but it works like a charm.
The mutt site documents how to do most of this, but if you like, I can
dig up my macros for you.
HTH
Lou
 

Lou,

I think I got it covered.  My new solution seems to work.  Thanks though!

-Matt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-02 Thread Jonathan T. Sage
Oscar - well, as far as client, yes, you would need to sync them. But, 
if you filter on the server, it can be accomplished on without any 
client configuration.

Take a look at Mail::Audit.  I use it with imap-uw, and it works quite 
well.  I just filter mail into a couple seperate mboxs in my home dir, 
and off I go.

~j

Oscar Ricardo Silva wrote:
Which leads me to ask/comment/point out, a bit off topic perhaps ... if 
you do take the filter path, and are checking mail on different 
machines, perhaps with different applications and operating systems ... 
how do you sychronize your filters?  I believe there's not a centralized 
universal way of filtering messages.  Do you have create them on each 
app you use?

Oscar


--
"Yesterday upon the stair I saw a man
who wasn't there, he wasn't there
again today, oh how i wish he'd go away"
Rev. Jonathan T. Sage
Lighting / Set Designer
Professional Web Design
[HTTP://theatre.msu.edu]
[EMAIL PROTECTED]
[See Headers for Contact Info]


pgp0.pgp
Description: PGP signature


Re[2]: True IMAP Trash Folder

2004-02-02 Thread Oscar Ricardo Silva
At 09:33 AM 2/2/2004, you wrote:
Hi Matt,

On Mon, 02 Feb 2004 10:27:41 -0500 UTC (2/2/2004, 9:27 AM -0600 UTC my
time), Matt Juszczak wrote:
>>There is no trash folder in the IMAP protocol itself.. Removing mail is a
>>two step process, first of deleting it, and second of purging the deleted
>>mail.
>>
>>
>>
M> I understand now.  Thanks.  So do you know of a mail client that
M> supports "Deleting Items" to a folder called "Trash" on the IMAP
M> server?
No, because it is not part of the IMAP protocol.

M> Right now I have evolution and if I delete mail it puts it into
M> a local trash folder, but I dont see an option to "Copy deleted mail to
M> folder  on mail server" or something like that.
Right, not part of the protocol, so there would be no option for that. You
can either manually drag-N-drop deleted mail, before you purge it, to a new
folder you create on the server, called Trash, or whatever. Or... perhaps
you can set up a filter to move/copy deleted mail to your new Trash folder,
etc... this might work.


Which leads me to ask/comment/point out, a bit off topic perhaps ... if you 
do take the filter path, and are checking mail on different machines, 
perhaps with different applications and operating systems ... how do you 
sychronize your filters?  I believe there's not a centralized universal way 
of filtering messages.  Do you have create them on each app you use?

Oscar

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-02 Thread Louis LeBlanc
On 02/02/04 10:27 AM, Matt Juszczak sat at the `puter and typed:
> Gary wrote:
> 
> Gary,
> 
> >Hi Matt,
> >
> >On Mon, 02 Feb 2004 10:20:09 -0500 UTC (2/2/2004, 9:20 AM -0600 UTC my
> >time), Matt Juszczak wrote:
> >
> >M> Does anyone know of a mail client that supports a true IMAP trash
> >M> folder?  Evolution doesn't, and so I use evolution on three different
> >M> machines and if I have deleted messages I have to check all three
> >M> machines sometimes to find it.
> >
> >There is no trash folder in the IMAP protocol itself.. Removing mail is a
> >two step process, first of deleting it, and second of purging the deleted
> >mail.
> >
> >  
> >
> 
> I understand now.  Thanks.  So do you know of a mail client that 
> supports "Deleting Items" to a folder called "Trash" on the IMAP 
> server?  Right now I have evolution and if I delete mail it puts it into 
> a local trash folder, but I dont see an option to "Copy deleted mail to 
> folder  on mail server" or something like that.

I use mutt with an imap server.  I've tied macros to specific keys
that save messages to INBOX.trash, which effectively deletes them from
the current folder.  I go to the .trash folder and use 'D' to clean it
out on a regular basis, sometimes finding one or two that I didn't
want to delete.  It requires folder hooks to change the underlying
behavior for the 'd', '^d' and 'D' keys based on the current folder,
but it works like a charm.

The mutt site documents how to do most of this, but if you like, I can
dig up my macros for you.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

The universe does not have laws -- it has habits, and habits can be broken.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: True IMAP Trash Folder

2004-02-02 Thread Gary
Hi Matt,

On Mon, 02 Feb 2004 10:27:41 -0500 UTC (2/2/2004, 9:27 AM -0600 UTC my
time), Matt Juszczak wrote:

>>There is no trash folder in the IMAP protocol itself.. Removing mail is a
>>two step process, first of deleting it, and second of purging the deleted
>>mail.
>>
>>  
>>

M> I understand now.  Thanks.  So do you know of a mail client that 
M> supports "Deleting Items" to a folder called "Trash" on the IMAP 
M> server?

No, because it is not part of the IMAP protocol.

M> Right now I have evolution and if I delete mail it puts it into 
M> a local trash folder, but I dont see an option to "Copy deleted mail to 
M> folder  on mail server" or something like that.

Right, not part of the protocol, so there would be no option for that. You
can either manually drag-N-drop deleted mail, before you purge it, to a new
folder you create on the server, called Trash, or whatever. Or... perhaps
you can set up a filter to move/copy deleted mail to your new Trash folder,
etc... this might work.


--
Gary

Department of Redundancy Department.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-02 Thread Doug Poland
Matt Juszczak wrote:

Does anyone know of a mail client that supports a true IMAP trash
folder?  
>>>
There is no trash folder in the IMAP protocol itself.. Removing mail is a
two step process, first of deleting it, and second of purging the deleted
mail.
I understand now.  Thanks.  So do you know of a mail client that 
supports "Deleting Items" to a folder called "Trash" on the IMAP 
server?  Right now I have evolution and if I delete mail it puts it into 
a local trash folder, but I dont see an option to "Copy deleted mail to 
folder  on mail server" or something like that.

I believe the Mozilla mail client (perhaps Thunderbird too) does what
you want.
--
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-02 Thread Matt Juszczak
Gary wrote:

Gary,

Hi Matt,

On Mon, 02 Feb 2004 10:20:09 -0500 UTC (2/2/2004, 9:20 AM -0600 UTC my
time), Matt Juszczak wrote:
M> Does anyone know of a mail client that supports a true IMAP trash
M> folder?  Evolution doesn't, and so I use evolution on three different
M> machines and if I have deleted messages I have to check all three
M> machines sometimes to find it.
There is no trash folder in the IMAP protocol itself.. Removing mail is a
two step process, first of deleting it, and second of purging the deleted
mail.
 

I understand now.  Thanks.  So do you know of a mail client that 
supports "Deleting Items" to a folder called "Trash" on the IMAP 
server?  Right now I have evolution and if I delete mail it puts it into 
a local trash folder, but I dont see an option to "Copy deleted mail to 
folder  on mail server" or something like that.

Thanks!


--
Gary
TEAMWORK...means never having to take all the blame yourself.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: True IMAP Trash Folder

2004-02-02 Thread Gary
Hi Matt,

On Mon, 02 Feb 2004 10:20:09 -0500 UTC (2/2/2004, 9:20 AM -0600 UTC my
time), Matt Juszczak wrote:

M> Does anyone know of a mail client that supports a true IMAP trash
M> folder?  Evolution doesn't, and so I use evolution on three different
M> machines and if I have deleted messages I have to check all three
M> machines sometimes to find it.

There is no trash folder in the IMAP protocol itself.. Removing mail is a
two step process, first of deleting it, and second of purging the deleted
mail.

--
Gary

TEAMWORK...means never having to take all the blame yourself.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


True IMAP Trash Folder

2004-02-02 Thread Matt Juszczak
Does anyone know of a mail client that supports a true IMAP trash
folder?  Evolution doesn't, and so I use evolution on three different
machines and if I have deleted messages I have to check all three
machines sometimes to find it.

Thanks!

-Matt

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"