header_checks and custom header fails to trigger

2017-06-05 Thread rolelael
Hello It's me again and the header_checks is driving me crazy Mail comming from other mail system comes into postfix were header_checks is enabled The mail system adds a header : route_gcgw: BE This header is visible when the mail is received I have a header_checks file where 'again' the if s

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