{"action":"created","issue":{"url":"https://api.github.com/repos/k9mail/k-9/issues/1657","repository_url":"https://api.github.com/repos/k9mail/k-9","labels_url":"https://api.github.com/repos/k9mail/k-9/issues/1657/labels{/name}","comments_url":"https://api.github.com/repos/k9mail/k-9/issues/1657/comments","events_url":"https://api.github.com/repos/k9mail/k-9/issues/1657/events","html_url":"https://github.com/k9mail/k-9/issues/1657","id":180521205,"number":1657,"title":"New Feature request: command line to execute before stablishing connections towards the e-mail server","user":{"login":"frojasg1","id":19916620,"avatar_url":"https://avatars.githubusercontent.com/u/19916620?v=3","gravatar_id":"","url":"https://api.github.com/users/frojasg1","html_url":"https://github.com/frojasg1","followers_url":"https://api.github.com/users/frojasg1/followers","following_url":"https://api.github.com/users/frojasg1/following{/other_user}","gists_url":"https://api.github.com/users/frojasg1/gists{/gist_id}","starred_url":"https://api.github.com/users/frojasg1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frojasg1/subscriptions","organizations_url":"https://api.github.com/users/frojasg1/orgs","repos_url":"https://api.github.com/users/frojasg1/repos","events_url":"https://api.github.com/users/frojasg1/events{/privacy}","received_events_url":"https://api.github.com/users/frojasg1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-02T16:39:15Z","updated_at":"2016-10-02T20:23:04Z","closed_at":null,"body":"Hello,\r\n\r\n### Expected behavior\r\n\r\nFor me it would be very useful the application to have the possibility to store, for every account, an optional field (command line to execute before stablishing the connection towards the email server).\r\n\r\nThis field would contain a command line which would be executed before trying to connect to the email server.\r\n\r\nIn my case, this would be useful, because I am planning to use fwknop in the linux server where I will have the email server.\r\n\r\nThe fwknop functionality gives you the possibility to close all ports of your server until the server receives an appropiate combination of tcp messages. In such a case, the fwknop server would create firewall rules to open the port requested for a few seconds.\r\n\r\nIn these few seconds, the client can connect to the server because the ports are open.\r\n\r\n\r\nfwknop2 is an application available in Android as open source code.\r\n\r\nI suppose this fwknop2 application could be modified to have the possibility of being invoked to send the fwknop messages from the command line, and then, using the new feature just requested for k-9, open the ports before attemting to connect to the email server.\r\n\r\n\r\n### Actual behavior\r\n    ---------\r\n\r\n### Steps to reproduce\r\n1.\r\n2.\r\n3.\r\n\r\n### Environment\r\nK-9 Mail version:           For new versions\r\n\r\nAndroid version:            For all versions\r\n\r\nAccount type (IMAP, POP3, WebDAV/Exchange):           For all account types\r\n\r\n\r\nP.D.\r\nI suppose you are very busy with other implementations.\r\nIn this case, I could offer my services to try to program this request.\r\nAlthough I am not very familiar with Android, I have quite experience programming with Java and I think I could succeed with this development.\r\n\r\nPlease, let me know what do you think about it.\r\n\r\nKind regards,\r\nFran.        ( frojasg1@hotmail.com )\r\n\r\nEDIT: Post formatting changes only (@philipwhiuk)"},"comment":{"url":"https://api.github.com/repos/k9mail/k-9/issues/comments/250993350","html_url":"https://github.com/k9mail/k-9/issues/1657#issuecomment-250993350","issue_url":"https://api.github.com/repos/k9mail/k-9/issues/1657","id":250993350,"user":{"login":"philipwhiuk","id":1316415,"avatar_url":"https://avatars.githubusercontent.com/u/1316415?v=3","gravatar_id":"","url":"https://api.github.com/users/philipwhiuk","html_url":"https://github.com/philipwhiuk","followers_url":"https://api.github.com/users/philipwhiuk/followers","following_url":"https://api.github.com/users/philipwhiuk/following{/other_user}","gists_url":"https://api.github.com/users/philipwhiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwhiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwhiuk/subscriptions","organizations_url":"https://api.github.com/users/philipwhiuk/orgs","repos_url":"https://api.github.com/users/philipwhiuk/repos","events_url":"https://api.github.com/users/philipwhiuk/events{/privacy}","received_events_url":"https://api.github.com/users/philipwhiuk/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T20:23:04Z","updated_at":"2016-10-02T20:23:04Z","body":"It seems like the best strategy is for K-9 to support proxying ( #704 )\r\n\r\nSo you'd have an Android application on the phone which proxied K-9 connections, sending the appropriate `fwknop` calls as applicable.\r\n\r\nThis is broadly how Android applications support, for example, TOR.\r\n\r\nI don't think adding specific settings to inject commands of some form is a good idea."}}
{"actor":{"display_login":"philipwhiuk"}}