diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-06 17:06:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:15 +0000 |
commit | 9ed3649c70ce2dec90f502ec09d13475ee09feb3 (patch) | |
tree | ac3363c4b845373153537842edc4c3a8fbdf2bfc /unmaintained/prayer/unbrand_accountd.patch | |
parent | 9d88ce130db0c33108802cd61cb032cc26cec440 (diff) | |
download | aports-9ed3649c70ce2dec90f502ec09d13475ee09feb3.tar.bz2 aports-9ed3649c70ce2dec90f502ec09d13475ee09feb3.tar.xz |
unmaintained/preayer: moved from testing
appears to be dead upstream
Diffstat (limited to 'unmaintained/prayer/unbrand_accountd.patch')
-rw-r--r-- | unmaintained/prayer/unbrand_accountd.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/prayer/unbrand_accountd.patch b/unmaintained/prayer/unbrand_accountd.patch new file mode 100644 index 0000000000..ede0add749 --- /dev/null +++ b/unmaintained/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"); |