I have been reading the documentation for smtpd_sender_login_maps and
for what i understood I must create a db of the form

@domain user1,user2....

From the docs:

"In all cases the result of table lookup must be either "not found" or
a list of SASL login names separated by comma and/or whitespace"

Thats not manageble in some scenarios.

Since that list could be a LDAP lookup I'm going to research that option.


@domain user1,user2....

I don't believe this is valid format. It would be more like
   user1@domain,user2@domain
or
   user1,user2
or
   user1@domain,user2,@domain


Since that list could be a LDAP lookup I'm going to research that option.

Yes, you don't have to use flat files. It works for any "lookup table" such as
   CDB
   Berkeley DB
   LDAP
   LMDB
   Memcache
   MySql / MariaDB
   PCRE
   PostgreSQL
   SQLite
http://www.postfix.org/DATABASE_README.html

Reply via email to