Discussion:
[Maia-users] maia not authenticating
Bob
2015-05-11 21:19:23 UTC
Permalink
I set up maia per the PHO instructions. It fails to authenticate any
address. I noticed that the instructions say to do the auth via pop3. I
don't support pop3 on my server. I tried "imap" but that failed too.
This is in the /usr/local/www/maia/config.php file. Any thoughts?
Dave Overton
2015-05-11 22:10:01 UTC
Permalink
Obvious answer, enable POP3?

IIRC, There is no reason not to, IMAP and POP3 use the same everything (authentication, data storage, etc) so just turn it on and fix your problem.

Dave



> -----Original Message-----
> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
> Of Bob
> Sent: Monday, May 11, 2015 2:19 PM
> To: maia-***@renaissoft.com
> Subject: [Maia-users] maia not authenticating
>
> I set up maia per the PHO instructions. It fails to authenticate any
> address. I noticed that the instructions say to do the auth via pop3. I
> don't support pop3 on my server. I tried "imap" but that failed too.
> This is in the /usr/local/www/maia/config.php file. Any thoughts?
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Lawrence R. Mulder
2015-05-11 22:20:34 UTC
Permalink
I know Josh Small has mentioned on this list that internal authentication is the most supported method to authenticate maia users in the 1.0.4 branch. I think they might have even said that other forms of authentication could be broken or not very well tested. I don't know if that is still the case, but it sounds like it is possible.

Thanks,
-Larry


________________________________________________
Lawrence R. Mulder / RHCE, VTSP, SEC+
Vice President, InformAbility, Inc.
***@informability.com
http://www.informability.com/about
http://www.facebook.com/InformAbility
Ph: 630-532-5941
Fx: 630-532-5955
________________________________________________
Original Message
From: Dave Overton
Sent: Monday, May 11, 2015 5:17 PM
To: maia-***@renaissoft.com
Reply To: ***@syix.com
Subject: Re: [Maia-users] maia not authenticating


Obvious answer, enable POP3?

IIRC, There is no reason not to, IMAP and POP3 use the same everything (authentication, data storage, etc) so just turn it on and fix your problem.

Dave



> -----Original Message-----
> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
> Of Bob
> Sent: Monday, May 11, 2015 2:19 PM
> To: maia-***@renaissoft.com
> Subject: [Maia-users] maia not authenticating
>
> I set up maia per the PHO instructions. It fails to authenticate any
> address. I noticed that the instructions say to do the auth via pop3. I
> don't support pop3 on my server. I tried "imap" but that failed too.
> This is in the /usr/local/www/maia/config.php file. Any thoughts?
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-***@renaissoft.com
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
David Newman
2015-05-12 02:05:14 UTC
Permalink
On 5/11/15 3:10 PM, Dave Overton wrote:
> Obvious answer, enable POP3?
>
> IIRC, There is no reason not to,

Orthogonal to the OP's problem, but POP may introduce a support issue.

I had a user who insisted on running POP and then complained that
messages on his computer weren't showing up on his phone. He also was
having problems with folders.

ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.

dn



IMAP and POP3 use the same everything (authentication, data storage,
etc) so just turn it on and fix your problem.
>
> Dave
>
>
>
>> -----Original Message-----
>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>> Of Bob
>> Sent: Monday, May 11, 2015 2:19 PM
>> To: maia-***@renaissoft.com
>> Subject: [Maia-users] maia not authenticating
>>
>> I set up maia per the PHO instructions. It fails to authenticate any
>> address. I noticed that the instructions say to do the auth via pop3. I
>> don't support pop3 on my server. I tried "imap" but that failed too.
>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
Lawrence R. Mulder
2015-05-12 02:07:54 UTC
Permalink
You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.

Thanks,
-Larry


________________________________________________
Lawrence R. Mulder / RHCE, VTSP, SEC+
Vice President, InformAbility, Inc.
***@informability.com
http://www.informability.com/about
http://www.facebook.com/InformAbility
Ph: 630-532-5941
Fx: 630-532-5955
________________________________________________
Original Message
From: David Newman
Sent: Monday, May 11, 2015 9:05 PM
To: maia-***@renaissoft.com
Subject: Re: [Maia-users] maia not authenticating


On 5/11/15 3:10 PM, Dave Overton wrote:
> Obvious answer, enable POP3?
>
> IIRC, There is no reason not to,

Orthogonal to the OP's problem, but POP may introduce a support issue.

I had a user who insisted on running POP and then complained that
messages on his computer weren't showing up on his phone. He also was
having problems with folders.

ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.

dn



IMAP and POP3 use the same everything (authentication, data storage,
etc) so just turn it on and fix your problem.
>
> Dave
>
>
>
>> -----Original Message-----
>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>> Of Bob
>> Sent: Monday, May 11, 2015 2:19 PM
>> To: maia-***@renaissoft.com
>> Subject: [Maia-users] maia not authenticating
>>
>> I set up maia per the PHO instructions. It fails to authenticate any
>> address. I noticed that the instructions say to do the auth via pop3. I
>> don't support pop3 on my server. I tried "imap" but that failed too.
>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
_______________________________________________
Maia-users mailing list
Maia-***@renaissoft.com
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Bob
2015-05-13 17:18:34 UTC
Permalink
How do you bind only to localhost with dovecot 2?

On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>
> Thanks,
> -Larry
>
>
> ________________________________________________
> Lawrence R. Mulder / RHCE, VTSP, SEC+
> Vice President, InformAbility, Inc.
> ***@informability.com
> http://www.informability.com/about
> http://www.facebook.com/InformAbility
> Ph: 630-532-5941
> Fx: 630-532-5955
> ________________________________________________
> Original Message
> From: David Newman
> Sent: Monday, May 11, 2015 9:05 PM
> To: maia-***@renaissoft.com
> Subject: Re: [Maia-users] maia not authenticating
>
>
> On 5/11/15 3:10 PM, Dave Overton wrote:
>> Obvious answer, enable POP3?
>>
>> IIRC, There is no reason not to,
> Orthogonal to the OP's problem, but POP may introduce a support issue.
>
> I had a user who insisted on running POP and then complained that
> messages on his computer weren't showing up on his phone. He also was
> having problems with folders.
>
> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>
> dn
>
>
>
> IMAP and POP3 use the same everything (authentication, data storage,
> etc) so just turn it on and fix your problem.
>> Dave
>>
>>
>>
>>> -----Original Message-----
>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>> Of Bob
>>> Sent: Monday, May 11, 2015 2:19 PM
>>> To: maia-***@renaissoft.com
>>> Subject: [Maia-users] maia not authenticating
>>>
>>> I set up maia per the PHO instructions. It fails to authenticate any
>>> address. I noticed that the instructions say to do the auth via pop3. I
>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Lawrence R. Mulder
2015-05-13 17:24:30 UTC
Permalink
In your dovecot.conf file, have a stanza like the following:

service pop3-login {
inet_listener imap {
address = localhost
port = 110
}

Thanks,
-Larry


-----Original Message-----
From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
Sent: Wednesday, May 13, 2015 12:19 PM
To: maia-***@renaissoft.com
Subject: Re: [Maia-users] maia not authenticating

How do you bind only to localhost with dovecot 2?

On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>
> Thanks,
> -Larry
>
>
> ________________________________________________
> Lawrence R. Mulder / RHCE, VTSP, SEC+
> Vice President, InformAbility, Inc.
> ***@informability.com
> http://www.informability.com/about
> http://www.facebook.com/InformAbility
> Ph: 630-532-5941
> Fx: 630-532-5955
> ________________________________________________
> Original Message
> From: David Newman
> Sent: Monday, May 11, 2015 9:05 PM
> To: maia-***@renaissoft.com
> Subject: Re: [Maia-users] maia not authenticating
>
>
> On 5/11/15 3:10 PM, Dave Overton wrote:
>> Obvious answer, enable POP3?
>>
>> IIRC, There is no reason not to,
> Orthogonal to the OP's problem, but POP may introduce a support issue.
>
> I had a user who insisted on running POP and then complained that
> messages on his computer weren't showing up on his phone. He also was
> having problems with folders.
>
> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>
> dn
>
>
>
> IMAP and POP3 use the same everything (authentication, data storage,
> etc) so just turn it on and fix your problem.
>> Dave
>>
>>
>>
>>> -----Original Message-----
>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>> Of Bob
>>> Sent: Monday, May 11, 2015 2:19 PM
>>> To: maia-***@renaissoft.com
>>> Subject: [Maia-users] maia not authenticating
>>>
>>> I set up maia per the PHO instructions. It fails to authenticate any
>>> address. I noticed that the instructions say to do the auth via pop3. I
>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-***@renaissoft.com
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Bob
2015-05-13 17:56:02 UTC
Permalink
No, I'm using dovecot 2. It doesn't understand the lines you listed. I
tried them in the 20-pop3.conf which is where the pop3 config is now
stored.

On 5/13/2015 10:24 AM, Lawrence R. Mulder wrote:
> In your dovecot.conf file, have a stanza like the following:
>
> service pop3-login {
> inet_listener imap {
> address = localhost
> port = 110
> }
>
> Thanks,
> -Larry
>
>
> -----Original Message-----
> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
> Sent: Wednesday, May 13, 2015 12:19 PM
> To: maia-***@renaissoft.com
> Subject: Re: [Maia-users] maia not authenticating
>
> How do you bind only to localhost with dovecot 2?
>
> On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
>> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>>
>> Thanks,
>> -Larry
>>
>>
>> ________________________________________________
>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>> Vice President, InformAbility, Inc.
>> ***@informability.com
>> http://www.informability.com/about
>> http://www.facebook.com/InformAbility
>> Ph: 630-532-5941
>> Fx: 630-532-5955
>> ________________________________________________
>> Original Message
>> From: David Newman
>> Sent: Monday, May 11, 2015 9:05 PM
>> To: maia-***@renaissoft.com
>> Subject: Re: [Maia-users] maia not authenticating
>>
>>
>> On 5/11/15 3:10 PM, Dave Overton wrote:
>>> Obvious answer, enable POP3?
>>>
>>> IIRC, There is no reason not to,
>> Orthogonal to the OP's problem, but POP may introduce a support issue.
>>
>> I had a user who insisted on running POP and then complained that
>> messages on his computer weren't showing up on his phone. He also was
>> having problems with folders.
>>
>> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>>
>> dn
>>
>>
>>
>> IMAP and POP3 use the same everything (authentication, data storage,
>> etc) so just turn it on and fix your problem.
>>> Dave
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>>> Of Bob
>>>> Sent: Monday, May 11, 2015 2:19 PM
>>>> To: maia-***@renaissoft.com
>>>> Subject: [Maia-users] maia not authenticating
>>>>
>>>> I set up maia per the PHO instructions. It fails to authenticate any
>>>> address. I noticed that the instructions say to do the auth via pop3. I
>>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Lawrence R. Mulder
2015-05-14 15:13:19 UTC
Permalink
Bob,

You are on a BSD box? How about a netfilter firewall rule? Shouldn't be that difficult as an alternative to a localhost only binding if dovecot won't play nice.

-----Original Message-----
From: Bob [mailto:***@mtnlion.com]
Sent: Thursday, May 14, 2015 10:11 AM
To: Lawrence R. Mulder
Subject: Re: [Maia-users] maia not authenticating

Thanks for the update. I tried the code you sent from Dovecot 1. It
doesn't work. dovecot 2 won't start with that code. While v2 is much
more logical in terms of config, after reviewing the docs, I can't find
a way to restrict pop3 to localhost. The dovecot wiki says it will
accept the inet_listener command, but I was unable to get it to start
once I added that clause to the service pop3 paragraph.

Thanks,
Bob

On 5/13/2015 8:53 PM, Lawrence R. Mulder wrote:
> The dovecot2 wiki claims it understands the old 1.2 config file format but may log warnings. Optionally you can convert the old config file to the new format using the doveconf tool like:
>
> # convert old config to new temp config file‎
> doveconf -n -c /etc/dovecot/dovecot.conf > dovecot-2.conf
>
> If you need more info, you can check here:
>
> ‎http://wiki2.dovecot.org/Upgrading/2.0
>
>
> Thanks,
> -Larry
>
>
> ________________________________________________
> Lawrence R. Mulder / RHCE, VTSP, SEC+
> Vice President, InformAbility, Inc.
> ***@informability.com
> http://www.informability.com/about
> http://www.facebook.com/InformAbility
> Ph: 630-532-5941
> Fx: 630-532-5955
> ________________________________________________
> Original Message
> From: Bob
> Sent: Wednesday, May 13, 2015 10:38 PM
> To: Lawrence R. Mulder; maia-***@renaissoft.com
> Subject: Re: [Maia-users] maia not authenticating
>
>
> No, I'm using dovecot 2. It doesn't understand the lines you listed. I
> tried them in the 20-pop3.conf which is where the pop3 config is now
> stored.
>
> On 5/13/2015 10:24 AM, Lawrence R. Mulder wrote:
>> In your dovecot.conf file, have a stanza like the following:
>>
>> service pop3-login {
>> inet_listener imap {
>> address = localhost
>> port = 110
>> }
>>
>> Thanks,
>> -Larry
>>
>>
>> -----Original Message-----
>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
>> Sent: Wednesday, May 13, 2015 12:19 PM
>> To: maia-***@renaissoft.com
>> Subject: Re: [Maia-users] maia not authenticating
>>
>> How do you bind only to localhost with dovecot 2?
>>
>> On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
>>> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>>>
>>> Thanks,
>>> -Larry
>>>
>>>
>>> ________________________________________________
>>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>>> Vice President, InformAbility, Inc.
>>> ***@informability.com
>>> http://www.informability.com/about
>>> http://www.facebook.com/InformAbility
>>> Ph: 630-532-5941
>>> Fx: 630-532-5955
>>> ________________________________________________
>>> Original Message
>>> From: David Newman
>>> Sent: Monday, May 11, 2015 9:05 PM
>>> To: maia-***@renaissoft.com
>>> Subject: Re: [Maia-users] maia not authenticating
>>>
>>>
>>> On 5/11/15 3:10 PM, Dave Overton wrote:
>>>> Obvious answer, enable POP3?
>>>>
>>>> IIRC, There is no reason not to,
>>> Orthogonal to the OP's problem, but POP may introduce a support issue.
>>>
>>> I had a user who insisted on running POP and then complained that
>>> messages on his computer weren't showing up on his phone. He also was
>>> having problems with folders.
>>>
>>> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>>>
>>> dn
>>>
>>>
>>>
>>> IMAP and POP3 use the same everything (authentication, data storage,
>>> etc) so just turn it on and fix your problem.
>>>> Dave
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>>>> Of Bob
>>>>> Sent: Monday, May 11, 2015 2:19 PM
>>>>> To: maia-***@renaissoft.com
>>>>> Subject: [Maia-users] maia not authenticating
>>>>>
>>>>> I set up maia per the PHO instructions. It fails to authenticate any
>>>>> address. I noticed that the instructions say to do the auth via pop3. I
>>>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>>>> _______________________________________________
>>>>> Maia-users mailing list
>>>>> Maia-***@renaissoft.com
>>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
Bob
2015-05-14 15:27:40 UTC
Permalink
Larry,

Yes, I can make a pf rule, but that is an ugly hack. Blocking port 110
at the OS level is almost certainly going to bite me in the butt years
from now when I forgot that I did it. What we need, I think, is for Maia
to permit IMAP or SQL auth. I think the reason dovecot dropped that
inet_listen option is that it now automatically provides open access to
localhost, so the need to specify how different ip's are handled is
theoretically unnecessary.

Thanks,
Bob

On 5/14/2015 8:13 AM, Lawrence R. Mulder wrote:
> Bob,
>
> You are on a BSD box? How about a netfilter firewall rule? Shouldn't be that difficult as an alternative to a localhost only binding if dovecot won't play nice.
>
> -----Original Message-----
> From: Bob [mailto:***@mtnlion.com]
> Sent: Thursday, May 14, 2015 10:11 AM
> To: Lawrence R. Mulder
> Subject: Re: [Maia-users] maia not authenticating
>
> Thanks for the update. I tried the code you sent from Dovecot 1. It
> doesn't work. dovecot 2 won't start with that code. While v2 is much
> more logical in terms of config, after reviewing the docs, I can't find
> a way to restrict pop3 to localhost. The dovecot wiki says it will
> accept the inet_listener command, but I was unable to get it to start
> once I added that clause to the service pop3 paragraph.
>
> Thanks,
> Bob
>
> On 5/13/2015 8:53 PM, Lawrence R. Mulder wrote:
>> The dovecot2 wiki claims it understands the old 1.2 config file format but may log warnings. Optionally you can convert the old config file to the new format using the doveconf tool like:
>>
>> # convert old config to new temp config file‎
>> doveconf -n -c /etc/dovecot/dovecot.conf > dovecot-2.conf
>>
>> If you need more info, you can check here:
>>
>> ‎http://wiki2.dovecot.org/Upgrading/2.0
>>
>>
>> Thanks,
>> -Larry
>>
>>
>> ________________________________________________
>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>> Vice President, InformAbility, Inc.
>> ***@informability.com
>> http://www.informability.com/about
>> http://www.facebook.com/InformAbility
>> Ph: 630-532-5941
>> Fx: 630-532-5955
>> ________________________________________________
>> Original Message
>> From: Bob
>> Sent: Wednesday, May 13, 2015 10:38 PM
>> To: Lawrence R. Mulder; maia-***@renaissoft.com
>> Subject: Re: [Maia-users] maia not authenticating
>>
>>
>> No, I'm using dovecot 2. It doesn't understand the lines you listed. I
>> tried them in the 20-pop3.conf which is where the pop3 config is now
>> stored.
>>
>> On 5/13/2015 10:24 AM, Lawrence R. Mulder wrote:
>>> In your dovecot.conf file, have a stanza like the following:
>>>
>>> service pop3-login {
>>> inet_listener imap {
>>> address = localhost
>>> port = 110
>>> }
>>>
>>> Thanks,
>>> -Larry
>>>
>>>
>>> -----Original Message-----
>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
>>> Sent: Wednesday, May 13, 2015 12:19 PM
>>> To: maia-***@renaissoft.com
>>> Subject: Re: [Maia-users] maia not authenticating
>>>
>>> How do you bind only to localhost with dovecot 2?
>>>
>>> On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
>>>> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>>>>
>>>> Thanks,
>>>> -Larry
>>>>
>>>>
>>>> ________________________________________________
>>>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>>>> Vice President, InformAbility, Inc.
>>>> ***@informability.com
>>>> http://www.informability.com/about
>>>> http://www.facebook.com/InformAbility
>>>> Ph: 630-532-5941
>>>> Fx: 630-532-5955
>>>> ________________________________________________
>>>> Original Message
>>>> From: David Newman
>>>> Sent: Monday, May 11, 2015 9:05 PM
>>>> To: maia-***@renaissoft.com
>>>> Subject: Re: [Maia-users] maia not authenticating
>>>>
>>>>
>>>> On 5/11/15 3:10 PM, Dave Overton wrote:
>>>>> Obvious answer, enable POP3?
>>>>>
>>>>> IIRC, There is no reason not to,
>>>> Orthogonal to the OP's problem, but POP may introduce a support issue.
>>>>
>>>> I had a user who insisted on running POP and then complained that
>>>> messages on his computer weren't showing up on his phone. He also was
>>>> having problems with folders.
>>>>
>>>> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>>>>
>>>> dn
>>>>
>>>>
>>>>
>>>> IMAP and POP3 use the same everything (authentication, data storage,
>>>> etc) so just turn it on and fix your problem.
>>>>> Dave
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>>>>> Of Bob
>>>>>> Sent: Monday, May 11, 2015 2:19 PM
>>>>>> To: maia-***@renaissoft.com
>>>>>> Subject: [Maia-users] maia not authenticating
>>>>>>
>>>>>> I set up maia per the PHO instructions. It fails to authenticate any
>>>>>> address. I noticed that the instructions say to do the auth via pop3. I
>>>>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>>>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>>>>> _______________________________________________
>>>>>> Maia-users mailing list
>>>>>> Maia-***@renaissoft.com
>>>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>> _______________________________________________
>>>>> Maia-users mailing list
>>>>> Maia-***@renaissoft.com
>>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>>
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Lawrence R. Mulder
2015-05-14 15:34:02 UTC
Permalink
Nah. Just put a comment in the config file about Dovecot's brain damage referencing the pf rule. :-)

-Larry

-----Original Message-----
From: Bob [mailto:***@mtnlion.com]
Sent: Thursday, May 14, 2015 10:28 AM
To: Lawrence R. Mulder; maia-***@renaissoft.com
Subject: Re: [Maia-users] maia not authenticating

Larry,

Yes, I can make a pf rule, but that is an ugly hack. Blocking port 110
at the OS level is almost certainly going to bite me in the butt years
from now when I forgot that I did it. What we need, I think, is for Maia
to permit IMAP or SQL auth. I think the reason dovecot dropped that
inet_listen option is that it now automatically provides open access to
localhost, so the need to specify how different ip's are handled is
theoretically unnecessary.

Thanks,
Bob

On 5/14/2015 8:13 AM, Lawrence R. Mulder wrote:
> Bob,
>
> You are on a BSD box? How about a netfilter firewall rule? Shouldn't be that difficult as an alternative to a localhost only binding if dovecot won't play nice.
>
> -----Original Message-----
> From: Bob [mailto:***@mtnlion.com]
> Sent: Thursday, May 14, 2015 10:11 AM
> To: Lawrence R. Mulder
> Subject: Re: [Maia-users] maia not authenticating
>
> Thanks for the update. I tried the code you sent from Dovecot 1. It
> doesn't work. dovecot 2 won't start with that code. While v2 is much
> more logical in terms of config, after reviewing the docs, I can't find
> a way to restrict pop3 to localhost. The dovecot wiki says it will
> accept the inet_listener command, but I was unable to get it to start
> once I added that clause to the service pop3 paragraph.
>
> Thanks,
> Bob
>
> On 5/13/2015 8:53 PM, Lawrence R. Mulder wrote:
>> The dovecot2 wiki claims it understands the old 1.2 config file format but may log warnings. Optionally you can convert the old config file to the new format using the doveconf tool like:
>>
>> # convert old config to new temp config file‎
>> doveconf -n -c /etc/dovecot/dovecot.conf > dovecot-2.conf
>>
>> If you need more info, you can check here:
>>
>> ‎http://wiki2.dovecot.org/Upgrading/2.0
>>
>>
>> Thanks,
>> -Larry
>>
>>
>> ________________________________________________
>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>> Vice President, InformAbility, Inc.
>> ***@informability.com
>> http://www.informability.com/about
>> http://www.facebook.com/InformAbility
>> Ph: 630-532-5941
>> Fx: 630-532-5955
>> ________________________________________________
>> Original Message
>> From: Bob
>> Sent: Wednesday, May 13, 2015 10:38 PM
>> To: Lawrence R. Mulder; maia-***@renaissoft.com
>> Subject: Re: [Maia-users] maia not authenticating
>>
>>
>> No, I'm using dovecot 2. It doesn't understand the lines you listed. I
>> tried them in the 20-pop3.conf which is where the pop3 config is now
>> stored.
>>
>> On 5/13/2015 10:24 AM, Lawrence R. Mulder wrote:
>>> In your dovecot.conf file, have a stanza like the following:
>>>
>>> service pop3-login {
>>> inet_listener imap {
>>> address = localhost
>>> port = 110
>>> }
>>>
>>> Thanks,
>>> -Larry
>>>
>>>
>>> -----Original Message-----
>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
>>> Sent: Wednesday, May 13, 2015 12:19 PM
>>> To: maia-***@renaissoft.com
>>> Subject: Re: [Maia-users] maia not authenticating
>>>
>>> How do you bind only to localhost with dovecot 2?
>>>
>>> On 5/11/2015 7:07 PM, Lawrence R. Mulder wrote:
>>>> You can enable pop3 as an authentication mechanism for maia by only binding it to localhost thereby not allowing outside users to actually use it to retrieve email. Barring binding it to only localhost, you can optionally firewall the pop ports off from users also.
>>>>
>>>> Thanks,
>>>> -Larry
>>>>
>>>>
>>>> ________________________________________________
>>>> Lawrence R. Mulder / RHCE, VTSP, SEC+
>>>> Vice President, InformAbility, Inc.
>>>> ***@informability.com
>>>> http://www.informability.com/about
>>>> http://www.facebook.com/InformAbility
>>>> Ph: 630-532-5941
>>>> Fx: 630-532-5955
>>>> ________________________________________________
>>>> Original Message
>>>> From: David Newman
>>>> Sent: Monday, May 11, 2015 9:05 PM
>>>> To: maia-***@renaissoft.com
>>>> Subject: Re: [Maia-users] maia not authenticating
>>>>
>>>>
>>>> On 5/11/15 3:10 PM, Dave Overton wrote:
>>>>> Obvious answer, enable POP3?
>>>>>
>>>>> IIRC, There is no reason not to,
>>>> Orthogonal to the OP's problem, but POP may introduce a support issue.
>>>>
>>>> I had a user who insisted on running POP and then complained that
>>>> messages on his computer weren't showing up on his phone. He also was
>>>> having problems with folders.
>>>>
>>>> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>>>>
>>>> dn
>>>>
>>>>
>>>>
>>>> IMAP and POP3 use the same everything (authentication, data storage,
>>>> etc) so just turn it on and fix your problem.
>>>>> Dave
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>>>>> Of Bob
>>>>>> Sent: Monday, May 11, 2015 2:19 PM
>>>>>> To: maia-***@renaissoft.com
>>>>>> Subject: [Maia-users] maia not authenticating
>>>>>>
>>>>>> I set up maia per the PHO instructions. It fails to authenticate any
>>>>>> address. I noticed that the instructions say to do the auth via pop3. I
>>>>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>>>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>>>>> _______________________________________________
>>>>>> Maia-users mailing list
>>>>>> Maia-***@renaissoft.com
>>>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>> _______________________________________________
>>>>> Maia-users mailing list
>>>>> Maia-***@renaissoft.com
>>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>>
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> Maia-***@renaissoft.com
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
David Morton
2015-05-14 16:26:50 UTC
Permalink
On 5/14/15 10:27 AM, Bob wrote:

> from now when I forgot that I did it. What we need, I think, is for Maia
> to permit IMAP or SQL auth. I think the reason dovecot dropped that

Maia has supported imap for years... what broke?

--
David Morton
***@dgrmm.net
Lawrence R. Mulder
2015-05-14 16:38:48 UTC
Permalink
Josh Small posted this to the list last year, I am not sure what the current status is:

...
All in all, the diff from the official Maia distribution and what I'm running is just shy of 8000 lines. At this point, it's in a private Github repository, which I'm happy to open up once it's had a few testers. If anyone is interested in testing, please contact me privately with a Github username. The major caveat is that I have only tested "internal" authentication types and others are more than likely broken. I'm happy to take patches here or elsewhere. I may be calling this "unofficial" but I've been using it heavily and successfully thus far.

Joshua Small
...


Thanks,
-Larry

-----Original Message-----
From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of David Morton
Sent: Thursday, May 14, 2015 11:27 AM
To: maia-***@renaissoft.com
Subject: Re: [Maia-users] maia not authenticating

On 5/14/15 10:27 AM, Bob wrote:

> from now when I forgot that I did it. What we need, I think, is for Maia
> to permit IMAP or SQL auth. I think the reason dovecot dropped that

Maia has supported imap for years... what broke?

--
David Morton
***@dgrmm.net
_______________________________________________
Maia-users mailing list
Maia-***@renaissoft.com
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Bob
2015-05-15 17:25:37 UTC
Permalink
"Internal" doesn't work in the current release. Only "pop3" works now.

On 5/14/2015 9:38 AM, Lawrence R. Mulder wrote:
> Josh Small posted this to the list last year, I am not sure what the current status is:
>
> ...
> All in all, the diff from the official Maia distribution and what I'm running is just shy of 8000 lines. At this point, it's in a private Github repository, which I'm happy to open up once it's had a few testers. If anyone is interested in testing, please contact me privately with a Github username. The major caveat is that I have only tested "internal" authentication types and others are more than likely broken. I'm happy to take patches here or elsewhere. I may be calling this "unofficial" but I've been using it heavily and successfully thus far.
>
> Joshua Small
> ...
>
>
> Thanks,
> -Larry
>
> -----Original Message-----
> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of David Morton
> Sent: Thursday, May 14, 2015 11:27 AM
> To: maia-***@renaissoft.com
> Subject: Re: [Maia-users] maia not authenticating
>
> On 5/14/15 10:27 AM, Bob wrote:
>
>> from now when I forgot that I did it. What we need, I think, is for Maia
>> to permit IMAP or SQL auth. I think the reason dovecot dropped that
> Maia has supported imap for years... what broke?
>
Bob
2015-05-13 17:17:44 UTC
Permalink
I really do NOT want to support POP. I want only IMAP with TLS/SSL.

On 5/11/2015 7:05 PM, David Newman wrote:
> On 5/11/15 3:10 PM, Dave Overton wrote:
>> Obvious answer, enable POP3?
>>
>> IIRC, There is no reason not to,
> Orthogonal to the OP's problem, but POP may introduce a support issue.
>
> I had a user who insisted on running POP and then complained that
> messages on his computer weren't showing up on his phone. He also was
> having problems with folders.
>
> ArrrrRRRRRRGH. And pointing nontechnical users to RFCs isn't much help.
>
> dn
>
>
>
> IMAP and POP3 use the same everything (authentication, data storage,
> etc) so just turn it on and fix your problem.
>> Dave
>>
>>
>>
>>> -----Original Message-----
>>> From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf
>>> Of Bob
>>> Sent: Monday, May 11, 2015 2:19 PM
>>> To: maia-***@renaissoft.com
>>> Subject: [Maia-users] maia not authenticating
>>>
>>> I set up maia per the PHO instructions. It fails to authenticate any
>>> address. I noticed that the instructions say to do the auth via pop3. I
>>> don't support pop3 on my server. I tried "imap" but that failed too.
>>> This is in the /usr/local/www/maia/config.php file. Any thoughts?
>>> _______________________________________________
>>> Maia-users mailing list
>>> Maia-***@renaissoft.com
>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>> _______________________________________________
>> Maia-users mailing list
>> Maia-***@renaissoft.com
>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>
> _______________________________________________
> Maia-users mailing list
> Maia-***@renaissoft.com
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
Loading...