[Phamm] Question regarding mail plugin

Mirko ML ops at klez.it
Mon Mar 8 16:25:09 CET 2010


max power ha scritto:
[...]
> 3-for every new user there is smtpauth selection , what is the need of that value , i am using sasl and tls and if that value true or false it make no difference 
It is usefull only if you use it in filter for smtp-auth.
As you see here:

# This file must be in /etc
# this is the default for ldap (see man saslauthd)

# this is for fastbind
# all your account o alias could do smtpauth
ldap_servers:           ldap://ldap.example.tld/
ldap_auth_method:       fastbind
ldap_filter:            mail=%u,vd=%d,o=hosting,dc=example,dc=tld
ldap_base:              o=hosting,dc=example,dc=tld
ldap_version:           3

# this is for simple bind
# only smthAuth=TRUE could do relay
ldap_servers:           ldap://ldap.example.tld/
ldap_auth_method:       bind
ldap_bind_dn:           cn=phamm,o=hosting,dc=example,dc=tld
ldap_bind_pw:           phammpasswordhere
ldap_filter:            (&(mail=%U@%d)(smtpAuth=TRUE))
ldap_base:              o=hosting,dc=example,dc=tld
ldap_version:           3

you must use simple bind and not fastbind
so in the first case (simple_bind) only if the account has smtpAuth=TRUE
can send mail



-- 
Ciao
Mirko


More information about the Phamm mailing list