aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/pop2.c b/pop2.c
index 50c619c9..a5ca1cd0 100644
--- a/pop2.c
+++ b/pop2.c
@@ -73,15 +73,19 @@ struct hostrec *queryctl;
/* check for unsupported options */
if (linelimit) {
- fprintf(stderr,"Option --limit is not supported in POP2\n");
+ fprintf(stderr,"Option --limit is not supported with POP2\n");
return(PS_SYNTAX);
}
else if (queryctl->flush) {
- fprintf(stderr,"Option --flush is not supported in POP2\n");
+ fprintf(stderr,"Option --flush is not supported with POP2\n");
return(PS_SYNTAX);
}
else if (queryctl->fetchall) {
- fprintf(stderr,"Option --all is not supported in POP2\n");
+ fprintf(stderr,"Option --all is not supported with POP2\n");
+ return(PS_SYNTAX);
+ }
+ else if (queryctl->smtphost[0]) {
+ fprintf(stderr,"Option --smtphost is not supported with POP2\n");
return(PS_SYNTAX);
}
else