Qtmail
From Openmoko
(→Configuration for encrypted mail) |
Ericehlers (Talk | contribs) (→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, | + | 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. | + | ln -s libssl.so.0.9.8 libssl.so |
− | ln -s libcrypto.so.0.9. | + | ln -s libcrypto.so.0.9.8 libcrypto.so |
− | 2. | + | 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. | + | 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 | openssl s_client -connect 'myprovider':'port' -showcerts | ||
− | + | Examples: | |
*gmail: | *gmail: | ||
**myprovider: imap.googlemail.com | **myprovider: imap.googlemail.com | ||
Line 37: | Line 38: | ||
**port:? | **port:? | ||
− | + | 5. 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 | ||
− | + | 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. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<onlyinclude> | <onlyinclude> |
Latest revision as of 01:15, 27 November 2010
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
The Qtopia mail and SMS application, default Messages application on Om 2008.8
|