Which e-mail IMAP/SMTP app ?
#1
Hi,

Which e-mail application is usable with UBPorts ?
I tried Dekko2 but it doesn't work correctly.

Nicolas
#2
At present, only Dekko2.
I think that possibly Mutt (small text-based email client) Wink
#3
(03-05-2020, 01:43 PM)pawlinsk Wrote: I think that possibly Mutt (small text-based email client) Wink

I'll wait for Dekko2 to work correctly Big Grin
#4
(03-05-2020, 06:16 AM)drpi Wrote: Hi,

Which e-mail application is usable with UBPorts ?
I tried Dekko2 but it doesn't work correctly.

Nicolas

How is it not working? What error do you get?
I have it working on mine although sometimes when I open it, the system crashes and needing a reboot but other that, it works fine.
I did not configure my setup on my pinephone though, I copied the data from my other UT device.
#5
(03-08-2020, 09:56 AM)kugiigi Wrote:
(03-05-2020, 06:16 AM)drpi Wrote: Hi,

Which e-mail application is usable with UBPorts ?
I tried Dekko2 but it doesn't work correctly.

Nicolas

How is it not working? What error do you get?
I have it working on mine although sometimes when I open it, the system crashes and needing a reboot but other that, it works fine.
I did not configure my setup on my pinephone though, I copied the data from my other UT device.

The problem is with the UI. When configuring a new account, the UI is, most often, not updated while typing. I have to switch to another application and switch back to Dekko2 for the UI to update. This is very annoying. Creating a new account is very laborious. Same problem when typing a message.
It looks like messages are received correctly (just made simple tests). I did not try to send one.

Note : I filled a bug on gitlab
#6
I have the same problem with the UI not updating. If the keyboard is not on screen then the UI updates fine. Unfortunately the keyboard not being on screen also makes it quite difficult to enter information. I cannot actually configure my email accounts as having to toggle the apps causes the keyboard to always appear leaving me unable to press the next button. It did work for another account but would crash when opened. Both issues are reported already from what I see.

I also tried to use a "normal" linux desktop client with libertine but could not quite get libertine working.

So for the time being I installed rainloop webmail client via ssh

sudo su
apt update
apt install nginx-light php7.0-fpm php7.0-curl php7.0-xml

made a directory in /opt, downloaded and extracted a copy of rainloop community edition from
https://www.rainloop.net/downloads/
mkdir -p /opt/rainloop
cd /opt/rainloop
wget https://www.rainloop.net/repository/webm...latest.zip
unzip rainloop-community-latest.zip

Then entered the following for configuration in nginx
mv /etc/nginx/site-available/default /etc/nginx/sites-available/original
nano /etc/nginx/sites-enabled/default
Code:
server {
    listen 80 default_server;

    root /opt/rainloop/;
    index index.php index.html index.htm index.nginx-debian.html;

    server_name 127.0.0.1;

    location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
    include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    location ^~ /data {
      deny all;
    }

    location ~ /\.ht {
        deny all;
    }
}

Restarted nginx
service nginx restart

Edit the php configuration so that the option to fuzzy match files is disabled
nano /etc/php/7.0/fpm/php.ini

Look for the line
#cgi.fix_pathinfo=1
uncomment and set to 0
cgi.fix_pathinfo=0

save and restart php
/etc/init.d/php7-fpm restart

Opened a browser on my computer and entered the address http://ip-of-phone/?admin
User: admin
Pass: 12345

Note: It may be possible to do this setup on phone in morph browser under desktop mode. It does not work on the phone under mobile view as the left side menu does not appear.

Under domains add / configure your @domains server settings for logging in.
Under security you should probably change your admin password
Logout.

Back in the ssh session open your nginx config again and change the listen line to only listen on localhost
listen 127.0.0.1:80 default_server;
save, close, and restart the nginx service.

In morph browser type in the address bar
http://localhost/

Login to your account. ex: myname@gmail.com mypass


Optionals:

If you have multiple accounts, after logging into one account you can press the person icon in the top right and press add account (as long as you set it up in the domains section earlier). You are then able to switch accounts by pressing the person icon followed by the account.

To make a shortcut on the side bar or under the applications
Add a .desktop file in /usr/share/applications/. I named mine mail.desktop
nano /usr/share/applications/mail.desktop

with the contents as follows, which a copy of morph-browser.desktop originally
Code:
[Desktop Entry]
Version=1.0
Name=Mail
Type=Application
Icon=/usr/share/icons/Adwaita/scalable/status/mail-unread-symbolic.svg
Exec=morph-browser --new-window http://localhost
Terminal=false
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
X-Ubuntu-Touch=true
X-Ubuntu-Gettext-Domain=mail
X-Ubuntu-Single-Instance=true
X-Ubuntu-Default-Department-ID=web-browsers
X-Screenshot=/usr/share/icons/Adwaita/scalable/status/mail-unread-symbolic.svg
X-Ubuntu-Splash-Color=#FFFFFF
Actions=new-window;Incognito;

You should then (or shortly after saving) see the mail item in the applications menu. When you press it to run it is then possible to pin to the quick start menu via long press.
#7
(04-14-2020, 09:45 PM)antiX-Dave Wrote: So for the time being I installed rainloop webmail client via ssh
Thanks for the tip and fantastic tutorial. Will be trying this.


Possibly Related Threads…
Thread Author Replies Views Last Post
  E-mail on the pine phone thorensjubilee 4 3,437 02-05-2023, 04:57 AM
Last Post: thorensjubilee
  Dekko Mail no account configurable firefox-58 3 5,692 07-22-2020, 04:59 AM
Last Post: firefox-58

Forum Jump:


Users browsing this thread: 1 Guest(s)