aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index b386deb3..6bc3fac7 100644
--- a/pop3.c
+++ b/pop3.c
@@ -258,6 +258,11 @@ int doPOP3bis (queryctl)
/* retrieve messages using POP3 */
struct hostrec *queryctl;
{
+ if (queryctl->remotefolder[0]) {
+ fprintf(stderr,"Option --remote is not supported with POP3\n");
+ return(PS_SYNTAX);
+ }
+
return(do_protocol(queryctl, &pop3));
}