?zkan KIRIK: > Hello, > > I'm trying to auth sasl using another smtp server's sasl auth. > > scenario is as shown below: > > [client] -> [postfix_as_email_gateway with auth plain] -> [another smtp > server sasl auth plain enabled] > > postfix has no userdb & passdb. Is it possible that postfix connect to > another smtp server and validate auth plain user credentials? Basically i > want that postfix make auth against another server's smtp auth. > > What is the right way to do this configuration?
If it is not documented then it is not supported. This requires new code, in the form of a Postfix XSASL_SERVER module that 1) makes a TLS-encrypted SMTP connection to a remote SMTP server, and 2) proxies the SASL protocol requests and responses between the SMTP client and the remote SMTP server. Problems: 1) the Postfix SMTP server must find out the remote SMTP server's SASL authentication mechanisms before it can respond to the SMTP client's EHLO command. 2) This is a very expensive feature that cannot be exposed to the Internet. Wietse