[opensuse] Kmail and taglines
Is there a way that one can readily include randomized taglines in messages sent with Km ail? -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 January 2008 13:20, Stan Goodman wrote:
Is there a way that one can readily include randomized taglines in messages sent with Kmail?
KMail filters can be designated to act on outgoing messages only. Additionally, KMail filters can subject a message to processing through an external filter program. With these two features, one can easily adorn each outgoing message (including those that go only to certain lists) with a signature trailer synthesized by an arbitrary program or script. Such a script could be as simple as this: -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc cat echo '-- ' fortune -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- Now, I'll admit I'd never tried this before, so I gave it a shot using that exact script. Unfortunately, I found that while the message left in the "sent-mail" folder was modified as intended, the message sent was not! If someone out there knows a way around this, please let us know.
-- Stan Goodman
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 27 January 2008 00:40:49 Randall R Schulz wrote:
On Saturday 26 January 2008 13:20, Stan Goodman wrote:
Is there a way that one can readily include randomized taglines in messages sent with Kmail?
KMail filters can be designated to act on outgoing messages only. Additionally, KMail filters can subject a message to processing through an external filter program. With these two features, one can easily adorn each outgoing message (including those that go only to certain lists) with a signature trailer synthesized by an arbitrary program or script.
Such a script could be as simple as this:
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc
cat echo '-- ' fortune -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Now, I'll admit I'd never tried this before, so I gave it a shot using that exact script. Unfortunately, I found that while the message left in the "sent-mail" folder was modified as intended, the message sent was not!
If someone out there knows a way around this, please let us know.
-- Stan Goodman
Randall Schulz
Surprising. The need is general enough that it shouldn't be necessary for everyone to invent the same wheel. Most mailer programs in the world have such an option built in. Is there another mailer in Linux that can do this? Or an add-on? I did look for one, but found nothing encouraging. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sat, 26 Jan 2008, by stan.goodman@hashkedim.com:
Is there a way that one can readily include randomized taglines in messages sent with Km ail?
http://www.xs4all.nl/~chtvanw/pics/Screenshot-2.png Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.3 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.22 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 27 January 2008 12:01:12 Theo v. Werkhoven wrote:
Sat, 26 Jan 2008, by stan.goodman@hashkedim.com:
Is there a way that one can readily include randomized taglines in messages sent with Km ail?
http://www.xs4all.nl/~chtvanw/pics/Screenshot-2.png
Theo
Excellent evidence that the developers of Kmail have indeed done half the job, and then gone on to more interesting things. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 27 January 2008 04:59, Stan Goodman wrote:
On Sunday 27 January 2008 12:01:12 Theo v. Werkhoven wrote:
Sat, 26 Jan 2008, by stan.goodman@hashkedim.com:
Is there a way that one can readily include randomized taglines in messages sent with Km ail?
http://www.xs4all.nl/~chtvanw/pics/Screenshot-2.png
Theo
Excellent evidence that the developers of Kmail have indeed done half the job, and then gone on to more interesting things.
What do you mean? What more do you want? Surely you don't want the programmers to decide what signature to append. Just stick "fortune" in that field. Run it from a shell a few times to see if the messages it prints are to your taste.
-- Stan Goodman
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 27 January 2008 02:01, Theo v. Werkhoven wrote:
Sat, 26 Jan 2008, by stan.goodman@hashkedim.com:
Is there a way that one can readily include randomized taglines in messages sent with Km ail?
D'Oh! Now that I see that, I remember seeing it before, but it never interested me and, I guess, never really stuck in my mind. I looked again at the filter configuration. I think there's a hint to why what suggested won't work—it says: "Apply this filter to sent messages." Clearly this means to messages _that have been sent_, not to those that are about to be sent.
Theo
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Randall R Schulz
-
Stan Goodman
-
Theo v. Werkhoven