[Users] Problem processing action

Pierre Fortin pf at pfortin.com
Sun Mar 24 07:04:50 CET 2013


On Sun, 24 Mar 2013 01:56:32 -0400 Pierre Fortin wrote:

>On Sat, 23 Mar 2013 16:21:33 -0700 sylpheed at 911networks.com wrote:
>
>>How can I extract the "reply to:" from the original email to pass it
>>to my bash file?
>
>Simplistic & brute force; but this will get it:

Argh! Replied too fast...

>filter:    execute /home/froggy/smtp-cli-keywords.sh '%F'

            execute "/home/froggy/smtp-cli-keywords.sh '%F'"
>
>/home/froggy/smtp-cli-keywords.sh:
>....
>REPLYTO=($(cat "$1" | grep "Reply-To: "))

REPLYTO=($(grep "Reply-To: " "$1"))      # cat not necessary

>echo ${REPLYTO[1]}
>....
>
>
>The parens are important.
>
>HTH,
>Pierre
>_______________________________________________
>Users mailing list
>Users at lists.claws-mail.org
>http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list