The documentation for this config option is a bit scattered.
As mentioned in one of the other answers, this documentation (http://www.postfix.org/postconf.5.html#smtpd_sasl_path) states that the default is smtpd
.
Then, to find out what this actually means, take a look here -
http://www.postfix.org/SASL_README.html#server_cyrus_name
and here -
http://www.postfix.org/SASL_README.html#server_cyrus_location
These state:
The name of the configuration file (default: smtpd.conf) is
configurable. It is a concatenation from a value that the Postfix SMTP
server sends to the Cyrus SASL library, and the suffix .conf, added by
Cyrus SASL.
The value sent by Postfix is the name of the server component that
will use Cyrus SASL. It defaults to smtpd and is configured with one
of the following variables:
/etc/postfix/main.cf:
# Postfix 2.3 and later
smtpd_sasl_path = smtpd
# Postfix < 2.3
smtpd_sasl_application_name = smtpd
And:
The location where Cyrus SASL searches for the named file depends on
the Cyrus SASL version and the OS/distribution used.
You can read more about the following topics:
Cyrus SASL version 2.x searches for the configuration file in
/usr/lib/sasl2/.
Cyrus SASL version 2.1.22 and newer additionally search in
/etc/sasl2/.
Some Postfix distributions are modified and look for the Cyrus SASL
configuration file in /etc/postfix/sasl/, /var/lib/sasl2/ etc. See the
distribution-specific documentation to determine the expected
location.
Note Cyrus SASL searches /usr/lib/sasl2/ first. If it finds the
specified configuration file there, it will not examine other
locations.
Then, you can check where Postfix will actually look first for the sasl config file, which can be found (For debian based distros) in /usr/share/doc/postfix/README.Debian
Here it mentions:
- For policy reasons:
a. SASL configuration goes in /etc/postfix/sasl
So ... Putting that all together, defining it as smtpd
(or leaving it as default), it will look for smtpd.conf
in the /etc/poostfix/sasl
directory.
If it doesn't exist there, it will look for the file in /usr/lib/sasl2/
then /etc/sasl2/
Gotta love ancient documentation :D