Mailpile icon indicating copy to clipboard operation
Mailpile copied to clipboard

using Mozilla Autoconfiguration for determining mail server settings

Open ferriswheel opened this issue 10 years ago • 12 comments

just installed and now testing mailpile. the auto setup did not find my imap server settings.

i have used the mozilla autoconf setup for many years for myself and tech support clients. mozilla created this method as an additional means of helping thunderbird users. it does require a subdomain in the form of autoconfig. and a couple of files on a webserver at that url. no other involvement from mozilla and no secrets are kept in the config xml file.

see https://wiki.mozilla.org/Thunderbird:Autoconfiguration and https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration

regards

ferriswheel avatar Aug 27 '15 09:08 ferriswheel

FYI: I'm trying to implement that :)

pinkpawkitty avatar Sep 12 '15 09:09 pinkpawkitty

@sycoso excellent!

The autodetection code actually has FIXMEs in place for this, in mailpile/plugins/setup_magic.py, which is where most of the autoconfig magic takes place. Please feel free to find me on IRC (BjarniRunar on #mailpile on Freenode) if you have any questions at all.

BjarniRunar avatar Sep 16 '15 12:09 BjarniRunar

This issue should be closed, right?

pinkpawkitty avatar Sep 24 '15 08:09 pinkpawkitty

hello,

i tested the master branch and found that moz autoconfig did not work. i suspect that the port number specified in my config.xml file was ignored. i suggest using all the the values in the xml file to give a user the control they require.

regards

On Thu, 24 Sep 2015 01:01:17 -0700 Jannis [email protected] wrote:

This issue should be closed, right?


Reply to this email directly or view it on GitHub: https://github.com/mailpile/Mailpile/issues/1393#issuecomment-142845987

ferriswheel avatar Sep 30 '15 09:09 ferriswheel

What exactly do you mean by "did not work"? I just tested it and it seems to take the port from the config…

pinkpawkitty avatar Sep 30 '15 15:09 pinkpawkitty

On Wed, 30 Sep 2015 08:04:24 -0700 Jannis [email protected] wrote:

What exactly do you mean by "did not work"? I just tested it and it seems to take the port from the config…


Reply to this email directly or view it on GitHub: https://github.com/mailpile/Mailpile/issues/1393#issuecomment-144439287

hello,

i am using non-standard ports. on one email server i have multiple instances of imapd, one per domain. each domain is assigned a different port number. thunderbird responds appropriately by reading the port number from the config.xml file.

i am hoping mailpile, in the next few months, is working sufficiently well to start trials in a community group. mailpile would become the recommended and supported email application with a potential 19K user base.

regards

ferriswheel avatar Oct 05 '15 06:10 ferriswheel

Oh, I think I get it… do you have multiple <emailProvider>s in your config.xml? It's just that I've never seen that before.

That sounds great :)

pinkpawkitty avatar Oct 05 '15 15:10 pinkpawkitty

hello,

i have one config.xml file per domain with one 'emailProvider id' entry. however, the set of domains use different instance of imapd configured to match the values (port, etc) in the respective config.xml file. the mta and mda may have different ip addresses and different locations specified by the 'hostname' entry in the config.xml file

on first reading of your question i could not see how multiple 'emailProvider id' entries would work. maybe that could done with all autoconfig urls reading a common config.xml file as configured in the web server.

regards

ferriswheel avatar Oct 06 '15 19:10 ferriswheel

Hi,

Then I don't know what's going wrong. Would it be possible to post the domain so I can test it or would you rather not do that?

I don't know if anyone has ever done that but I know that Mailpile wouldn't support it right now.

UPDATE: Or you're missing the python2 package "pydns"

pinkpawkitty avatar Oct 10 '15 07:10 pinkpawkitty

If you don't want to post your domain to the github for all to see, perhaps come to #mailpile on Freenode and chat with myself or @sycoso there? This is hard to fix with any confidence without having a proper test case.

BjarniRunar avatar Oct 11 '15 16:10 BjarniRunar

hello,

sorry for delayed reply.

try autoconfig.jetechserv.com

regards

ferriswheel avatar Oct 22 '15 03:10 ferriswheel

This issue hasn't seen any recent activity. Maintainer, should you close?

carlos157oliveira avatar Mar 12 '19 12:03 carlos157oliveira