Mick writes:
I've been working on setting up a courier mail server for the last few weeks and now have it partially working.I am able to: send and receive mail locally by entering them on the server console. send mail from the console to my ISP email account. if I send mail from my mail client (sylpheed 3.0.2) through my ISP account it is returned "reason: 535 Authentication required." this is what I get back from my isp: ======== Subject: Returned mail: see transcript for details Date: Mon, 24 May 2010 15:34:16 +1000 The original message was received at Mon, 24 May 2010 15:34:15 +1000 from "myip"."myISP" ["myip"] This message was generated by mail16."myISP" ----- The following addresses had permanent fatal errors ----- <bareman@"mydomain"> (reason: 535 Authentication required.) ----- Transcript of session follows ----- ... while talking to mail."mydomain".:MAIL From:<bareman@"myisp"> SIZE=1082<<< 535 Authentication required. 554 5.0.0 Service unavailable [message/delivery-status (324B)] Reporting-MTA: dns; mail16.myisp Received-From-MTA: DNS; "myip"."myISP" Arrival-Date: Mon, 24 May 2010 15:34:15 +1000 Final-Recipient: RFC822; bareman@"mydomain" Action: failed Status: 5.0.0 Diagnostic-Code: SMTP; 535 Authentication required. Last-Attempt-Date: Mon, 24 May 2010 15:34:16 +1000 [text/rfc822-headers (1.3KB)] Return-Path: <bareman@"myISP"> X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d="myISP"; s=alpha; t=1274679255; bh=rxZN2g0W0YRVYeoyE+kdOJBwLaIuza98TUPQHLQjSuk=; h=X-TPG-Abuse:Date:From:To:Subject:Message-Id:Mime-Version: Content-Type; b=mBQw/WeMMJfbJ7ArOYVZCSFSLTDYpXWelff67sLxpMzF +slSHjnX/qBfHfS0yExCO HKeWAflaZ49pmekqF1BwPFC2f4gSUX5/NNcCVYYKfaY7tDe33M61BIvT4tiu2wzukw 5ihbEMwPZIR35wMbvN2lGmOicYByHDoYIAINZnhs= X-TPG-Abuse: host="myip"."myISP"; ip="myip"; date=Mon, 24 May 2010 15:34:15 +1000 Received: from cave.bareclan ("myip"."myISP" ["myip"]) by mail16."myISP" (envelope-from bareman@"myISP") (8.14.3/8.14.3) with SMTP id o4O5YDql021747 for <bareman@"mydomain>; Mon, 24 May 2010 15:34:15 +1000 ========= I'm sure its some dumb mistake in my configuration but I've been staring at it so long I can see the trees for the forest
Unfortunately, since you've neglected to show what's in your actual configuration files, everyone else is left with: 1) guessing what you have in them, and 2) guessing what needs to be fixed. And, of course, since you've replaced key portions of your log files with phony, made up labels such as "myISP" and "myip", all that does it makes it harder to understand what's going on -- that, of course, is another factor that makes it more difficult for anyone to help you.
If you simply said: my domain names, hostnames, and IP addresses are such and such, and here are my unedited log files, it is likely that it would be possible to work backwards from the log files and reverse-engineer what's in your configuration files. But, trying to process "myTHIS" and "myTHAT", simply makes one's eyes glaze over. The obfuscated log files have combined with the absence of the actual configuration files to turn a simple query into an unsolvable puzzle. The best that anyone could do under such circumstances is guess. Well, my guess would be the AUTH_REQUIRED setting in the courierd configuration file. This setting's documentation was frequently misunderstood. AUTH_REQUIRED cannot be set to 1 on a server that receives mail from the Internet. This setting's documentation was recently changed as follows, in hopes of making this clear:
##NAME: AUTH_REQUIRED:0 # # Set AUTH_REQUIRED to 1 in order to force the client to use ESMTP # authentication. You can override AUTH_REQUIRED on a per-IP address basis # using smtpaccess. See makesmtpaccess(8). # # This setting requires ESMTP authentication from everyone. Since all # other mail servers on the Internet will not have a valid password to # authenticate with, this setting should not be enabled on mail servers # used to receive incoming mail from the Internet. AUTH_REQUIRED=0
pgpTOdbe31Nne.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
