Mika Pfl?ger:
> Hello,
> 
> I would like to use a dovecot submissiond in front of a postfix server, 
> but pass on the login information and use it in postfix restrictions 
> using XLCIENT LOGIN. If I just add my dovecot host to 
> smtpd_authorized_xclient_hosts but with smtpd_sasl_auth_enable=no, it 
> works in principle, but functionality like e.g. 
> permit_sasl_authenticated unfortunately does nothing. When I compile in 
> and enable SASL (e.g. using a dovecot SASL on the postfix machine with a 
> deny-everything policy), everything works like expected.
> 
> I looked into the source code a bit, and it says in smtpd.c where 
> XCLIENT LOGIN is applied "This can be used even if SASL authentication 
> is turned off in main.cf. We can't make it easier than that.", so I was 
> under the impression that it should be possible to use XCLIENT LOGIN 
> without configuring SASL. Is that possible?

Looks like you still need "smtpd_sasl_auth_enable = yes", even
if the login happens before Postfix.

        Wietse

Reply via email to