Re: Keeping two copies of sent messages
- To: mutt-users@xxxxxxxx
- Subject: Re: Keeping two copies of sent messages
- From: mimosinnet@xxxxxxxxx
- Date: Wed, 3 Sep 2008 02:13:04 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:from; bh=rvw4g56SznxAdxBEPDmN9HrwMcQzpf6qTqjAeR+J9hs=; b=KbdoHD5aopa/dXwJbDEQ0NiAqLjjogPcI2uVvBaF6SC0vC0U7AZjdTV+kXJrJTxNmo Legy7k9loGi7W3LcouKbsOKlLvt+c5FMAtgNarGiLem4y46wxyddsLiqWy3fvfvcpEne 68+5dzxmv4UHyEZz+Ue6LBq8WvsOTa2gZI0T8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:from; b=mKFAlBmQFZy52b9TacjpkN+lBEdAy7mppDaCWXJ2U2LKQeMgZJOAeGGcGOgMegmerA NqWd0q1/AHDfHavIwTj4M6GwPo+Xuq/Rr358Vu/ow+SC668ii10ZusU7kSw46VhaR3WY x+8spyr5CKIQ7br+rblUbQmv1Lsue7IpqIjUo=
- In-reply-to: <20080901145229.GD10851@xxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20080828132214.GB16708@xxxxxxxxxxxxxxxxxxxxxxxxx> <20080901041806.GA465@xxxxxxxxxxxxxxx> <20080901145229.GD10851@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: "mutt-users@xxxxxxxx"@localhost
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
El dijous, 28 de agost del 2008 a les 15:22, Rado S va escriure:
> =- mimosinnet@xxxxxxxxx wrote on Wed 27.Aug'08 at 21:50:51 +0200 -=
> > Is it possible to save two copies of sent messages?
>
> Currently: no.
> As workaround you might hack your $sendmail to be a script which
> does what you want before passing the content to the real
> sendmail-binary. Take care of locking, since mutt doesn't care for
> what sendmail does to folders.
El dilluns, 01 de setembre del 2008 a les 14:18, Cameron Simpson va escriure:
> Another alternative, just as tricky, is to have mutt save to a "spool-out"
> folder. Another process watches the spool-out folder for new messages and
> files they according to whatever arcane scheme you desire.
El dilluns, 01 de setembre del 2008 a les 16:52, Vincent van Leeuwen va
escriure:
> If you use \/ in a regular expression then procmail will put
> everything that matches the regex after the \/ in $MATCH, which you can then
> use in a delivery line. Not saying the OP should use this method, but
> procmail
> is definitely capable of performing this task.
>
> Something like this would work (untested and you probably want to extend it
> quite a bit, but you get the idea):
>
> :0
> * ^To:\s*\/.*$
> saved-mail/$MATCH/
Thanks very much for the ideas. I am still mentally trapped in the idea that
mutt
has to do everything instead of integrating mutt with different tools. I
now understand the multiple potentialities of mutt.
>From what I understood, it would be possible:
(a) to direct the "$sendmail" variable to a script that includes
procmail as a mail filter.
(b) mutt saves all mail to the same folder and procmail (from a cron
job, for example) processes the mail in that folder.
You have given me many options to work on :-) Much grateful!
Cheers!
--
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211