X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=pop3.c;h=47d121470c7a9ce1bceb67f1391dfc296227abb5;hb=f16d8d23439b5569f0c2e1af22494708b507f277;hp=a84bbcc3aadb8740af1754eea454ea14abd6a394;hpb=27ba0a665dea6be8c9ba209b25e11677968fe4e8;p=~andy%2Ffetchmail diff --git a/pop3.c b/pop3.c index a84bbcc3..47d12147 100644 --- 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; }