[imp] problems configuring with imp6.0.4 on horde5.0.4

peter lawrie peter.lawrie at glendiscovery.co.uk
Sun Feb 24 23:20:19 UTC 2013


Hi Mauricio
Thanks for the response.
I'm still struggling to make this work.
I have removed the users I created through horde and changed to imap
authentication.
This server is running horde, virtualmin and will also be an imap
mailserver.

I can send emails out using telnet localhost smtp
But cannot get authentication for IMP on the test.php
dovecot: imap-login: Disconnected (auth failed, 2 attempts): user=<
plawrie at scotz.co.uk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS

I logged out of horde and now I can't login again because I have deleted
the entries from horde_users in the horde db
The username I am trying to login with is correct in another sql database
'mail' which dovecot-mysql.conf points to.

I could just fiddle with conf.php to get back in, but I'm trying to make it
work the way you advised.
Regards
Peter Lawrie


On 24 February 2013 15:18, Mauricio Jose T. Tecles <mtecles at biof.ufrj.br>wrote:

>
> ----- Mensagem de peter.lawrie at glendiscovery.co.**uk<peter.lawrie at glendiscovery.co.uk>---------
>     Data: Sun, 24 Feb 2013 12:10:10 +0000
>
>     De: peter lawrie <peter.lawrie at glendiscovery.**co.uk<peter.lawrie at glendiscovery.co.uk>
> >
>  Assunto: Re: [imp] problems configuring with imp6.0.4 on horde5.0.4
>       Para: "Mauricio Jose T. Tecles" <mtecles at biof.ufrj.br>
>       Cc: imp at lists.horde.org
>
>
>
>  Hi
>> Thanks Mauricio
>> OK, I have a postfix/dovecot that will send mail, using a sql db 'mail'
>> and
>> the test.php works for IMP
>> I also have a horde db with a table horde_users
>> However, I am struggling to understand how to link a real linux user able
>> to send mail with the virtual users within horde
>> Regards
>> Peter Lawrie
>>
>
> That is, in my opinion, a misconcept of how Horde/IMP works.
>
> So you have users that can authenticate via IMAP (Dovecot) and they can
> read and send mail somewhow (via Thunderbird, Outlook, Windows Mail,
> Pegasus Mail...). Is that correct?
>
> If yes, all you have to do is configure Horde/IMP to use IMAP. Read Horde
> and IMP INSTALL docs (configuring), read and configure
> horde/imp/config/backends.php to use your IMAP server (it has descriptions
> and examples).
>
> Horde users are just users that can authenticate via IMAP, you don´t need
> to create Horde users. As you did create Horde users, I would delete them.
>
>
> Maurício José T. Tecles
> Instituto de Biofísica C. C. F. - UFRJ
> mtecles at biof.ufrj.br
>
>
>> On 23 February 2013 20:45, Mauricio Jose T. Tecles <mtecles at biof.ufrj.br
>> >wrote:
>>
>>  Do not top post (see below).
>>>
>>> ----- Mensagem de peter.lawrie at glendiscovery.co.****uk<peter.lawrie@**
>>> glendiscovery.co.uk <peter.lawrie at glendiscovery.co.uk>>---------
>>>
>>>     Data: Sat, 23 Feb 2013 16:30:15 +0000
>>>     De: peter lawrie <peter.lawrie at glendiscovery.****co.uk<http://co.uk>
>>> <peter.lawrie@**glendiscovery.co.uk <peter.lawrie at glendiscovery.co.uk>>
>>>
>>> >
>>>  Assunto: Re: [imp] problems configuring with imp6.0.4 on horde5.0.4
>>>       Para: Simon Brereton <simon.buongiorno at gmail.com>
>>>       Cc: imp at lists.horde.org
>>>
>>>
>>>
>>>  Hi Simon
>>>
>>>> Thanks for the response.
>>>> I have already seen most of the pages which come up googling for the
>>>> error
>>>> "HORDE: User is not authorized for imp"
>>>> Adding your name did not seem to help.
>>>> I can see there are other people with the same problem, but no solution.
>>>> The various howtos I did find on the internet all use different dbase
>>>> tables from those created by horde 5
>>>> In the mysql database created by installing horde 5 I have a table
>>>> horde_users and in that are user_uid and user_pass
>>>> I just cannot find instructions for configuring postfix and dovecot
>>>> using
>>>> these.
>>>>
>>>>
>>> The point is that IMP is a program, as any other, to  use mail, it is not
>>> the mail program itself. You must have you mail system working before
>>> thinking of Horde/IMP. You must have system users, so mail system can put
>>> incoming mail in user´s inbox (Debian: /var/mail/userlogin) and programs
>>> (IMP, Outlook, Thunderbird...) can file IMAP folders (Debian:
>>> /home/userlogin/mail). So this has not to do with Horde/IMP.
>>>
>>> For a Debian example:
>>>
>>> To add a user: useradd -c "User name" -m -s /bin/false userlogin
>>>
>>> Set user´s password:  passwd userlogin
>>>
>>> Now userlogin can use system mail via Hord/IMP, Outlook or Thunderbird,
>>> if
>>> Dovecot and Postfix are corretctly setup (see below).
>>>
>>>
>>>
>>>  Am I wrong in thinking that somewhere, if I look hard enough, there must
>>>> be
>>>> a howto for dovecot and postfix with a mysql username and using user_uid
>>>> and user_pass from horde_users?
>>>>
>>>>
>>> As far as I know, it´s a wrong thought. You don´t have users in Outlook,
>>>  Thunderbird or Window Mail, you inform those programs data of users that
>>> exist on a mail system elsewhere.
>>>
>>>
>>>
>>>  Regards
>>>
>>>> Peter Lawrie
>>>>
>>>>
>>>
>>
>
> ----- Final da mensagem de peter.lawrie at glendiscovery.co.**uk<peter.lawrie at glendiscovery.co.uk>-----
>
>
>
> ------------------------------**------------------------------**----
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.**org<imp-unsubscribe at lists.horde.org>
>


More information about the imp mailing list