Re: telnet hangs when I enable sasl

2017-06-06 Thread Peter
On 06/06/17 05:08, Wietse Venema wrote: > It says: "yum install cyrus-sasl-plain". Nowadays one would use "dnf". CentOS 7 (being several years old now) still uses yum. Peter

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 18:58 schreef wilfried.es...@essignetz.de: Am 05.06.2017 um 18:51 schrieb Roelof Wobben: Op 5-6-2017 om 18:35 schreef wilfried.es...@essignetz.de: Internal Error -4 in server.c I did already and google does not have a answer Roelof Sorry, got the wrong out of my history. Thi

Re: telnet hangs when I enable sasl

2017-06-05 Thread Wietse Venema
Roelof Wobben: > Op 5-6-2017 om 18:35 schreef wilfried.es...@essignetz.de: > > Internal Error -4 in server.c > > > I did already and google does not have a answer First result with "Internal Error 4 in server.c" Postfix on CentOS 7 cannot authenticate against cyrus ... - Server Fault https://se

Re: telnet hangs when I enable sasl

2017-06-05 Thread wilfried.es...@essignetz.de
Am 05.06.2017 um 18:51 schrieb Roelof Wobben: > Op 5-6-2017 om 18:35 schreef wilfried.es...@essignetz.de: >> Internal Error -4 in server.c > > > I did already and google does not have a answer > > Roelof > Sorry, got the wrong out of my history. This is the correct one: https://serverfault.co

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 18:35 schreef wilfried.es...@essignetz.de: Internal Error -4 in server.c I did already and google does not have a answer Roelof

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 18:28 schreef Fernando Maior: Hello, Roelof, From this: totaal 16 drwxr-xr-x. 2 rootroot 24 5 jun 13:42 . drwxr-xr-x. 76 rootroot 8192 5 jun 15:26 .. -rw-r--r--. 1 postfix root 47 5 jun 13:42 smtpd.

Re: telnet hangs when I enable sasl

2017-06-05 Thread wilfried.es...@essignetz.de
Am 05.06.2017 um 17:58 schrieb Roelof Wobben: > Op 5-6-2017 om 16:31 schreef wilfried.es...@essignetz.de: >> Am 05.06.2017 um 14:42 schrieb Roelof Wobben: >> ... Is the postfix user allowed to read /etc/sasl/smtpd.conf? >>> At this moment, not. smtpd.conf has as owner root:root >>> Schould I

Re: telnet hangs when I enable sasl

2017-06-05 Thread Fernando Maior
Hello, Roelof, >From this: totaal 16 drwxr-xr-x. 2 rootroot 24 5 jun 13:42 . drwxr-xr-x. 76 rootroot 8192 5 jun 15:26 .. -rw-r--r--. 1 postfix root 47 5 jun 13:42 smtpd.conf I believe you do not need to change owner/group of smtpd.conf; because postfix user already has access to

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 16:31 schreef wilfried.es...@essignetz.de: Am 05.06.2017 um 14:42 schrieb Roelof Wobben: ... Is the postfix user allowed to read /etc/sasl/smtpd.conf? At this moment, not. smtpd.conf has as owner root:roo

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 15:27 schreef Viktor Dukhovni: On Mon, Jun 05, 2017 at 02:39:50PM +0200, Roelof Wobben wrote: Postfix is build with SASL support. postconf -a gives cyrus dovecot postconf -A gives dovecot That's impossible. -a List the available SASL server plug-in types. The SAS

Re: telnet hangs when I enable sasl

2017-06-05 Thread wilfried.es...@essignetz.de
Am 05.06.2017 um 14:42 schrieb Roelof Wobben: ... >> Is the postfix user allowed to read /etc/sasl/smtpd.conf? > > At this moment, not. smtpd.conf has as owner root:root > Schould I change it to postfix:root ? Yes, if it's not already world readable. BTW: Can the postfix user traverse into /etc

Re: telnet hangs when I enable sasl

2017-06-05 Thread Viktor Dukhovni
On Mon, Jun 05, 2017 at 02:39:50PM +0200, Roelof Wobben wrote: > Postfix is build with SASL support. > > postconf -a gives cyrus dovecot > postconf -A gives dovecot That's impossible. -a List the available SASL server plug-in types. The SASL plug-in type is selected

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 14:28 schreef wilfried.es...@essignetz.de: Hi, some thoughts: Is the postfix user allowed to read /etc/sasl/smtpd.conf? At this moment, not. smtpd.conf has as owner root:root Schould I change it to postfix:root ? You could se

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 5-6-2017 om 14:28 schreef wilfried.es...@essignetz.de: Hi, some thoughts: Is the postfix user allowed to read /etc/sasl/smtpd.conf? You could set cyrus_sasl_config_path to /etc/sasl/. How are the access rights of the postfix user to your sasldb-file (/etc/sasldb2?)? In my machines (mostl

Re: telnet hangs when I enable sasl

2017-06-05 Thread wilfried.es...@essignetz.de
Hi, some thoughts: Is the postfix user allowed to read /etc/sasl/smtpd.conf? You could set cyrus_sasl_config_path to /etc/sasl/. How are the access rights of the postfix user to your sasldb-file (/etc/sasldb2?)? In my machines (mostly debian 8) i have the postfix user in sasl group. And, as

Re: telnet hangs when I enable sasl

2017-06-05 Thread Roelof Wobben
Op 2-6-2017 om 07:20 schreef Roelof Wobben: Op 2-6-2017 om 01:49 schreef Wietse Venema: Roelof Wobben: Thanks, Changed it but the error stays even after restarting postfix. I suppose the con

Re: telnet hangs when I enable sasl

2017-06-01 Thread Viktor Dukhovni
> On Jun 2, 2017, at 1:20 AM, Roelof Wobben wrote: > > oke, you mean this config file : > > /etc/sasl/smtpd.conf > > pwcheck_method: auxprop > auxprop_plugin: sasldb > mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM If your Postfix build supports Cyrus SASL, and that's the configured SASL d

Re: telnet hangs when I enable sasl

2017-06-01 Thread Roelof Wobben
Op 2-6-2017 om 01:49 schreef Wietse Venema: Roelof Wobben: Thanks, Changed it but the error stays even after restarting postfix. I suppose the contents of the file are incorrect. However, the Cyrus SASL library is not a Postfix projec

Re: telnet hangs when I enable sasl

2017-06-01 Thread Wietse Venema
Roelof Wobben: > Thanks, > > Changed it but the error stays even after restarting postfix. I suppose the contents of the file are incorrect. However, the Cyrus SASL library is not a Postfix project. Cyrus SASL has its own mailing list. Wietse

Re: telnet hangs when I enable sasl

2017-06-01 Thread Roelof Wobben
Thanks, Changed it but the error stays even after restarting postfix. Roelof Op 1-6-2017 om 20:54 schreef Wietse Venema: Roelof Wobben: Jun 1 18:08:12 localhost postfix/smtpd[9652]: warning: SASL per-process initialization failed: error when parsing configuration file Jun 1 18:08:12 local

Re: telnet hangs when I enable sasl

2017-06-01 Thread Wietse Venema
Roelof Wobben: > Jun 1 18:08:12 localhost postfix/smtpd[9652]: warning: SASL per-process > initialization failed: error when parsing configuration file > Jun 1 18:08:12 localhost postfix/smtpd[9652]: fatal: SASL per-process > initialization failed You need to fix your SASL configuration file.

Re: telnet hangs when I enable sasl

2017-06-01 Thread Roelof Wobben
I could reproduce the error on another machine so here the logs : errors from maillog : Jun 1 18:07:11 localhost postfix/smtpd[9650]: warning: SASL per-process initialization failed: error when parsing configuration file Jun 1 18:07:11 localhost postfi

Re: telnet hangs when I enable sasl

2017-06-01 Thread Roelof Wobben
Both thanks, I will make the logs as soon as I work with that server. I think it will be on Tuesday. Regards, Roelof Op 1-6-2017 om 15:27 schreef Wietse Venema: Roelof Wobben: Hello, I have this in my main.cf : smtpd_sasl_path = smtpd smtpd_sasl_auth_enable = yes in my sasl2 config file

Re: telnet hangs when I enable sasl

2017-06-01 Thread Wietse Venema
Roelof Wobben: > Hello, > > I have this in my main.cf : > > smtpd_sasl_path = smtpd > smtpd_sasl_auth_enable = yes > > in my sasl2 config file I have this : > > pwcheck_method = auxprop > auxprop_plugin = sasldb > mech_list = plain login cram-md5 digest-md5 ntlm > > but when I do telnet

Re: telnet hangs when I enable sasl

2017-06-01 Thread wilfried.es...@essignetz.de
Hi, it's rather less information. Please provide information described under http://www.postfix.org/DEBUG_README.html#mail Willi Am 01.06.2017 um 11:36 schrieb Roelof Wobben: > Hello, > > I have this in my main.cf : > > smtpd_sasl_path = smtpd > smtpd_sasl_auth_enable = yes > > in my s

telnet hangs when I enable sasl

2017-06-01 Thread Roelof Wobben
Hello, I have this in my main.cf : smtpd_sasl_path = smtpd smtpd_sasl_auth_enable = yes in my sasl2 config file I have this : pwcheck_method = auxprop auxprop_plugin = sasldb mech_list = plain login cram-md5 digest-md5 ntlm but when I do telnet 127.0.0.1 25 and I do then ehlo locahost I