Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Pete Biggs

> > 
> > still wondering about this -- there doesn't seem to be a column
> > available that gives the "forwarded" status marker -- the way e.g. one
> > sees and 'F' in mutt after something's been forwarded.  am i missing
> > this?
> sorry -- it took some digging
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=534312
> 

Strangely, I had assumed that what was wanted was a flag at the
"receiving" end that the message that had been received was forwarded
from elsewhere.  What you are talking about it is an indication in the
forwarding account that the mail was forwarded to elsewhere.

I presume you got it right, and I was mistaken?

P.



___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Reid Thompson
Matt Price wrote:
> On Thu, Oct 9, 2008 at 8:22 AM, Reid Thompson <[EMAIL PROTECTED]> wrote:
>> Matt Price wrote:
>>> On Wed, Oct 8, 2008 at 12:42 PM, Reid Thompson wrote:
 Matt Price wrote:
> Is there a way to get evolution to display that a message has been
> forwarded?
 you'll need to give the version of evo you're on -- pretty sure there was 
 a bug re this that has been fixed.
>>> evo 2.22.3.1 -- not 2.24 yet...
>>>
> 
> still wondering about this -- there doesn't seem to be a column
> available that gives the "forwarded" status marker -- the way e.g. one
> sees and 'F' in mutt after something's been forwarded.  am i missing
> this?
sorry -- it took some digging

http://bugzilla.gnome.org/show_bug.cgi?id=534312

also see attachment...
>From [EMAIL PROTECTED] Mon Jun  2 04:05:51 2008
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: evolution-list@gnome.org
Delivered-To: evolution-list@gnome.org
Received: from localhost (localhost.localdomain [127.0.0.1]) by
 menubar.gnome.org (Postfix) with ESMTP id 35D9875025E for
 ; Mon,  2 Jun 2008 04:05:51 + (GMT)
X-Virus-Scanned: by amavisd-new at gnome.org
X-Spam-Flag: NO
X-Spam-Score: -1.799
X-Spam-Level: 
X-Spam-Status: No, score=-1.799 tagged_above=-999 required=2
 tests=[BAYES_00=-2.599, L_P0F_UNKN=0.8]
X-Amavis-OS-Fingerprint: UNKNOWN [S5:43:1:52:M8130,N,W0,N,N,S:.:?:?],
 (link: unknown-8170), [61.9.189.152]
Received: from menubar.gnome.org ([127.0.0.1]) by localhost
 (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id
 OxEoQ6v9t7z4 for ; Mon,  2 Jun 2008 04:05:44
 + (GMT)
Received: from nschwmtas06p.mx.bigpond.com (nschwmtas06p.mx.bigpond.com
 [61.9.189.152]) by menubar.gnome.org (Postfix) with ESMTP id E0F7075016D
 for ; Mon,  2 Jun 2008 04:05:43 + (GMT)
Received: from nschwotgx03p.mx.bigpond.com ([124.191.2.23]) by
 nschwmtas06p.mx.bigpond.com with ESMTP id
 <[EMAIL PROTECTED]>
 for ; Mon, 2 Jun 2008 04:05:41 +
Received: from [192.168.0.71] (really [124.191.2.23]) by
 nschwotgx03p.mx.bigpond.com with ESMTP id
 <[EMAIL PROTECTED]> for
 ; Mon, 2 Jun 2008 04:05:40 +
From: Andrew Greig <[EMAIL PROTECTED]>
To: evolution-list@gnome.org
Content-Type: text/plain
Date: Mon, 02 Jun 2008 14:05:40 +1000
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.0-4mdv2008.1 
X-Authentication-Info: Submitted using SMTP AUTH PLAIN at
 nschwotgx03p.mx.bigpond.com from [124.191.2.23] using ID
 [EMAIL PROTECTED] at Mon, 2 Jun 2008 04:05:40 +
X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID
 str=0001.0A150201.48437195.0087,ss=1,fgs=0
X-Mailman-Approved-At: Tue, 03 Jun 2008 12:15:28 +
Subject: [Evolution] [Fwd: [Bug 534312] Forwarded mail is not signified in
 LH column. Needs envelope with right arrow]
X-BeenThere: evolution-list@gnome.org
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: 
List-Unsubscribe: ,
 
List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: ,
 
X-List-Received-Date: Mon, 02 Jun 2008 04:05:51 -
Content-Transfer-Encoding: 8bit

Hi List,

Here is the announcement re the forwarded mail indication, recently
discussed.

This is great news, and quickly done!

Thank you linesmen, thank you ball-boys!

Andrew Greig


 Forwarded Message 
From: Evolution (bugzilla.gnome.org)
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Bug 534312] Forwarded mail is not signified in LH column.
Nreeds envelope with right arrow
Date: Mon, 2 Jun 2008 03:47:50 + (UTC)

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=534312

  Evolution | Mailer | Ver: 2.23.x

Srinivasa Ragavan changed:

   What|Removed |Added

 Attachment #111749|none|accepted-commit_now
   Flag||
 Attachment #111750|none|accepted-commit_now
   Flag||

--- Comment #11 from Srinivasa Ragavan  2008-06-02 03:47 UTC ---
** Time out **

Milan, your patch design seems fine. Im approving it. Please test it well and
commit it.


___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Pete Biggs

> >
> > thanks ot both of you for that.  i suppose i could get mutt to do this
> > --  say, parse the em in python, then feed it back to mutt --  but
> > better for me would be if i could pipe it back to evolution & have the
> > original em marked as forwarded.

If the account to which you are forwarding is also in Evo, then just use
the filters to move the email to the new account within Evo - you don't
need to invoke an external agent.  The only reason to go external is if
you are forwarding to someone else.

If you then want to highlight the messages, just set the colour as part
of the filter command (after they've been moved).

>   the command line seems a little
> > clunky -- if i'm forwarding the whole message, it will get very long,
> > and if there are quotes in there i imagine i'd be likely to run into
> > syntax errors.

The message isn't put on to the command line, it is piped to the
command.

P.

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Matt Price
On Thu, Oct 9, 2008 at 8:22 AM, Reid Thompson <[EMAIL PROTECTED]> wrote:
> Matt Price wrote:
>> On Wed, Oct 8, 2008 at 12:42 PM, Reid Thompson wrote:
>>> Matt Price wrote:
 Is there a way to get evolution to display that a message has been
 forwarded?
>>> you'll need to give the version of evo you're on -- pretty sure there was a 
>>> bug re this that has been fixed.
>>
>> evo 2.22.3.1 -- not 2.24 yet...
>>

still wondering about this -- there doesn't seem to be a column
available that gives the "forwarded" status marker -- the way e.g. one
sees and 'F' in mutt after something's been forwarded.  am i missing
this?

 ps -- even BETTER would be a script that could automate forwarding
 when certian keywords are detected -- this is something i might be
 able to do with procmail or something, but i have no idea how to do it
 with evolution.  i'd welcome any tips  t
>>>
>>> you can use evo filters to do this -- I think there was a previous 
>>> discussion about using pipe to program -- where program is a
>>> script that does the forwarding using 
>>> mutt/mail/mailx/sendmail/python/ruby/perl to do the forwarding.
>>>
>>
>> thanks ot both of you for that.  i suppose i could get mutt to do this
>> --  say, parse the em in python, then feed it back to mutt --  but
>> better for me would be if i could pipe it back to evolution & have the
>> original em marked as forwarded.
>
> Hmmm, the filter options do not offer setting status to forwarded, but, you 
> could create a new label identifying 'processed' emails
> and mark the forwarded emails with said label, or assign them a color, or 
> move them to a 'forwarded' folder, etc

ah, neat.

>> the command line seems a little
>> clunky -- if i'm forwarding the whole message, it will get very long,
>> and if there are quotes in there i imagine i'd be likely to run into
>> syntax errors.
>
> command line should not come into play..
> see attachment ( similar processing should be available via python/other 
> scripting languages ).
>> can i address evolution-data-server directly somehow,
>> either from the shell or from a scripting language like python?
>
> i don't know the answer to this one, perhaps someone else will respond
>> i only really understand python but i cna fake it in other languages
>> when i have to.  appreciate any and all suggestions!  thanks,
>> matt
>
>
>
> #!/usr/bin/ruby
>
> require 'rubygems'
> require 'tmail'
> require 'net/smtp'
>
> # setup to & from
> #
> tomail = '[EMAIL PROTECTED]'
> frommail = '[EMAIL PROTECTED]'
>
> # read in mail from pipe
> #
> forwarded_mail = TMail::Mail.parse($stdin.read)
>
> # grab the original sender
> # strip the domain from original sender address
> #
> sender = forwarded_mail.from
> idx = sender[0].index('@')
> sender[0].slice!(idx.to_i..sender[0].length)
>
> # grab the send date
> #
> senddate = forwarded_mail.date
>
> # populate the new header information
> #
> forwarded_mail.to = tomail
> forwarded_mail.from = frommail
> newsubject = "FW: " + forwarded_mail.subject.to_s
> forwarded_mail.subject = newsubject
> forwarded_mail.date = Time.now
>
> # setup the new mail body
> #
> forwarded_mail.body = "On #{senddate} #{sender} said \n\n" + 
> forwarded_mail.body
>
> # send the mail
> #
> Net::SMTP.start( 'your_mail.host.com', 25 ) do|smtpclient|
>smtpclient.send_message(
>forwarded_mail.to_s,
>frommail,
>tomail
>)
> end
>
>
this is great.  if you wanted to have a chance to edit the message
before it was forwarded, how would you do it?  my thought was to
filter it through either mutt or evo rather that using a built-in smtp
module -- that's why i brought up the command line.  so instead of
this last stanza you would have (sorry, i've never used ruby)
something like:

os.system('echo ' + forwarded_mail.body + '| mutt -s "' + newsubject +
'" ' + tomail)

(htat's not quite right, but i htink i could figure out how to do it properly)

anyway io'd lovet o just do that bit through evo, so that the record
would be inside evo...

m
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Matt Price
accidentally sent this directly to ried, sorry for the repeats...

m

On Thu, Oct 9, 2008 at 12:45 AM, Matt Price <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 8, 2008 at 12:42 PM, Reid Thompson <[EMAIL PROTECTED]> wrote:
>> Matt Price wrote:
>>> Is there a way to get evolution to display that a message has been
>>> forwarded?
>> you'll need to give the version of evo you're on -- pretty sure there was a 
>> bug re this that has been fixed.
>
> evo 2.22.3.1 -- not 2.24 yet...
>
>>>
>>> matt
>>>
>>> ps -- even BETTER would be a script that could automate forwarding
>>> when certian keywords are detected -- this is something i might be
>>> able to do with procmail or something, but i have no idea how to do it
>>> with evolution.  i'd welcome any tips  t
>>
>>
>> you can use evo filters to do this -- I think there was a previous 
>> discussion about using pipe to program -- where program is a
>> script that does the forwarding using 
>> mutt/mail/mailx/sendmail/python/ruby/perl to do the forwarding.
>>
>
> thanks ot both of you for that.  i suppose i could get mutt to do this
> --  say, parse the em in python, then feed it back to mutt --  but
> better for me would be if i could pipe it back to evolution & have the
> original em marked as forwarded.  the command line seems a little
> clunky -- if i'm forwarding the whole message, it will get very long,
> and if there are quotes in there i imagine i'd be likely to run into
> syntax errors.  can i address evolution-data-server directly somehow,
> either from the shell or from a scripting language like python?  i
> only really understand python but i cna fake it in other languages
> when i have to.  appreciate any and all suggestions!  thanks,
> matt
>
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-09 Thread Reid Thompson
Matt Price wrote:
> On Wed, Oct 8, 2008 at 12:42 PM, Reid Thompson wrote:
>> Matt Price wrote:
>>> Is there a way to get evolution to display that a message has been
>>> forwarded?
>> you'll need to give the version of evo you're on -- pretty sure there was a 
>> bug re this that has been fixed.
> 
> evo 2.22.3.1 -- not 2.24 yet...
> 
>>> matt
>>>
>>> ps -- even BETTER would be a script that could automate forwarding
>>> when certian keywords are detected -- this is something i might be
>>> able to do with procmail or something, but i have no idea how to do it
>>> with evolution.  i'd welcome any tips  t
>>
>> you can use evo filters to do this -- I think there was a previous 
>> discussion about using pipe to program -- where program is a
>> script that does the forwarding using 
>> mutt/mail/mailx/sendmail/python/ruby/perl to do the forwarding.
>>
> 
> thanks ot both of you for that.  i suppose i could get mutt to do this
> --  say, parse the em in python, then feed it back to mutt --  but
> better for me would be if i could pipe it back to evolution & have the
> original em marked as forwarded.  

Hmmm, the filter options do not offer setting status to forwarded, but, you 
could create a new label identifying 'processed' emails
and mark the forwarded emails with said label, or assign them a color, or move 
them to a 'forwarded' folder, etc
> the command line seems a little
> clunky -- if i'm forwarding the whole message, it will get very long,
> and if there are quotes in there i imagine i'd be likely to run into
> syntax errors.  

command line should not come into play..
see attachment ( similar processing should be available via python/other 
scripting languages ).
> can i address evolution-data-server directly somehow,
> either from the shell or from a scripting language like python?

i don't know the answer to this one, perhaps someone else will respond
> i only really understand python but i cna fake it in other languages
> when i have to.  appreciate any and all suggestions!  thanks,
> matt


#!/usr/bin/ruby

require 'rubygems'
require 'tmail'
require 'net/smtp'

# setup to & from
#
tomail = '[EMAIL PROTECTED]'
frommail = '[EMAIL PROTECTED]'

# read in mail from pipe
#
forwarded_mail = TMail::Mail.parse($stdin.read)

# grab the original sender
# strip the domain from original sender address
#
sender = forwarded_mail.from
idx = sender[0].index('@')
sender[0].slice!(idx.to_i..sender[0].length)

# grab the send date
#
senddate = forwarded_mail.date

# populate the new header information
#
forwarded_mail.to = tomail
forwarded_mail.from = frommail
newsubject = "FW: " + forwarded_mail.subject.to_s
forwarded_mail.subject = newsubject
forwarded_mail.date = Time.now

# setup the new mail body
#
forwarded_mail.body = "On #{senddate} #{sender} said \n\n" + forwarded_mail.body

# send the mail
#
Net::SMTP.start( 'your_mail.host.com', 25 ) do|smtpclient|
smtpclient.send_message(
forwarded_mail.to_s,
frommail,
tomail
)
end
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-08 Thread Reid Thompson
Matt Price wrote:
> Is there a way to get evolution to display that a message has been
> forwarded?  
you'll need to give the version of evo you're on -- pretty sure there was a bug 
re this that has been fixed.
> 
> matt
> 
> ps -- even BETTER would be a script that could automate forwarding
> when certian keywords are detected -- this is something i might be
> able to do with procmail or something, but i have no idea how to do it
> with evolution.  i'd welcome any tips  t


you can use evo filters to do this -- I think there was a previous discussion 
about using pipe to program -- where program is a
script that does the forwarding using mutt/mail/mailx/sendmail/python/ruby/perl 
to do the forwarding.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] view "forwarded" status?

2008-10-08 Thread Pete Biggs
On Wed, 2008-10-08 at 11:17 -0400, Matt Price wrote:
> Is there a way to get evolution to display that a message has been
> forwarded?  i'm currently on a project where i need to forward a whole
> bunch of mail and the task would be easier if i could see right away
> that the forwarding has taken place.
> 

Try displaying the 'recipients' header - that should show who the
original recipient was.

> 
> ps -- even BETTER would be a script that could automate forwarding
> when certian keywords are detected -- this is something i might be
> able to do with procmail or something, but i have no idea how to do it
> with evolution.  i'd welcome any tips  t
> 

Within Evo you can filter on different criteria including message body
contents, then you can set it to pipe the message to a program - that
program can be a script that does the forwarding.

P.

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list