Re: prevent sasl auth when login in form user@domain

2013-01-19 Thread Benny Pedersen
Fabio Sangiovanni skrev den 2013-01-17 18:54: # saslauthd command line /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 0 change to rimap or use curus-sasl with direct mysql lookup pam on its own strips @example.org mysql sample.conf https://redmine.oav.net/repositories/entry/openvisp/ad

prevent sasl auth when login in form user@domain

2013-01-17 Thread Fabio Sangiovanni
Hello list, I'm using postfix 2.6.6 with cyrus-sasl (saslauthd + pam_mysql). Everything works ok, except that I've noticed that users can login successfully using their username with an arbitrary @domain part, that is I see login success in 2 cases: - username = user - username = u...@whatever.d