Re: custom reject message for reject_sender_login_mismatch

2018-09-08 Thread Kacper
Looks like you would have to recompile postfix with changes to smtpd_check.c, https://github.com/vdukhovni/postfix/blob/c8e31ae510e006127934ce54413a829933ccae9d/postfix/src/smtpd/smtpd_check.c#L3818 On Sat, Sep 8, 2018 at 3:18 PM Stefan Bauer wrote: > > Hi, > > using > > smtpd_sender_restrictions

Re: GSSAPI and Success as a error code

2018-08-23 Thread Kacper
Dukhovni wrote: > > > > > On Aug 22, 2018, at 1:05 PM, Kacper wrote: > > > > I know I should have the keytab in /etc/dovecot but I don't think it > > makes any difference right now, seeing how GSSAPI for imap using > > dovecot works. > > Using which key

Re: GSSAPI and Success as a error code

2018-08-22 Thread Kacper
s-cbc-md5) 2 imap/srv.mydomain.t...@mydomain.test (des-cbc-crc) On Wed, Aug 22, 2018 at 6:50 PM Viktor Dukhovni wrote: > > On Wed, Aug 22, 2018 at 06:41:31PM +0200, Kacper wrote: > > > On Wed, Aug 22, 2018 at 6:30 PM Viktor Dukhovni > > wrote: > > > Why are you lookin

Re: GSSAPI and Success as a error code

2018-08-22 Thread Kacper
On Wed, Aug 22, 2018 at 6:30 PM Viktor Dukhovni wrote: > Why are you looking in the dovecot logs? This is a dovecot IMAP error, > not a Postfix smtpd(8) error... Because you said that you had GSSAPI working using dovecot sasl, so I configured postfix to use dovecot instead of cyrus and got the s

Re: GSSAPI and Success as a error code

2018-08-22 Thread Kacper
rvice principal 08/22/2018 15:56:55 08/23/2018 01:56:55 krbtgt/mydomain.t...@mydomain.test renew until 08/29/2018 15:56:55 On Wed, Aug 22, 2018 at 3:05 PM Viktor Dukhovni wrote: > > > > > On Aug 22, 2018, at 5:02 AM, Kacper wrote: > > > > I've been trying to s

Re: GSSAPI and Success as a error code

2018-08-22 Thread Kacper
wrote: > Kacper: > > Hello, > > > > I've been trying to setup GSSAPI in postfix via cyrus-sasl. The service > > principal is configured and so is sasl2/smtpd.conf. All I get from the > > postfix log file is that the GSSAPI auth failed and that the minor error > &g

GSSAPI and Success as a error code

2018-08-22 Thread Kacper
ld need to know what to look for. Any help is appreciated. Thanks, Kacper log/mailog: Aug 22 08:57:10 srv postfix/smtpd[15965]: xsasl_cyrus_server_first: decoded initial response `?*?H??? Aug 22 08:57:10 srv postfix/smtpd[15965]: warning: SASL authentication failure: GSSAPI Error: Unspe