]> Pileus Git - ~andy/fetchmail/blobdiff - pop3.c
Add Esperanto-language translation.
[~andy/fetchmail] / pop3.c
diff --git a/pop3.c b/pop3.c
index a84bbcc3aadb8740af1754eea454ea14abd6a394..f8796731286fa36daa3d476f8a2752fed17c77ec 100644 (file)
--- a/pop3.c
+++ b/pop3.c
@@ -270,8 +270,10 @@ static int do_apop(int sock, struct query *ctl, char *greeting)
     /* find start of timestamp */
     start = strchr(greeting, '<');
     if (!start) {
-       report(stderr,
-               GT_("Required APOP timestamp not found in greeting\n"));
+       if (ctl->server.authenticate == A_APOP || outlevel >= O_DEBUG) {
+           report(ctl->server.authenticate == A_APOP ? stderr : stdout,
+                   GT_("Required APOP timestamp not found in greeting\n"));
+       }
        return PS_AUTHFAIL;
     }
 
@@ -360,9 +362,9 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
      *
      * Matthias Andree
      */
-    if (peek_capable && strstr(greeting, "Maillennium POP3/PROXY server")) {
+    if (peek_capable && strstr(greeting, "Maillennium POP3")) {
        if ((ctl->server.workarounds & WKA_TOP) == 0) {
-           report(stdout, GT_("Warning: \"Maillennium POP3/PROXY server\" found, using RETR command instead of TOP.\n"));
+           report(stdout, GT_("Warning: \"Maillennium POP3\" found, using RETR command instead of TOP.\n"));
            ctl->server.workarounds |= WKA_TOP;
        }
        peek_capable = 0;