Writing directly to email

François LECOLIER lecolier at xandmail.com
Thu Apr 29 09:49:43 EDT 2004


Hi,
I made a little test on my machine modifying a mail using vim, when I then
read the message from my mail client it appears unchanged.

Then I used reconstruct on the mailbox and the text I added to the message
appeared in my mail client.

regards
françois

> Theoretically that would work, but unfortunately every client cdoes
> things differently - especially caching.  Therefore any "nonstandard"
> behavior is likely to cause different results for different clients.
> 
> -Brenden
> 
> On Wed, 2004-04-28 at 20:32, Eli Cantu wrote:
> > Quoting noel at rescommunes.ca:
> > 
> > > I was wondering if it was at all possible to pipe text form something like
> > > logging into an email file with out screwing things up for Cyrus.
> > >
> > > For example, say i have a crown tab that appends new mail.err data to the
> > > file /var/spool/imap/m/user/me/1. with just simple stdout redirection >>.
> > >
> > 
> > 
> > I just tried it on a message in my Trash directory. I appended using >>
> > 
> > I did not see the additional text I appended when I checked the message. 
I then
> > opened up the file in vi. I can see the appended text, it just doesn't show up
> > in the mail client (imp). So I added two '^M's at the bottom, just as there
> > originally was. Still no luck.  I deleted the message, and it deleted
normally.
> > 
> > hmmmm.
> > 
> > e
> > 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > 
> > ---
> > Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> -- 
> Brenden Conte
> System Programmer, C&CT
> Rensselaer Polytechnic Institute
> (518)276-2540
> 
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> 


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list