Discussion:
smtp_sasl_password_maps
(too old to reply)
D. Walsh
2005-05-05 07:48:21 UTC
Permalink
Can someone clue me in and tell me if this is valid, I've been
reading the docs but I'm not understanding it and don't think I got
it right (it doesn't work).

smtp_sasl_password_maps = unix:password.byname
mysql:password.byname hash:passwd.byname

If this is wrong I'm obviously misunderstanding something so if you
could point out my flaw in thinking I'd appreciate it.

It's probably right under my nose and I'm just too blind to see it so
be gentle.

-- Dale
Patrick Ben Koetter
2005-05-05 08:43:36 UTC
Permalink
Post by D. Walsh
Can someone clue me in and tell me if this is valid, I've been
reading the docs but I'm not understanding it and don't think I got
it right (it doesn't work).
smtp_sasl_password_maps = unix:password.byname
mysql:password.byname hash:passwd.byname
parameter_maps = database-type:/path/to/map_of_database-type

smtp_sasl_password_maps = hash:/path/to/static_map

smtp_sasl_password_maps = mysql:/path/to/query.conf

smtp_sasl_password_maps = ldap:/path/to/query.conf

...
Post by D. Walsh
If this is wrong I'm obviously misunderstanding something so if you
could point out my flaw in thinking I'd appreciate it.
It's probably right under my nose and I'm just too blind to see it so
be gentle.
HTH,

***@rick
--
The Book of Postfix
<http://www.postfix-book.com>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
D. Walsh
2005-05-05 08:56:09 UTC
Permalink
Post by Patrick Ben Koetter
Post by D. Walsh
Can someone clue me in and tell me if this is valid, I've been
reading the docs but I'm not understanding it and don't think I got
it right (it doesn't work).
smtp_sasl_password_maps = unix:password.byname
mysql:password.byname hash:passwd.byname
What the hell was I thinking???

I read that back in a previous chapter/paragraph.
Post by Patrick Ben Koetter
parameter_maps = database-type:/path/to/map_of_database-type
smtp_sasl_password_maps = hash:/path/to/static_map
smtp_sasl_password_maps = mysql:/path/to/query.conf
smtp_sasl_password_maps = ldap:/path/to/query.conf
...
OK I'll buy this but can these entries be combined into a single line
(comma separated) or does it matter?

smtp_sasl_password_maps = hash:/etc/postfix/user_pass, mysql:/etc/
postfix/user_pass.conf, unix:password.byname
Post by Patrick Ben Koetter
Post by D. Walsh
If this is wrong I'm obviously misunderstanding something so if you
could point out my flaw in thinking I'd appreciate it.
It's probably right under my nose and I'm just too blind to see it so
be gentle.
HTH,
-- Dale
Patrick Ben Koetter
2005-05-05 09:07:08 UTC
Permalink
Post by D. Walsh
Post by Patrick Ben Koetter
parameter_maps = database-type:/path/to/map_of_database-type
smtp_sasl_password_maps = hash:/path/to/static_map
smtp_sasl_password_maps = mysql:/path/to/query.conf
smtp_sasl_password_maps = ldap:/path/to/query.conf
...
OK I'll buy this but can these entries be combined into a single line
(comma separated) or does it matter?
smtp_sasl_password_maps = hash:/etc/postfix/user_pass, mysql:/etc/
postfix/user_pass.conf, unix:password.byname
either:

smtp_sasl_password_maps = hash:/etc/postfix/user_pass, mysql:/etc/postfix/user_pass.conf

or:

smtp_sasl_password_maps =
hash:/etc/postfix/user_pass,
mysql:/etc/postfix/user_pass.conf

or without comma:

smtp_sasl_password_maps =
hash:/etc/postfix/user_pass
mysql:/etc/postfix/user_pass.conf


But:

smtp_sasl_password_maps = unix:password.byname

will not work because unix:password.byname lacks the required fields to
provide required information:

hostname user:pass

***@rick
--
The Book of Postfix
<http://www.postfix-book.com>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
Continue reading on narkive:
Loading...