arnoldle / phplist-plugin-submitByMailPlugin

Elements of a plugin to submit messages to Phplist by mail. In development. Planning for June release.
3 stars 6 forks source link

Submission address != POP3 username #8

Closed flamble-greg closed 8 years ago

flamble-greg commented 9 years ago

Version: 1.0b2.12

Please add a field to allow a POP3 username to be specified. Currently, the username is assumed to be the submission address, which is not the case for some mail servers.

arnoldle commented 9 years ago

Do you have some documentation for this? I put the system together with hosting services in mind. The services with which I have experience all require the entire address as the user name, for example, ‘auser@nowhere.org’.

If you know of systems that do it differently, I would like to have the information.

Arnold

On Nov 10, 2015, at 6:23 AM, flamble-greg notifications@github.com wrote:

Version: 1.0b2.12

Please add a field to allow a POP3 username to be specified. Currently, the username is assumed to be the submission address, which is not the case for some mail servers.

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/8.

flamble-greg commented 9 years ago

Hi Arnold

Certainly. Take Dovecot (one of the most popular open source POP3/IMAP servers). By default, it utilises local user accounts for authentication: http://wiki2.dovecot.org/PasswordDatabase

Although the submission address is phplist@example.com, the username might simply be 'phplist'. While I accept that there are way to work around this at a server level, it would be a useful feature to have to be able to specify a separate POP3 username to be used by submitByMail.

Greg

arnoldle commented 8 years ago

I think that I can fix this, but there are implications for most of the code files. It will take a few days.

Arnold

On Nov 19, 2015, at 1:06 PM, flamble-greg notifications@github.com wrote:

Hi Arnold

Certainly. Take Dovecot (one of the most popular open source POP3/IMAP servers). By default, it utilises local user accounts for authentication: http://wiki2.dovecot.org/PasswordDatabase http://wiki2.dovecot.org/PasswordDatabase Although the submission address is phplist@example.com mailto:phplist@example.com, the username might simply be 'phplist'. While I accept that there are way to work around this at a server level, it would be a useful feature to have to be able to specify a separate POP3 username to be used by submitByMail.

Greg

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/8#issuecomment-158159771.

arnoldle commented 8 years ago

Hi Greg!

I have modified the plugin so that it tries both the submission address and the user name (generated from the submission address by taking the part of the address before the ‘@‘) as the POP3 login. When a list is configured, it tries the submission address as the login. If that does not work, it tries the user name. It remembers which one works, and then uses that one to download mail for the list.

My problem is that I cannot find a server using only the user name. I have looked among the free email services, as well as the paid hosting services that I have access to. None use just the user name.

So I cannot test this new feature. Since you asked for this, perhaps you might test this feature for me. If you send me your email address, I will send you a zip file of the newest version. I don’t want to do a public release until the version is tested.

Arnold

On Nov 19, 2015, at 1:06 PM, flamble-greg notifications@github.com wrote:

Hi Arnold

Certainly. Take Dovecot (one of the most popular open source POP3/IMAP servers). By default, it utilises local user accounts for authentication: http://wiki2.dovecot.org/PasswordDatabase http://wiki2.dovecot.org/PasswordDatabase Although the submission address is phplist@example.com mailto:phplist@example.com, the username might simply be 'phplist'. While I accept that there are way to work around this at a server level, it would be a useful feature to have to be able to specify a separate POP3 username to be used by submitByMail.

Greg

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/8#issuecomment-158159771.

flamble-greg commented 8 years ago

Hi Arnold

I have just tested version 1.0b2.13 and can confirm that the new feature is working brilliantly.

Many thanks!

Greg