SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004292: smtp proxy imap authentication removes the - MantisBT Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004292Endian FirewallProxy SMTPpublic2012-03-06 14:152012-03-06 14:15
Assigned To 
PlatformOSOS Version
Product Version2.4.1 
Target VersionFixed in Version 
Summary0004292: smtp proxy imap authentication removes the
DescriptionIf the client uses user: and password: xxx

imap command between endian and mail server is:
saslauthd LOGIN "name" "xxx"

BUT some servers (especially if they host multiple domains) require the as username and this is why authentication fails.


edit the file /etc/sysconfig/saslauthd.tmpl adding the "-r" option at the line:

FLAGS=' -O $IMAP_AUTH_SERVER#if $IMAP_AUTH_PORT != "" then "/%s" % $IMAP_AUTH_PORT else ""# #slurp

it should be:

FLAGS=' -r -O $IMAP_AUTH_SERVER#if $IMAP_AUTH_PORT != "" then "/%s" % $IMAP_AUTH_PORT else ""# #slurp

then -fd and make sure the the saslauth file has the -r option:

root@gw01:/etc/sysconfig # cat saslauthd
FLAGS=' -r -O -n 5'

  -r Combine the realm with the login before passing to authentication mechanism
                 Ex. login: "foo" realm: "bar" will get passed as login: "foo@bar"
                 The realm name is passed untouched.

I tested also without and the username is not altered anymore by endian.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-03-06 14:15 luca-endian New Issue
2012-03-06 14:15 luca-endian Status new => confirmed
2012-03-06 14:15 luca-endian Tag Attached: purple

Copyright © 2005-2008 Endian, SRL. All rights reserved.

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker