procmail
[Top] [All Lists]

Re: Data-carrying header lines, like X-Face

1998-03-02 15:09:58
Excerpts from mail: (02-Mar-98) Re: Data-carrying header lines, like X-Face by 
psmith 
By the way -- your recipe appears to invoke the display app (xv) upon
receipt of the mail (neat).  But what happens when you receive mail while
you aren't logged in and no X session exists to open the image in?
Does it just die quietly?

It'll die, but probably not very quietly.

What if you were cloning the message for processing by subsequent recipes
-- would they ever be reached or would the parent procmail process die as a
result of the failed xv display action?

Ah, good point. You'd want to add a "c" flag to that recipe if you were
actually going to use it.

Anyway, I don't advise anyone to actually use the receipe I posted. It's just
that you asked for how to do it on the procmail mailing list, so I felt
obligated to post a procmail solution; othewise, my post would have been
off-topic. Really, you want your MUA to display the X-Face when you actually
go to read an e-mail which has an X-Face: header. Having your MDA display it
when the message is being delivered is a little weird. Various Emacs and
XEmacs mail readers do this. I don't know of any others, but I'm sure some
others probably do.

Later,
Ed

<Prev in Thread] Current Thread [Next in Thread>