[ingo] problem writing sieve file
Patrick Boutilier
boutilpj at ednet.ns.ca
Tue Dec 17 23:17:54 UTC 2019
On 12/17/19 6:59 PM, Arjen de Korte wrote:
> Citeren Ted <ted at easydns.com>:
>
>> Hello,
>>
>> OK, well I opened that port up and the connection is now getting
>> through, but it seems from the logs that ingo isn't sending the whole
>> email address as the user when it is trying to login
>>
>> Dec 17 22:24:22 ezd04-pco dovecot: managesieve-login: Error: proxy:
>> host not given: user=<ted>, method=PLAIN,
>>
>> compared to the successful access from webmail generally:
>>
>> Dec 17 22:23:58 ezd01-pco dovecot: imap-login:
>> proxy(ted at hosehead.ninja): started proxying to x.x.x.x:143:
>> user=<ted at hosehead.ninja>, method=PLAIN,
>>
>> with only ted given as the user the proxy can't get the correct host
>> and authentication would fail anyway. Is there something I need to
>> include in the ingo configs so that it will send the whole address as
>> the user?
>
> This is described literally in the comments in the
> horde/ingo/config/backends.php file for the sieve backend.
You will need to enable the transport_auth hook in hook.php
// NOTE: Ingo by default sends only the bare Horde username
// for authentication. Sieve servers generally need both the
// username and domain. See the 'transport_auth' hook for
// an example on how to change the Ingo default behavior.
>
>> Thank you
>> Ted
>> easyDNS Technologies
>>
>>
>> On 12/16/19 3:06 PM, Patrick Boutilier wrote:
>>> On 12/16/19 2:55 PM, Ted wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm working on a horde implementation for our mail system, and I'm
>>>> having problems with getting ingo to be able to write to the sieve
>>>> file to the server, I get a connection time out error whenever I try
>>>> to save a filter. Horde can access email on the same server it's
>>>> trying to write the file to, and all other functions seem to work.
>>>>
>>>> My backends.local.php is as below:
>>>>
>>>> <?php
>>>> $backends['imap']['disabled'] = true;
>>>> $backends['sieve']['disabled'] = false;
>>>> $backends['sieve']['transport'][Ingo::RULE_ALL]['params']['hostspec'] =
>>>> 'imap.easymail.ca';
>>>> $backends['sieve']['script'][Ingo::RULE_ALL]['params']['utf8'] = true;
>>>>
>>>>
>>>> That mailservers are loadbalanced and also run through a director
>>>> proxy, so the imap.easymail.ca host points to a loadbalanced
>>>> director-dovecot cluster which handles login requests and directs to
>>>> the backend servers which actually maintain the mail and sieve
>>>> files, I had tried having ingo connect directly to one of the
>>>> director machines and directly to one backend server to see if
>>>> something in the networkng was a problem, but I get the same result
>>>> regardless. I'm wondering if there is something needed in the
>>>> config I'm unaware of, or what else to check at this point. Can
>>>> anyone offer any insight or suggestions?
>>>
>>>
>>> Is the sieve port (either 2000 or 4190) open internally? Definitely
>>> isn't on imap.easymail.ca from the Internet.
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> Thanks
>>>> Ted
>>>> easyDNS Technologies
>>>>
>>>
>>>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <https://lists.horde.org/archives/ingo/attachments/20191217/0f1b1d5d/attachment.vcf>
More information about the ingo
mailing list