projects
/
old-projects.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
to_header_string was a bad idea...
[old-projects.git]
/
philter
/
philter
/
include
/
plugin_autoreply.inc.php
diff --git
a/philter/philter/include/plugin_autoreply.inc.php
b/philter/philter/include/plugin_autoreply.inc.php
index
cc517e0
..
e068ce1
100644
(file)
--- a/
philter/philter/include/plugin_autoreply.inc.php
+++ b/
philter/philter/include/plugin_autoreply.inc.php
@@
-32,16
+32,13
@@
EOF;
function to_string($_data) {
$uid = get_user_id();
$text = explode("\n",$_data[1]);
function to_string($_data) {
$uid = get_user_id();
$text = explode("\n",$_data[1]);
- $res = "| ( formail -rA'X-Philter-Autoreply: $uid; \ \n";
+ $res = " :0 hc\n"
+ . " *X-Philter-Autoreply: $uid"
+ . " | ( formail -rA'X-Philter-Autoreply: $uid; \ \n";
foreach($text as $line)
foreach($text as $line)
- $res .= " echo ".escapeshellarg($line)."; \ \n";
- $res .= " ) | $"."SENDMAIL -oi -t\n";
- }
-
- function to_header_string() {
- return "* ^X-Philter-Autoreply:".get_user_id()."\n"
- . "/dev/null\n"
- . "\n";
+ $res .= " echo ".escapeshellarg($line)."; \ \n";
+ $res.= " ) | $"."SENDMAIL -oi -t\n";
+ return $res;
}
}
}
}