aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rcfile_y.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 9d688779..f3dabf1d 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -140,8 +140,12 @@ serv_option : AKA alias_list
#endif /* INET6 */
}
| SDPS {
+#ifdef ENABLE_SDPS
current.server.protocol = P_POP3;
current.server.sdps = TRUE;
+#else
+ yyerror("SDPS not enabled.");
+#endif /* ENABLE_SDPS */
}
| UIDL {current.server.uidl = FLAG_TRUE;}
| NO UIDL {current.server.uidl = FLAG_FALSE;}