[imp] identities

Stuart Morrison sjm at sjmorrison.net
Tue May 9 14:40:47 PDT 2006


Grelaud Fabrice wrote:

> Quoting Stuart Morrison <sjm at sjmorrison.net>:
>
>> Grelaud Fabrice wrote:
>>
>>> Quoting "Chris H." <fbsd at 1command.com>:
>>>
>>>> Quoting Fabrice Grelaud <f.grelaud at drimm.u-bordeaux1.fr>:
>>>>
>>>>> lst_hoe01 at kwsoft.de wrote:
>>>>>
>>>>>> Zitat von Fabrice Grelaud <f.grelaud at drimm.u-bordeaux1.fr>:
>>>>>>
>>>>>>> lst_hoe01 at kwsoft.de wrote:
>>>>>>>
>>>>>>>> This is basically the same requirement we have. See thread on 
>>>>>>>> the   mailinglist :
>>>>>>>> http://search.gmane.org/search.php?group=gmane.comp.horde.imp&query=Prepopulated+value+for+%22from_addr%22 
>>>>>>>> Can you check if we are trying to solve the same problem. Maybe 
>>>>>>>> i can get some holiday worker to code PHP so we can provide a 
>>>>>>>> solution at the   list.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> Andreas
>>>>>>>>
>>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> It seems same thing...
>>>>>>> I've locked default-identity for only one identity by users.
>>>>>>> However, i need for a particular user another field "from_addr" 
>>>>>>> when he
>>>>>>> composes message.
>>>>>>>
>>>>>>> What about the answer to your post from Jan ?
>>>>>>>
>>>>>>> Regards
>>>>>>> Fabrice
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> That's where i like to use some PHP-coder in the holidays to get 
>>>>>> a  enum field in the prefs, preferable for populating it from all 
>>>>>> the  configurable backends.
>>>>>> This way the user can choose only the sender addresses which are  
>>>>>> defined as aliases for the mailaccount in question.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Andreas
>>>>>>
>>>>>>
>>>>> Do you have some php-coders at disposal ? Cause, me, i'm rather 
>>>>> newbie in php.
>>>>> For my environment (university), it will be great to differentiate 
>>>>> identities's options between "personnel" (multiple identity) and 
>>>>> "student" (only one identity, locked) except particular case as my 
>>>>> problem today. Some prefs by group, maybe...
>>>>
>>>>
>>>>
>>>>
>>>> Am I missing something here? If using sendmail on a NIX box, you can
>>>> assign aliases for any individual you wish. I have found that IMP
>>>> (with an IMAP server) correctly expands the available aliases for
>>>> the user. Thereby only permitting the choice of*valid* aliases for
>>>> for the sender.
>>>> Is this not your desired goal?
>>>>
>>>> --Chris H.
>>>>
>>>>>
>>>>> Thanks
>>>>> Fabrice
>>>>>
>>>>> -- 
>>>>> Fabrice GRELAUD
>>>>> 05 40 00 - 65 92
>>>>> Direction des Ressources Informatiques et Multimedia Mutualisees
>>>>>
>>>>> -- 
>>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Shameless self-promotion follows...
>>>> ... or does it?
>>>>
>>>>
>>>> -----------------------------------------------------------------
>>>> FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
>>>> /////////////////////////////////////////////////////////////////
>>>>
>>>>
>>>
>>> If it was an alias ? My user have his own student's box, i could 
>>> attach an alias
>>> at this box. Sure... but not in my case where I can't attach a 
>>> functionnal
>>> address like secretariat at domain.tld to a person, i 've to use a 
>>> functionnal
>>> box, independent. And now I would like my student compose message in 
>>> imp with
>>> this address. My problem, default_identity, from_address are locked for
>>> students.
>>>
>>> That's it...
>>>
>>>
>> It is not something I have had to do but:
>>
>> Do you want your student to choose which from_address he is using?
>>
>> If not and you are using a database preference backend can you not 
>> just change the from_address in the relevant record?
>>
>> If you do want the student to choose the from address I would have 
>> thought you could use a custom hook.
>>
>> HTH
>>
>> Regards
>>
>> Stuart Morrison
>>
>
> Hi,
>
> In horde, my student have a default_identity whith his student's 
> from_address
> obtained from LDAP and all locked.
> On my mail server, i 've got a virtual_address 
> (secretariat_student at domain.tld)
> which is redirected towards the student's address.
> So, by imp, he receives these own mails and mails from the functionnal 
> box.
> The problem: He can't send mail with the functionnal from_address box, 
> only with
> his own student's from-address.
> Notice: to date, this is a redirection, but it will be a functionnal 
> box shared
> by the student with rights access (we use Cyrus imap). Log in horde 
> with his
> student's account and then see the mails from the shared box. The 
> problem is
> the same as before, he can't compose message with the good from_address.
>
> So i need for this student two fields "from_address" (his own and the
> functionnal).
>
> Thanks for all yours answers and yours reflexions.
>
Hi

You might be able to set up a custom hook (I have never tried but I 
think it would be something like _imp_hook_identities) to set the 
identities available by secondary mail names in an LDAP entry.

/horde/config/hooks.php has quite alot of information

Regards

Stuart Morrison


More information about the imp mailing list