From owner-freebsd-questions@FreeBSD.ORG Thu May 31 09:18:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BB2D16A421 for ; Thu, 31 May 2007 09:18:57 +0000 (UTC) (envelope-from amarendra.godbole@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id F000413C45D for ; Thu, 31 May 2007 09:18:56 +0000 (UTC) (envelope-from amarendra.godbole@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so93516wxd for ; Thu, 31 May 2007 02:18:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GZ6EGTzM7BdZSeDas3RRFgLD4uCzxNee9hTBWYx1wMvyPoFgHbDFZ+whrNlG5LWzbR3YHqGCaMpmNr/mHhYjYqGUADlGWxq7VgrJISj1+O0QNIfBNb/qrWXCkgAdkEhyuN3QJGi0PVPhoqUqEw4KM/zunkUq6ngYIUAsTYCt8mU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eSPVGUPuQVOZQuSCrKc8SFUEqDFBCvLeH7g4oVZWbwDHhCf+S9LXszjewilNHVoA62Y5cITZaGEjSQMZCEHrzXeuT9NhsJS7gDgFJiPrXAI/0CJR+ht3O/7vB3cdwYF9lOdwqTMxOam96wWP7rQft7x/dluIINX1tnw5ppyYlDQ= Received: by 10.100.225.13 with SMTP id x13mr202457ang.1180603135616; Thu, 31 May 2007 02:18:55 -0700 (PDT) Received: by 10.100.92.12 with HTTP; Thu, 31 May 2007 02:18:55 -0700 (PDT) Message-ID: <294439d20705310218q5a8f65c0jb6b30c6dfc9a51a7@mail.gmail.com> Date: Thu, 31 May 2007 14:48:55 +0530 From: "Amarendra Godbole" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Wierd postfix/cyrus SASL error... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 09:18:57 -0000 Hi, I use postfix as an smtp client to deliver email to our enterprise smtp server. Since the smtp server needs authentication, I used cyrus sasl with postfix and things worked fine. After a portupgrade, postfix has stopped working, and gives some wierd authentication error. Googling did not help much, and hence I am posting here. Relevant details follow: ----------8<----------------- Postfix version: postfix-2.4.1,1 Cyrus SASL version: cyrus-sasl-2.1.22 Postfix built with: (contents of makedefs.out) SYSTYPE = FREEBSD6 AR = ar ARFL = rv RANLIB = ranlib SYSLIBS = -L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcrypt CC = cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/local/include -I/usr/local/include/sasl OPT = -O2 -fno-strict-aliasing -pipe DEBUG = AWK = awk STRCASE = EXPORT = AUXLIBS='-L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcryp t' CCARGS='-DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/u sr/local/include -I/usr/local/include/sasl' OPT='-O2 -fno-strict-aliasing -pipe ' DEBUG='' WARN = -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \ -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \ -Wunused main.cf has the following entries: # cyrus sasl stuff smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd smtp_security_options = sasl_passwd.db exists created with postmap hash: command Error in the maillog shows: May 31 14:35:12 zimbu postfix/smtp[49765]: warning: SASL authentication failure: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_125): No such file or directory) May 31 14:35:12 zimbu postfix/smtp[49765]: 1E722B895: to=, relay=smtp.foo.com[xx.xx.xx.xx]:25, delay=1.4, delays=0.02/0.01/1.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.foo.com[xx.xx.xx.xx]: generic failure) I don't quiet understand the first message of "no such file or directory". I used exactly the same configuration earlier, and postfix was happily working for the last year or so. Any pointers to fix this issue will be appreciated. Thanks in advance! -Amarendra