chmod +x .signature [u...@panther ~]$ ls -al .signature -rwxrwxr-x 1 user user 804 2009-08-11 16:43 .signature
[u...@panther ~]$ cat .signature #!/bin/bash echo "Paul Grinberg" echo "PGP key: 0xE3175CCF" echo "" echo "Fortune Cookie:" fortune -s wisdom echo "" [u...@panther ~]$ cat .muttrc | grep sig set sig_on_top=yes set signature="~/.signature |" To install fortune cookies: yum install fortune-mod Best, Paul -----Original Message----- From: owner-mutt-us...@mutt.org [mailto:owner-mutt-us...@mutt.org] On Behalf Of Jan-Herbert Damm Sent: Wednesday, August 12, 2009 5:02 AM To: mutt-users@mutt.org Subject: signature-scripts Hello all, Forgive me if this is slightly OT (replies off list welcome): I know that there are several people on this list (Kyle for one) that use scripts to add signatures dynamically. Learning programming makes me think signature-scripting could be a nice homework. I have googled for signature-scripts but with unsatisfying results. One idea i had: execute "fortune" and writing the output into a ".signature" file, which then gets used for mails. Are there other/smarter approaches? What other/better "signature-resources" could be used? Thanks. jan