aboutsummaryrefslogtreecommitdiff
path: root/mail/mailfront/files
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-10-25 17:41:47 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-10-25 17:41:47 +0000
commitdc7eb9a1fe32ae2b1619dff924df4fc91bcfdb03 (patch)
tree8860616aff6c0c7eecf4302a9614bd6455190200 /mail/mailfront/files
parent9ead6bca4f221b642f03d7eaf89537b794c6aeb3 (diff)
downloadports-dc7eb9a1fe32ae2b1619dff924df4fc91bcfdb03.tar.gz
ports-dc7eb9a1fe32ae2b1619dff924df4fc91bcfdb03.zip
Notes
Diffstat (limited to 'mail/mailfront/files')
-rw-r--r--mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth b/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth
new file mode 100644
index 000000000000..90126b819f02
--- /dev/null
+++ b/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth
@@ -0,0 +1,21 @@
+Index: mailrules.c
+===================================================================
+--- mailrules.c (revision 326)
++++ mailrules.c (working copy)
+@@ -296,7 +296,7 @@
+ struct rule* r;
+ unsigned long databytes;
+
+- if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n') return 0;
++ if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n' && *l != 'a') return 0;
+ r = alloc_rule();
+ r->code = *l++;
+
+@@ -423,6 +423,7 @@
+ case 'k': code = 250; defmsg = "OK"; break;
+ case 'd': code = 553; defmsg = "Rejected"; break;
+ case 'z': code = 451; defmsg = "Deferred"; break;
++ case 'a': code = 553; defmsg = "Authenticate first"; if (authenticated) return 0; break;
+ default: code = 451; defmsg = "Temporary failure"; break;
+ }
+