Pau Peris:
> By your reply should i assume it's not possible to pass extra
> paramaters to the SQL query sentence?

The Postfix SMTP smtpd_sender_login_maps feature makes the following
queries:

    1) user@domain (complete sender address)
    2) user
    3) @domain

Those Postfix queries contain no SQL parameters. 

You may add SQL parameters in the mysql_sender_login_maps.cf file,
but those parameters will be the same for every query.

> Also, i suppose there's no way to authenticate against Postfix through
> the crypted password. By the way, i use pam to get to the SQL backend.

That depends on the SASL authentication mechanism. Postfix does not
authenticate clients, it is only a proxy between the client and the
SASL library (or Dovecot).

Coming back to the original question, why would you ever need SASL
for an autoresponder?

        Wietse

Reply via email to