[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mutt config [Was: Re: [OT] Setting up getmail to retrieve mails from gmail]



On Mon,28.Jul.08, 23:50:39, Arvind Marathe wrote:
> On Mon, Jul 28, 2008 at 08:24:18PM +0300, Andrei Popescu wrote:
> > On Mon,28.Jul.08, 22:45:54, Arvind Marathe wrote:
>                 [...snip...] 
> > > I don't see the point in having two copies of
> > > my own mail, so i was asking whether other users do any special
> > > settings, so that one mail is automatically deleted.
> >  
> > I think 'unset copy' in your muttrc will do what you want. Personally I 
> > don't mind having another copy in the sent folder.
> 
> Thanks - will investigate. I was under the impression it does not save
> copy of any email i sent. I was thinking more in terms of auto-deleting
> mails sent specifically to mailing lists, i am subscribed to - some
> sort of hook. Or more sophisticatedly, deleting the sent-mail copy,
> once the mailing list copy arrives. One thing i can think of is to
> save the "sent-mail" copy in the debian-user folder and write a script
> to do a periodic 'D ~='. Will try it sometime, unless somebody has a
> better suggestion.
 
I think a send_hook will do what you want. Something like:

send-hook . set copy
send-hook ~tdebian-user unset copy

but you probably need to refine it a bit more.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: