[imp] identities
Chris H.
fbsd at 1command.com
Tue May 16 23:23:52 PDT 2006
Quoting Grelaud Fabrice <f.grelaud at drimm.u-bordeaux1.fr>:
> 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.
This is because your mailer daemon (rightfully) does not relay mail for
just anybody. You could allow relaying for this one particular individual
(and others, of course). If you were using sendmail, for example. You
can open the: _virtualusertable_ file and add the following:
secretariat_student at domain.tld yourusersemailname at real.tld
You could also open the: _trusted-users_ file and simply add their name
there. But this probably would not completely resolve your situation.
You might also get away with simply adding their _real_ email address
to sendmails _access_ file. eg; the line:
yourusersemailname at real.tld OK
Give it a try. If I have understood your goal(s) correctly, one of
these suggestions should do the trick.
Beast wishes,
Chris H.
>
> So i need for this student two fields "from_address" (his own and the
> functionnal).
>
> Thanks for all yours answers and yours reflexions.
>
> --
> 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
>
--
-----------------------------------------------------------------
FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
/////////////////////////////////////////////////////////////////
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/imp/attachments/20060516/bf0a176b/attachment.bin
More information about the imp
mailing list