[imp] some imp/config/pref.php settings ignored for some accounts

amy.rich@tufts.edu amy.rich at tufts.edu
Fri Dec 16 10:15:14 PST 2005


We're running imp 4.0.4, horde 3.0.5.

We have two types of accounts, person and group.  We authenticate both using
IMP (IMAP) authentication.  We have hooks (horde/conf/hooks.php) into LDAP
that set from_addr and full_name (which are defined differently if one is a
group account or a person account).

The imp/confg/prefs.php settings in question are:

$_prefs['sent_mail_folder'] = array(
    'value' => 'Sent',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit');

$_prefs['spam_folder'] = array(
    'value' => 'Junk',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit');

These default folders show up correctly for real users, but not for group
users.  For group users, the Spam folder value is set to "None" instead of
"Junk" under: Options -> Options for Mail -> Server and Folder Information.

Both group and person accounts have "Sent mail folder" set to "Use Default
Value" under: Options -> Options for Mail -> Personal Information.  When a
group user click on Compose, though, the sent folder shows up as "sent-mail"
instead of the "Sent" that a person account sees.  

There are no errors logged, so I'm stumped.  I'm not sure why horde/imp would
be treating these two types of accounts differently, since they're both just
plain old imap.  My only thought is that it might be something in LDAP.
Anyone have any ideas?  Here are two types of LDAP entries:


Here's a group entry:

dn: tuftseduatamsid=523566, ou=Group Entities, dc=tufts, dc=edu
tuftsEduTrumpeterMailhost: prod-ims.usg.tufts.edu
objectClass: top
objectClass: tuftsEduGroupEntity
objectClass: inetLocalMailRecipient
objectClass: inetMailUser
objectClass: userPresenceProfile
uid: testaccout031
tuftsEduAtamsID: 938510

And here's a person entry:

dn: tuftsedutrunk=7AB3A794265F4D9E4E295D123AC724BC, ou=People, dc=tufts, dc=edu
tuftsEduTrumpeterMailhost: prod-ims.usg.tufts.edu
telephoneNumber: (000) 000-0000
mail: Real.User at tufts.edu
tuftsEduPhysicalDeliveryCampus: Medford/Somerville
tuftsEduTRUNK: 7AB3A794265F4D9E4E295D123AC724BC
tuftsEduAdminGroup: O
uidNumber: 97632
departmentNumber: C800001
sn: User
ou: Computer Services
tuftsEduEmployeeDivision: Central Administration
tuftsEduAtamsID: 934751
tuftsEduEmployeeDepartment: Computer Services
uid: realuser
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: eduPerson
objectClass: tuftsEduPerson
objectClass: icsCalendarUser
objectClass: tuftsEduMailAlias
objectClass: inetLocalMailRecipient
objectClass: inetMailUser
objectClass: userPresenceProfile
objectClass: commeetingmakerauxiliaryinfo
objectClass: commeetingmakerpersonauxiliary
tuftsEduLegalName: User, Real
initials: RU
title: Real User
o: Central Administration (Employee)
tuftsEduEmplID: 9274017
tuftsEduEmployeeTitle: System Administrator
displayName: Real User
cn: Real User
eduPersonAffiliation: employee
eduPersonAffiliation: member
eduPersonAffiliation: staff
tuftsEduDisplayNameLF: User, Real
physicalDeliveryOfficeName: My Office
givenName: Real
eduPersonPrimaryAffiliation: staff
tuftsEduStatus: permanent



More information about the imp mailing list