Just the same: ugs.cghm.net
They look ok to me. That wouldn't affect anything at this stage though.
Just the same: ugs.cghm.net
They look ok to me. That wouldn't affect anything at this stage though.
ok, did as you said, and the install of everything else went fine .
Great tutorial, and thanks for the additional help.
Super. Thats really good to know. If you feel like it look into starting Rails on boot and customizing the views so you can do all the admin from one page. I'm now doing the Ubuntu Gateway Server admin interface in Django.
Great stuff!!! Thanks darrenm.
Tested on a dell dimension 8200, P4 2GHZ Machine, with Ubuntu Edgy Eft 6.10 Server and it works, just a few tweaks.
- sudo pico /etc/apt/sources.list
Make sure multiverse & universe is included for
sudo apt-get install lha arc
deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse- Replaced sudo hostname server.yourdomain.com with sudo echo server.yourdomain.com.com > /etc/hostname, not sure whether it makes difference.
- Extra ruby packages required for ruby on rails
sudo apt-get install libmysql-ruby ruby1.8 ruby1.8-dev rdoc ri irb- As it does not contain rubygems in Ubuntu Edgy Eft 6.10 Server (Hat Tip to: Ruby on Rails on Ubuntu, How To: Ubuntu 6.10 Edgy on Rails and a few others.
sudo -i
wget http://rubyforge.org/frs/download.ph...gems-0.9.2.tgz
tar xzvf rubygems-0.9.2.tgz
cd rubygems-0.9.2
ruby setup.rb
After you finish the setup, feel free to remove the .tgz and rubygems folders from your desktop.gem update
gem install rails --include-dependencies
exit- sudo pico /etc/dovecot/dovecot.conf
In place of mail_location = maildir:/var/mail/vhosts/%d/%n, use default_mail_env = maildir:/var/mail/vhosts/%d/%n- sudo pico ~/rubyapps/vmail/config/database.yml, enter socket: /var/run/mysqld/mysqld.run and remove socket: /var/run/mysqld/mysqld.sock does not exist in Edgy Eft 6.10 Server
- sudo pico /etc/dovecot/dovecot.conf
Change #first_valid_uid = 500 to first_valid_uid = 150 and change #last_valid_uid = 0 to last_valid_uid = 0
Let me clarify, all above commands run as root (sudo or sudo -i). With apologies for any confusion.
;p
Better late than never.
Last edited by popot; May 24th, 2007 at 11:02 AM. Reason: Seems there are a lot of problems edgy eft installation, giving more details, hoping this helps
Thanks for the info mate. I didn't expect there to be as much of a difference in Edgy but its good to know that it will work on Edgy too.
I'll put this on the first part of the thread so no-one misses it.
I'm wending my way through this, got the ruby error (running edgy server); will tack that next.
My PF server is an old GW500 running production. Was looking to evaluate this for a replacement. Some of the notes are little bothersome since you seem to indicate that this shouldn't be used in production.
Going to keep working on it anyway.
Thanks and I'll post back how it goes.
Even a thousand-mile journey begins with the first step.
-
Fall down seven times, get up eight.
Restarting mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 174: Unknown setting: mail_location
Used your Code:
found the pop3s easily enough, couldn't find mail_location so I put it in the mail locations section
Will look at that in few after I figure out how to install Ruby.Code:mail_location = maildir:/var/mail/vhosts/%d/%n pop3_uidl_format = %08Xu%08Xv auth default { mechanisms = plain userdb static { args = uid=155 gid=155 home=/var/mail/vhosts/%d/%u } passdb sql { args = /etc/dovecot/dovecot-sql.conf } }
Even a thousand-mile journey begins with the first step.
-
Fall down seven times, get up eight.
Jumped down to your errata to dealy with ruby, downloaded the specified version which is one back from current.
untarred the filles and proceed with the following errors
Also, based on my initial scanning, as instructed your process will put ruby in a user directory as opposed to installing it in the "standard installation location (typically /usr/local/lib/ruby)"?Code:tanuki@dai_fuku_cho:~/rubyinstall$ cd rubygems-0.9.2 tanuki@dai_fuku_cho:~/rubyinstall/rubygems-0.9.2$ ruby setup.rb -bash: ruby: command not found tanuki@dai_fuku_cho:~/rubyinstall/rubygems-0.9.2$ ls bin examples lib post-install.rb redist setup.rb ChangeLog gemspecs LICENSE.txt Rakefile Releases test doc GPL.txt pkgs README scripts TODO tanuki@dai_fuku_cho:~/rubyinstall/rubygems-0.9.2$ ./setup.rb -bash: ./setup.rb: Permission denied tanuki@dai_fuku_cho:~/rubyinstall/rubygems-0.9.2$ sudo ./setup.rb sudo: ./setup.rb: command not found tanuki@dai_fuku_cho:~/rubyinstall/rubygems-0.9.2$ sudo ruby setup.rb sudo: ruby: command not found
Looks like I'm stallled until I can figure out what is missing in this document or what I did wrong.
Even a thousand-mile journey begins with the first step.
-
Fall down seven times, get up eight.
Thats very strange. Even their online documentation http://wiki.dovecot.org/MailLocation shows mail_location to be the correct usage and format so I don't know why its complaining. Is it still happening now?
It looks like you haven't actually installed ruby. If you do adoes it install ruby? It should already have if you copied and pasted the command from the first post in the howto.Code:sudo apt-get install ruby
Also it looks like theres a little confusion - When I wrote about the ruby app I didn't mean ruby itself, I meant the ruby on rails app which is the app you create using ruby. Does that make sense?
What stage are you at now? Is dovecot still complaining on restart?
Bookmarks