automx Release Candidate 0.8~rc1
André Schild
a.schild at aarboard.ch
Wed Mar 14 19:46:42 CET 2012
Hello,
I found the problem:
In config.py line 569 and following only ONE is replaced
if "%u" in expression:
user = self.__emailaddress.split("@")[0]
expression = expression.replace("%u", user)
elif "%d" in expression:
domain = self.__search_domain
expression = expression.replace("%d", domain)
elif "%s" in expression:
email = self.__emailaddress
expression = expression.replace("%s", email)
The solution for me was to use %s, which is documented as
%s This macro is replaced by the input key.
If it would have been documented as "complete email address" then I
would first have tried that one ;)
I think in general we should replace the elif ... by simple if ...
so multiple replacements can be made....
André
Am 14.03.2012 19:24, schrieb André Schild:
> A quick question:
>
> We use the full email address to login to pop/imap/smtp services.
> For now we wish to use a static automx.conf file with these entries:
>
> smtp_auth_identity = %u@%d
> imap_auth_identity = %u@%d
> pop_auth_identity = %u@%d
>
> The %u is correctly replaced by the part before the @ character,
> but the second part is still %d ...
>
> So for andre at schild.ws outlook 2007 trys to login with "andre@%d"
>
> Probably I miss something obvious...
>
> When I did put in %EMAILADDRESS% in the various xx_identity this
> worked for TB,
> but in Outlook 2007 it tryed to login as %EMAILADDRESS%
>
> André
>
> Am 14.03.2012 14:10, schrieb Patrick Ben Koetter:
>> automx release candidate 0.8~rc1 is available immediately for
>> download from
>> http://automx.org/download.html.
>>
>> This release fixes a few bugs:
>>
>> - respond with error code 500 if SQL/LDAP backends have no data
>> - fix $usetls in LDAP
>> - treat UTF-8 characters from LDAP nicely
>>
>> If no new errors are encountered until Friday we will release 0.8
>> stable after
>> the weekend. To report an error open a ticket at
>> http://pro.state-of-mind.de/projects/automx/issues.
>>
>> Following the 0.8 stable release we will immediately begin to publish
>> 0.9 BETA
>> 1, which will contain new features.
>>
>> p at rick
>>
>
>
--
Aarboard AG Phone: +41 32 332 97 14
Egliweg 10 Fax: +41 32 332 97 15
2560 Nidau
Switzerland www.aarboard.ch
More information about the automx-users
mailing list