diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-11-21 21:38:56 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-11-21 21:38:56 +0100 |
commit | 129f727e7b6215c88e623d31156e2c31346ecb21 (patch) | |
tree | f9b2bebcdc8ed385d81305d7b5fb2b46f8b1c1f1 /testing/prayer/unbrand_accountd.patch | |
parent | f55b3f371ed9c97416ff3257d7d1ac6251ad0c00 (diff) |
testing/prayer: new aport
Diffstat (limited to 'testing/prayer/unbrand_accountd.patch')
-rw-r--r-- | testing/prayer/unbrand_accountd.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/prayer/unbrand_accountd.patch b/testing/prayer/unbrand_accountd.patch new file mode 100644 index 00000000000..ede0add7496 --- /dev/null +++ b/testing/prayer/unbrand_accountd.patch @@ -0,0 +1,32 @@ +--- a/accountd/filter.c ++++ b/accountd/filter.c +@@ -266,7 +266,6 @@ filter_print_vacation(struct config *con + + fprintf(file, "# MSshell :: vacation\n"); + fprintf(file, "if personal\n"); +- fprintf(file, " alias %s@cam.ac.uk\n", pwd->pw_name); + + if (!filter_print_aliases(config, file)) + return (NIL); +@@ -278,7 +277,7 @@ filter_print_vacation(struct config *con + fprintf(file, ("This message is automatically generated " + "in response to your mail\\n\\" "\n")); + fprintf(file, ("message (perhaps re-directed) to " +- "$local_part@hermes.cam.ac.uk.\\n\\n\"\n")); ++ "$local_part@$local_domain.\\n\\n\"\n")); + fprintf(file, " file ${home}/vacation.message\n"); + fprintf(file, " log ${home}/vacation.log\n"); + fprintf(file, " once ${home}/vacation.once\n"); +@@ -307,10 +306,10 @@ filter_print_spam(struct config *config, + threshold = atoi(filter->threshold); + + /* XXX (threshold == 0) okay? */ +- fprintf(file, "if $h_X-Cam-SpamScore contains \""); ++ fprintf(file, "if $h_X-Spam-Level contains \""); + + for (i=0 ; i < threshold; i++) +- fputc('s', file); ++ fputc('*', file); + + fprintf(file, "\" then\n"); + fprintf(file, " save mail/spam\n"); |