From 51f7b75c48bf5a8607d6ccf2987445f1cf4d64d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Thu, 29 Sep 2016 00:01:33 +0200 Subject: [PATCH] add filename to curl command --- conversations/post-mail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conversations/post-mail.sh b/conversations/post-mail.sh index edf3154..3b04715 100755 --- a/conversations/post-mail.sh +++ b/conversations/post-mail.sh @@ -7,4 +7,4 @@ # reply: "|/path/to/post-mail.sh mykey@https://example.org/conversations/recv/ # don't forget to run postalias and to add the alias file to main.cf under alias_map. -curl ${@#*\@} -F key=${@%\@*} -F "email=@-" +curl ${@#*\@} -F key=${@%\@*} -F "email=@-;filename=email.txt"