View Single Post
Old 15-09-2007   #42
HB13DISH
Archived Member
 
Join Date: 13-08-2007
Location: Middle East - Israel
Posts: 3774
Thanks: 192
Thanked 459 Times in 356 Posts
TuxMail 1.41 Configuration Procedure

With the DreamBox, it is possible to receive, read, compose and reply to messages using the latest TuxMail plugins.

Previous versions caused the box to hang, but apparently version 1.41 is a lot more stable.

The tuxmail 1.41 is a mail utility that can be installed in your DreamBox with Gemini 4.0 from the addon (blue) button.
It can show text, but not attachments in other formats (*.doc, *. pdf, *.jpg, etc)

I had a hard time trying to setup it up because I didn't find any documentation in English about how to configure it up.
There were few threads that were helpful in German.
Credit goes to:
http://wiki.tuxbox.org/Plugins:E-Mail
and to LAVAZZA from Dream-P****** with his excellent review and examples.

Procedure:

1 - Enable HTTPD
Blue Button > Extra / Settings > Little Apache > Check Enable/Disable HTTPD > Green Button restart until you see it running

2 - TuxMail 1.41 Installation

Blue Button > addons > download (Gemini Server) > Plugins (30 entries) >
TuxMail 1.41

Download and install as usual, then restart DreamBox.

3 - Initial Testing

Blue Button > Plugins (Tools) > E-Mail

You will see a blue screen with nothing inside except a heading in German

meaning that there is no information.

Click on the Standby button (don't worry it will not shut the box when this plugin is loaded.

You will see this message:

TuxMail Statusinfo
Autostart deaktiviert (meanig: Auto start inactive) Press OK

Press standby button again and the message reads
Autostart Aktiviert (meanig: Auto start is active) Press ok

Next

Click on the mute button and you will see this message
Daemon ist nicht geladen!
Click ok

Click on the mute button again and you will get the same message

Later on when you input the correct configuration, you will get hopefully this message

Daemon ist geladen or the equivalent in English
(Yes, there is an English interface


4 - Cofiguring the tuxmail 1.41
4.1 Original file
FTP connect to your box
Look for this file: var/tuxbox/config/tuxmail/tuxmail.conf

Uploaded it to your PC to say /temp and then open it using UltraEdit-32

The file looks like this (We will change for the time being only few, those fields marked in red in order to get it to work and then you can play with the other fields to suit your needs)


STARTDELAY=30
INTERVALL=15

LOGGING=Y
LOGMODE=S

SAVEDB=Y

AUDIO=Y
VIDEO=1

LCD=Y
OSD=G

SKIN=1

TYPEFLAG=1

CONFIGCODE=
ADMIN=Y

MAILCACHE=5
MAILDIR=/tmp/
SECURITY=

WEBPORT=80
WEBUSER=
WEBPASS=

NAME0=
POP30=
IMAP0=
USER0=
PASS0=
SMTP0=
FROM0=CODE0=
AUTH0=
SUSER0=
SPASS0=
INBOX0=

4.2 Modifications and explanations
INTERVALL=15
This is the time interval to fetch messages
Change it to 5
INTERVALL=5

AUDIO=Y
This is a sound alert that you have got mail. Usually it is a *.wav file that is activated when a new message is loaded.
You can change it by uploading your preferred *.wav message. Leave the default as Y, otherwise change it to N if you don't want to get interruptions while you are watching your favourite movie.
AUDIO=Y

VIDEO=1
This is the a flag for a visual indication that you got mail. Options:
1= Plugin starts
2=Enigma popup
3=Neutrino message
4=Neutrino popup
5=No visual indication
I will leave it as 1
VIDEO=1

OSD=G
This is the language interface. Change to E for English
OSD=E

SKIN=1
This is the background color of the interface. 1=Blue, 2=GreyI will keep it in Blue
SKIN=1

WEBUSER=

WEBPASS=

This is the the DreamBox login and password. Change to the usual values, unless you have changed the password.

WEBUSER=root
WEBPASS=dreambox

NAME0=
This is the login name to your mail box (inbox)
If your name is John Smith and you have an account with yahoo.com, then
NAME0=john_smith@yahoo.com

POP30=
This is the mail server method for pop3. For the above example
POP30=pop.mail.yahoo.com

USER0=
This is the user name without the @
USER0=John_Smith

PASS0=
This is your mail account password, let us say John Smith password is 12345678
PASS0=
12345678


SMTP0=
This is the outgoing mail server to enable you to send messages
SMTP0=smtp.mail.yahoo.com

FROM0=
This is your full e-mail address
FROM0=john_smith@yahoo.com
CODE0=
This is a PIN number that you can choose so that only you can see the e-mail messages. You get a popup message asking for the PIN number when you load the plugin.

AUTH0=
This is the authentication flag for SMTP. Change it to 0 , unless you need SMTP authentication. Options:
0=none
1=POP3 parameter
2=SMTP USER? and PASS?Note1: The "0" indicates the number of the user.
It is possible to check the mail of several people, all you have to do is change 0 to 1, 2, 3, etc. and add to the configuration file.Note 2
: I had a rough time between the
NAME0=
andUSER0=
I finally used the same for both i.e john_smith@yahoo.com and it worked for me.
But you have to experiment until you get the correct setting.

When you have made all the changes to the file, save it as a unix file and using your usual FTP application, replace the original file (overwrite).

I suggest that you keep the original file in a safe place so that you can refer to it afterwards since things get a bit messy until you get the tuxmail to work.

Then restart the Dreambox.


5 - How to initialize TuxMail

Just click on blue button > plugins > E-Mail
Then follow the procedure in
3 - Initial Testing

After a little while (assuming you have got your setup correctly), press the red button and you should see your mail inbox with unread messages with yellow flag dots.
Select any message with the up-down buttons and then click on the yellow button to read it.
Exit with the Lame red button and you are back to the mail message list.

Click on the green button and you get the reply interface.
With a DreamBox Keyboard, composing and replying to messages can be a lot more convenient.Click on the yellow button several times until you see "
Keyboard"You have to check if your outgoing mail is working.Send a short message to yourself and if you receive it in your Outlook in your PC or in tuxmail, then you have a working system.

With the window showing the messages list, you can mark messages as spam by pressing on the blue button. The message is flaged in red.
When you exit the TuxMail and then load it after a while, you will notice that the spam messages have been deleted.

6- Exit using the Lame button.

Hope that with this procedure you will get tuxmail to work for you in a very short time.
It took me 3 days to qualify as an Idiot


Click here for Index

Last edited by T_G; 15-09-2007 at 08:07 PM.
HB13DISH is offline  
The Following 2 Users Say Thank You to HB13DISH For This Useful Post:
paperbag (17-05-2009), T_G (15-09-2007)