Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Handeich

Pages: [1]
1
Installation and Upgrades / Re: freshclam is outdated
« on: January 31, 2009, 09:30:25 pm »
ok - thanx...

So I will try that...  :)

2
Installation and Upgrades / Re: freshclam is outdated
« on: January 22, 2009, 09:27:35 pm »
Is it working? What about the above mentioned problems with squid and dansguardian?

3
Installation and Upgrades / Re: Add Recycle Bin to samba shares
« on: January 21, 2009, 12:14:28 pm »
There is an error in the script...

You're right - thanks for the post!
I found the error yesterday, too - but I have searched a while... ;-)

Another thing: it seems, that my configuration ignores the "recycle:maxsize" parameter (also files over the specified size are copied into the .recycle folder).

Do you have any suggestions to that?

4
Installation and Upgrades / Re: German letters ä/ö/ü...
« on: January 08, 2009, 12:40:15 am »
Just another hint: for german characters it is normally charset 850, but with the charset 858 you can also use the Euro-symbol - it works!

Handeich, Germany   ;)

5
Thanx for your reply - good to hear that.

I'm using 1.0rc1 or 0.12.99 - I thought this is the newest version?!

6
Installation and Upgrades / Re: Fetchmail
« on: January 07, 2009, 02:08:14 am »
Ahh - and to the admins...

Nevertheless I would like to have an built-in fetchmail module. I was looking at the SME-server projekt, too - but I like eBox much more! ;) Together with the smtp auth function (which already has been announced) it would make the eBox a very complete solution (also as a simple and fast home server).

Thanx for the good work again!

7
If I want to use the function "force log purge" (logs, configuration, force log purge) I get an error message

"Lifetime parameter must be a positive number of hours"

The chosen period (one hour ... one day ... ninety days) has no effect - the error occures every time. I'm using eBox 1.0rc1. Any idea?

8
Installation and Upgrades / Re: ebox as mail gateway
« on: January 05, 2009, 12:34:11 pm »
@sartic: back to your original question - maybe this will help:
http://forum.eboxplatform.com/index.php?topic=892.0

10
Installation and Upgrades / Re: Help configuring pop3/smtp/imap
« on: January 05, 2009, 12:31:48 pm »
You may look here for a complete "tutorial"...
http://forum.eboxplatform.com/index.php?topic=892.0

11
Installation and Upgrades / Re: Fetchmail
« on: January 05, 2009, 12:31:08 pm »
Maybe this will help:
http://forum.eboxplatform.com/index.php?topic=892.0

This is the configuration I was looking for - and it's running like hell  :)

12
Installation and Upgrades / eBox as mail gateway + smtpauth + fetchmail
« on: January 04, 2009, 07:19:00 pm »
EBOX INSTALLATION AS MAIL GATEWAY WITH SMTP AUTHENTICATION AND FETCHMAIL


After I have read the documenation and many many posts in this forum, I finally get my eBox System
to work running as mail gateway. Because it was much work and I needed a lot of time, I wrote this
little "tutorial" for all people, who would like to do the same...

I am NOT very familar with linux, so use this as a tutorial for all newbies and dummys ;-)


We use the following users and passwords:

eBox Admin: eboxadmin (password: adminpass)
eBox User: eboxuser  (password: userpass)

Your providers settings:
Mail adress: eboxuser@yourdomain.com (password: mailpass)
Provider smtp-server: smtp.yourdomain.com
Provider pop3-server: pop.yourdomain.com

If you can't select something during the configuration try to save the changes first, i.e. if you have generated a new virtual mail domain, this domain will be not available for user mail account until you have saved the changes.

Oh, and use all instructions always without the ""

And now: let's go!



1. INSTALLING EBOX

Install eBox via eBox Installer (here: 1.0 RC 1 with Ubuntu 8.04)

During the installation generate a user i.e. "eboxadmin" with password "adminpass"
Don't allow login as "root" (because this is not nessessary and a security risk)



2. SETUP EBOX

Set up your ebox-Server with networks adresses and anything else what you need. Help for that
can be found in the documentation and here in the forum. If your eBox is running smootherly we
can go further setting up the mail gateway.

eBox administration -> Objects
Generate a new object i.e. "local_pc"
Add all your PCs as members to this object

eBox administration -> Mail -> Virtual mail domains
Add a new domain "localhost"

eBox administration -> Mail -> General

Tab: "Mail server options"
Authentication:
TLS for SMTP server: yes
Require authentication: yes
   
Options:
Smarthost to send mail: "smtp.yourdomain.com" (smtp-server of your provider)

Mail retrieval services:
POP3 service enabled: yes
IMAP service enabled: no
SSL Support: no

Tab: Relay policy for network objects
Add new object, here "local_pc" and set the option "Allow relay" ("yes")


eBox administration -> Users -> Add user

Add a new user, i.e. "eboxuser" with passwort "userpass"

eBox administration -> Users -> Edit user

Edit your new user and create a mail-account, i.e. "eboxuser" with domain "localhost" ("eboxuser@localhost")



3. SETUP SMTP AUTHENTICATION

At this point the web-administration ends, now you have to do the rest manually (console)...

Console login

Login as "eboxadmin" with passwort "adminpass"

Edit /usr/share/ebox/stubs/mail/main.cf.mas

Type "cd /usr/share/ebox/stubs/mail"
Type "sudo nano main.cf.mas

Look for this line:

Code: [Select]
relayhost = <% $relay %>
Right after this line you must add:

Code: [Select]
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_pass
smtp_sasl_security_options = noanonymous

Press Ctrl-X and save the changes.

Create /etc/postfix/smtp_pass

Type "cd /etc/postfix"
Type "sudo nano smtp_pass"

Add the line

Code: [Select]
smtp.yourdomain.com eboxuser@yourdomain.com:mailpass
Press Ctrl-X and save the changes.

Postmap smtp_pass

Type "sudo postmap /etc/postfix/smtp_pass"

Restart mail / eBox

Now you should restart ebox mail module or just reboot your server.

Restart mail module:

Type "sudo /etc/init.d/ebox mail restart"

OR

Reboot server:

Type "sudo reboot"



4. SETUP FETCHMAIL

Install fetchmail

Type "sudo apt-get install fetchmail"

This installs the fetchmail package on your server.

Setup fetchmail

Type "cd /home/eboxuser"
Type "nano .fetchmailrc"

Add the following lines:

Code: [Select]
poll pop.yourdomain.com with proto pop3
user eboxuser@yourdomain.com there with password mailpass is eboxuser@localhost here

Press Ctrl-X and save the changes.

Type "chmod 600 .fetchmailrc"

Testing fetchmail

Type "fetchmail"

If it runs without errors your setup should be ok.

Setup fetchmail scheduling

Type "cd /etc"
Type "sudo nano crontab"

At the end add the following new line

Code: [Select]
*/10 *  * * *   eboxadmin   fetchmail

Press Ctrl-X and save the changes.



5. SETUP E-MAIL CLIENTS

In your eMail-client you have to use the following settings

eMail-adress: eboxuser@yourdomain.com
username:     eboxuser@localhost
password:     userpass
pop3-server (mail in):  the ip or name of your ebox-server, Port: 110
smtp-server (mail out): the ip or name of your ebox-server, Port: 25, server requires athentication



6. FINISH

That's all - you just have to test your mail settings.

I hope this helps - good luck!  :)

13
You're welcome  :)

And: keep up the good work! Thanx for that!

14
...ahh, I forget another point:

You have to install eBox using the expert-mode and choose LILO as bootmanager. Grub seems to get confused with the libata-option.

And now everything's running smootherly  ;)

15
Hello guys!

This is just for all the people who had problems with Ubuntu and dma-modes during boot.

I've had a problem with the dma-modes during the installation. I'm using a PC with an ide to cf-adaptor. A compact flash card (2gb) should be the "system disk" of my eBox (saving energy, low noise...). Although the cf-card is not capable of DMA - which is disabled in the BIOS, too - Ubuntu seems to switch on the dma-mode at boot time causing errors. The old boot option ide=nodma and other variations like hda=nodma, hd0=0, sda=nodma do not work anymore.

SOLVED!

Using the boot option libata.dma=3 solves my problem!  ;D  (switches off the DMA-mode only for cf-cards)

Good Luck!

Pages: [1]