This is a discussion on Re: SASL2 auth hack percent in login within the mailing.postfix.users forums, part of the Mail Servers and Related category; * Junix <junixbr@gmail.com>: > How could I do to the postfix "hack percent" the login ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
* Junix <junixbr@gmail.com>:
> How could I do to the postfix "hack percent" the login in sasl > authentication, where some requests arrive with character "%" instead of > "@", so the sasl don't validate the attempt. This is a question for the cyrus-sasl mailing list. Please contact them. p@rick > > The server receive requests with "@" and "%" and I need work both. > > I tried use the allow_percent_hack, but, doesn't work. > > I done the alternative resolution and work fine, but, This is not > correct way. > > Look my resolution in smtpd.conf: > pwcheck_method: auxprop > auxprop_plugin: sql > > mech_list: plain login > > sql_engine: pgsql > sql_user: postfix > sql_passwd: xxxxxx > sql_hostnames: 200.200.200.200 > sql_database: postfix_db > sql_select: SELECT password FROM mailbox_table WHERE LOWER(username) = > CASE POSITION('%%' IN '%u@%r') WHEN 0 THEN '%u@%r' ELSE > replace(replace('%u@%r@domain.com.br', '@domain.com.br', ''), '%%', '@') > END > > > Sorry my english. > > Thanks for all. > > Regards, > > []'s > > Junix > > -- The Book of Postfix <http://www.postfix-book.com> SMTP AUTH debug utility: <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/> |