Re: SASL2 auth hack percent in login

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2005
Patrick Ben Koetter
 
Posts: n/a
Default Re: SASL2 auth hack percent in login

* 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/>
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0