From nobody Sat Sep 10 08:20:19 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MPm593jlsz4bRw9 for ; Sat, 10 Sep 2022 08:20:29 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPm581cKLz3MGb for ; Sat, 10 Sep 2022 08:20:28 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 28A8KJqk027738 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 10 Sep 2022 10:20:20 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202207; t=1662798020; bh=4+jKAu7gIRpcScUUgiWZmDPEAWqbXHJC3hMmdYvQZq0=; h=Date:Subject:To:References:From:In-Reply-To; b=Qbf91sGNL0WeYYqkopxpJYjbI3im2lf6I6l+x+DoSxqZsDr2fT8MWuoLWy+TE6d0u d1ZSqAH8cQfjcYopUrRa9rzM6RwWTCeOu7Z/Q+raFZong+GM8jC4W60foMne1tZzNs VWKtk0mz5kmrgmf4ce3WBnLq4vzkWznLN6fUNLi8= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: <6028cd47-406f-25b6-23ae-5e02225381ef@netfence.it> Date: Sat, 10 Sep 2022 10:20:19 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: cyrus sieve authentication Content-Language: en-US To: questions@freebsd.org References: <20220909165124.df7a80e061ecfe3ded9d5c87@3dresearch.com> From: Andrea Venturoli In-Reply-To: <20220909165124.df7a80e061ecfe3ded9d5c87@3dresearch.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MPm581cKLz3MGb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202207 header.b=Qbf91sGN; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202207]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[netfence.it:+]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 9/9/22 22:51, Janos Dohanics wrote: > Hello, Hello. > # telnet localhost sieve > ... > "SASL" "PLAIN" That's what I get too (and it works for me). > The example on the Cyrus web site shows: > > [...] > Escape character is '^]'. > "IMPLEMENTATION" "Cyrus timsieved v1.1.0" 1.1.0??? Guess it's a very old example! > "SASL" "ANONYMOUS PLAIN KERBEROS_V4 GSSAPI" I don't have "KERBEROS_V4 GSSAPI", yet I authenticate against Samba AD in some setups. > Someone on the Cyrus mailing list suggested that KERBEROS_V4 and GSSAPI > are required for sieve authentication. > > Is that correct? Don't know. Given the options we have (GSSAPI_HEIMDAL, GSSAPI_MIT, GSSAPI_BASE), I think you'd need to disable all of them, in order to compile *without* Kerberos and GSSAPI (and I don't know if that's possible). > If so, what compile options should I choose? I use GSSAPI_BASE (as you do). > Please advise. Does sieveshell work? What error message do you get? Nothing in the logs? What backend are you trying to authenticate to? bye av.