]> gitweb.fluxo.info Git - firma.git/commitdiff
primeiro teste com sendmail
authorrhatto <rhatto>
Sun, 7 Aug 2005 15:12:44 +0000 (15:12 +0000)
committerrhatto <rhatto>
Sun, 7 Aug 2005 15:12:44 +0000 (15:12 +0000)
firma

diff --git a/firma b/firma
index 6326362b96b18ecd335db9a4c8350599e537abf0..72150ed937a6e7781fbcea56be17115af0eb8a40 100755 (executable)
--- a/firma
+++ b/firma
@@ -42,7 +42,6 @@ function version {
   echo "for more details."
 }
 
-
 function check_config {
   # check configuration file parameters
   if [ ! -f $GPG -o ! -x $GPG ]; then
@@ -164,7 +163,10 @@ function message_list_return {
 # send a bounce message
 # $1: sender email (usually $FROMADD)
 # sorry no identation :P  
-echo "
+echo "From: $LISTNAME
+To: $1
+Subject: none
+
 Message from: $FROM
 Subject: [RETURNED MAIL] $SUBJECT
 $DATE
@@ -175,7 +177,7 @@ $DATE
     you have any questions. ]
  
   -- 
-  firma v$VERSION" | $MAIL -r $LISTNAME $1
+  firma v$VERSION" | $MAIL $MAIL_ARGS 
 }
 
 function process_message {