Qtmail

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Configuration for encrypted mail)
(Configuration for encrypted mail)
 
Line 16: Line 16:
 
==Configuration for encrypted mail==
 
==Configuration for encrypted mail==
  
1. qtmail is already installed by default, but it doesn't support ssl/tls, so we will make it use ssl/tls
+
1. qtmail is already installed by default, but it doesn't support ssl/tls, So we will make it use ssl/tls
 
  cd /usr/lib
 
  cd /usr/lib
  ln -s libssl.so.0.9.7 libssl.so
+
  ln -s libssl.so.0.9.8 libssl.so
  ln -s libcrypto.so.0.9.7 libcrypto.so
+
  ln -s libcrypto.so.0.9.8 libcrypto.so
  
2. you will need the c_rehash script, which is not in the OM repositories. as it is a perl script, it will run on any machine with perl, and can be copied direct from your desktop/laptop. it will be in /usr/bin . copy it to the same location on your neo, ensure it is permitted to execute
+
2. You will need the c_rehash script, which is not in the OM repositories. As it is a perl script, it will run on any machine with perl, and can be copied direct from your desktop/laptop. It will be in /usr/bin. Copy it to the same location on your neo. Ensure it is permitted to execute.
  
3. then we need to import our certificate
+
3. Get openssl.
change 'myprovider' and 'port' according to your settings:
+
apt-get install openssl
on the freerunner (possibly via ssh), do:
+
 
 +
4. Then we need to import our certificate. Change 'myprovider' and 'port' according to your settings.  On the freerunner (possibly via ssh), do:
 
  openssl s_client -connect 'myprovider':'port' -showcerts
 
  openssl s_client -connect 'myprovider':'port' -showcerts
  
examples:
+
Examples:
 
*gmail:
 
*gmail:
 
**myprovider: imap.googlemail.com
 
**myprovider: imap.googlemail.com
Line 37: Line 38:
 
**port:?
 
**port:?
  
 
+
5. Copy the part between (and including):
4. copy the part between(and including ):
+
 
  -----BEGIN CERTIFICATE-----
 
  -----BEGIN CERTIFICATE-----
 +
...
 
  -----END CERTIFICATE-----
 
  -----END CERTIFICATE-----
  
 +
6. Create a directory to contain the file, e.g. /path/to/the/directory.  Then write the certificate to a file in that directory, where the filename ends in .crt, e.g. /path/to/the/directory/yourisp.crt.  Then do
 +
c_rehash /path/to/the/directory
 +
Now create the qtmoko certs directory and copy the c_rehash output to that new directory:
 +
mkdir -p /opt/qtmoko/etc/ssl/certs
 +
cp /path/to/the/directory/* /opt/qtmoko/etc/ssl/certs
  
5. put it in a file,that you will put on a folder,then do
+
7. Configure qtmail according to your mail provider settings, and it should work.  Note that qtmail always defaults the port for the outgoing server to 143 but this might be wrong, e.g, IMAP4 over SSL (IMAPS) uses port 993.  Your mailserver might be configured to use nonstandard ports.
c_rehash /path/to/the/folder
+
then copy the content of the folder to /opt/Qtopia/etc/ssl/certs/
+
 
+
6. then need to configure qtmail according to your mail provider settings, and it should work
+
  
 
<onlyinclude>
 
<onlyinclude>

Latest revision as of 01:15, 27 November 2010

Qtmail on Om 2008.8
E-mail button is available after configuring outgoing account.

Qtmail is one of the applications that runs on the Openmoko Phones. For a list of all applications, visit Applications

Qtmail is the default mail application on Om 2008.8. It is called Messages on the main screen. Qtmail supports POP3, IMAP, SMTP, SMS, MMS, EMS.

[edit] Basic setup

To send e-mail you need to set up at least one outgoing e-mail account. After this setup you can start sending e-mails from your Contacts list too.

  • Start Messages
  • Click Options and choose Account settings...
  • Click Options and choose Add account...
  • Configure your e-mail account and outgoing server settings

[edit] Configuration for encrypted mail

1. qtmail is already installed by default, but it doesn't support ssl/tls, So we will make it use ssl/tls

cd /usr/lib
ln -s libssl.so.0.9.8 libssl.so
ln -s libcrypto.so.0.9.8 libcrypto.so

2. You will need the c_rehash script, which is not in the OM repositories. As it is a perl script, it will run on any machine with perl, and can be copied direct from your desktop/laptop. It will be in /usr/bin. Copy it to the same location on your neo. Ensure it is permitted to execute.

3. Get openssl.

apt-get install openssl

4. Then we need to import our certificate. Change 'myprovider' and 'port' according to your settings. On the freerunner (possibly via ssh), do:

openssl s_client -connect 'myprovider':'port' -showcerts

Examples:

  • gmail:
    • myprovider: imap.googlemail.com
    • port: 993
  • yahoo
    • myprovider:?
    • port:?

5. Copy the part between (and including):

-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

6. Create a directory to contain the file, e.g. /path/to/the/directory. Then write the certificate to a file in that directory, where the filename ends in .crt, e.g. /path/to/the/directory/yourisp.crt. Then do

c_rehash /path/to/the/directory

Now create the qtmoko certs directory and copy the c_rehash output to that new directory:

mkdir -p /opt/qtmoko/etc/ssl/certs
cp /path/to/the/directory/* /opt/qtmoko/etc/ssl/certs

7. Configure qtmail according to your mail provider settings, and it should work. Note that qtmail always defaults the port for the outgoing server to 143 but this might be wrong, e.g, IMAP4 over SSL (IMAPS) uses port 993. Your mailserver might be configured to use nonstandard ports.


Qtmail-account.png Qtmail

The Qtopia mail and SMS application, default Messages application on Om 2008.8


Homepage: http://qtopia.net
Package: qtopia-phone-x11-qtmail
Tested on: Om 2008.12

Personal tools
Qtmail on Om 2008.8
E-mail button is available after configuring outgoing account.

Qtmail is one of the applications that runs on the Openmoko Phones. For a list of all applications, visit Applications

Qtmail is the default mail application on Om 2008.8. It is called Messages on the main screen. Qtmail supports POP3, IMAP, SMTP, SMS, MMS, EMS.

Basic setup

To send e-mail you need to set up at least one outgoing e-mail account. After this setup you can start sending e-mails from your Contacts list too.

  • Start Messages
  • Click Options and choose Account settings...
  • Click Options and choose Add account...
  • Configure your e-mail account and outgoing server settings

Configuration for encrypted mail

1. qtmail is already installed by default, but it doesn't support ssl/tls, so we will make it use ssl/tls

cd /usr/lib
ln -s libssl.so.0.9.7 libssl.so
ln -s libcrypto.so.0.9.7 libcrypto.so

2. you will need the c_rehash script, which is not in the OM repositories. as it is a perl script, it will run on any machine with perl, and can be copied direct from your desktop/laptop. it will be in /usr/bin . copy it to the same location on your neo, ensure it is permitted to execute

3. then we need to import our certificate change 'myprovider' and 'port' according to your settings: on the freerunner (possibly via ssh), do:

openssl s_client -connect 'myprovider':'port' -showcerts

examples:

  • gmail:
    • myprovider: imap.googlemail.com
    • port: 993
  • yahoo
    • myprovider:?
    • port:?


4. copy the part between(and including ):

-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----


5. put it in a file,that you will put on a folder,then do

c_rehash /path/to/the/folder

then copy the content of the folder to /opt/Qtopia/etc/ssl/certs/

6. then need to configure qtmail according to your mail provider settings, and it should work


Qtmail-account.png Qtmail

The Qtopia mail and SMS application, default Messages application on Om 2008.8


Homepage: http://qtopia.net
Package: qtopia-phone-x11-qtmail
Tested on: Om 2008.12