question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Feature request: command line to execute before stablishing connections towards the e-mail server

See original GitHub issue

Hello,

Expected behavior

For 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).

This field would contain a command line which would be executed before trying to connect to the email server.

In my case, this would be useful, because I am planning to use fwknop in the linux server where I will have the email server.

The 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.

In these few seconds, the client can connect to the server because the ports are open.

fwknop2 is an application available in Android as open source code.

I 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.

Actual behavior

---------

Steps to reproduce

Environment

K-9 Mail version: For new versions

Android version: For all versions

Account type (IMAP, POP3, WebDAV/Exchange): For all account types

P.D. I suppose you are very busy with other implementations. In this case, I could offer my services to try to program this request. Although I am not very familiar with Android, I have quite experience programming with Java and I think I could succeed with this development.

Please, let me know what do you think about it.

Kind regards, Fran. ( frojasg1@hotmail.com )

EDIT: Post formatting changes only (@philipwhiuk)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
philipwhiukcommented, Oct 2, 2016

It seems like the best strategy is for K-9 to support proxying ( #704 )

So you’d have an Android application on the phone which proxied K-9 connections, sending the appropriate fwknop calls as applicable before opening the connection.

This is broadly how Android applications support, for example, TOR.

I don’t think adding specific settings to inject commands of some form is a good idea.

0reactions
philipwhiukcommented, Oct 3, 2016

I’m going to close this - outside of the linked ticket there’s no additional work to be done by K9 here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test SMTP connection and send test email - Febooti, Ltd.
The article describes how to troubleshoot SMTP connectivity by using ping and telnet commands, as well as sending test email from Automation Workshop....
Read more >
16 Command Examples to Send Email From The Linux ...
In this post you'll learn how to send emails from the Linux command line. I'll show the most often used commands, SMTP configuration...
Read more >
Command-line switches for Microsoft Office products
Use command-line switches to customize the startup process for Microsott Office programs: Word, Excel, PowerPoint, Outlook, and Access.
Read more >
Configure email server settings | Help desk admin guide
Configure incoming and outgoing e-mail settings such that it fetches emails and send notifications from within the ServiceDesk Plus application.
Read more >
Chapter 15. Mail Servers Red Hat Enterprise Linux 7
Each classification plays a specific role in the process of moving and managing email messages. While most users are only aware of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found