Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 287 online users. » 0 Member(s) | 285 Guest(s) Bing, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 217
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 77,818
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 33,302
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,715
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,146
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,822
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 107,021
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 47,040
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 37,375
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 40,579
|
|
|
Postfix+Dovecot+mysql |
Posted by: hijinks - 2006-09-29, 05:50 PM - Forum: SMTP
- Replies (6)
|
 |
Ok.. so recently I moved photoblog.com off a old crappy server that had cpanel on a nice server that doesn't run cpanel. So I needed a system for virtual hosting for emails mainly. I've setup postfix+mysql+courier before and courier can be a GIANT bitch. So I looked into dovecot and was very happy.
So lets start off.. lets download PostfixAdmin. As of writting this you can use the following since its the current version
Code: wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz
tar zxfv download.php?file=postfixadmin-2.1.0.tgz
cd postfixadmin-2.1.0
ok my wget saved it as download.php.... your results may vary
Ok now once its installed we want to import the basic DB layout into mysql. Edit the file if you want to change the user/pass.. but you will have to change it in other files below.. so just take note if you edit it.
Code: mysql -u root < DATABASE_MYSQL.TXT
So that command is the default install of mysql that you didn't set a root password on.. use the -p flag if you did
ok now that the layout is there lets get postfix and dovecot installed. Now the default version of postfix that ships with fedora/centos DOES NOT HAVE MYSQL FUNCTIONALITY BUILT IN. So this will be for centos or rhel you have to install the centos Plus version of it.
Code: wget http://mirror.trouble-free.net/centos/4/centosplus/i386/RPMS/postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm
rpm -ivh postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm
yum -y install dovecot
Ok great all the needed stuff is installed. So lets add a vmail user to the system
Code: groupadd -g 901 vmail
useradd -u 901 -g 901 vmail
Then you want to edit /etc/postfix/main.cf and add this to the bottom. Take a note of /vmail change that to the location you want to store all your email in.
Code: virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:901
virtual_mailbox_base = /vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 901
virtual_transport = virtual
virtual_uid_maps = static:901
ok save the file and create a new file in /etc/postfix/mysql_virtual_alias_maps.cf and add the following
Code: user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = alias
select_field = goto
where_field = address
ok save the file and create a new file in /etc/postfix/mysql_virtual_domains_maps.cf and add the following
Code: user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = domain
select_field = domain
where_field = domain
#additional_conditions = and backupmx = '0' and active = '1'
ok save the file and create a new file in /etc/postfix/mysql_virtual_mailbox_maps.cf and add the following
Code: user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = mailbox
select_field = maildir
where_field = username
#additional_conditions = and active = '1'
ok save the file and create a new file in /etc/postfix/mysql_virtual_mailbox_limit_maps.cf and add the following
Code: user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = mailbox
select_field = quota
where_field = username
#additional_conditions = and active = '1'
ok save the file and create a new file in /etc/postfix/mysql_relay_domains_maps.cf and add the following
Code: user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = domain
select_field = domain
where_field = domain
additional_conditions = and backupmx = '1'
now save that and lets chown them
Code: chmod 640 /etc/postfix/mysql_*
chgrp postfix /etc/postfix/mysql_*
Now lets create the /vmail dir and give it the correct permissions
Code: mkdir /vmail
chmod 771 /vmail
chown vmail:vmail /vmail
now lets restart or start postfix in this case we will start it
Code: service postfix start
If you have sendmail on the machine already a nice little rpm to download is system-switch-mail once download run the command by the same name.. select postfix and it'll be running
Now go back to the place you untared postfixadmin and point our browser to that location like
[/url][url=http://jyiscool.com/postfixadmin/setup.php]http://jyiscool.com/postfixadmin/setup.php
Make sure you pass all points.. then you want to remove the setup.php file
Ok now in the postfixadmin dir do this
You need to setup the .htaccess file. So edit .htaccess in that dir and it will look something like this
Code: AuthUserFile /some/dir/to/go/mail/admin/.htpasswd
AuthGroupFile /dev/null
AuthName "Postfix Admin"
AuthType Basic
<limit GET POST>
require valid-user
</limit>
You want to change AuthUserFile to the path where that .htpasswd file is that you just put your postfixadmin app.
Once thats installed delete the file and we will create a new one since we don't want to use the same admin user that is in there by default
Code: rm -rf .htpasswd
htpasswd -c .htpasswd username
Now edit the config.inc.php file
Code: cd ..
mv config.inc.php-dist config.inc.php
Basically you just have to change some defaults to suit your needs.. From there you should be able to access the admin error by entering the user/pass you just made and create a new domain and create some new users..
Once you have done that you should be able to use the local mail command to send off a test email to make sure its in the /vmail dir
Code: echo testing 1 2 3 | mail -s test user@jyiscool.com
if you see a /vmail/user@jyiscool.com directory then it worked.. yayaya
Now I like setting up new services like I like my women.. easy
So create a new file called /etc/dovecot-mysql.conf with the following contents
Code: db_host = 127.0.0.1
db_port = 3306
db = postfix
db_user = postfix
db_passwd = postfix
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, 901 AS uid, 901 AS gid FROM mailbox WHERE username = '%u'
Save that and edit the /etc/dovecot.conf file and add the following at the bottom
Code: auth_userdb = mysql /etc/dovecot-mysql.conf
auth_passdb = mysql /etc/dovecot-mysql.conf
first_valid_uid = 501
default_mail_env = maildir:/vmail/%u
i also turned off ssl.. I might enable it in the future and append to this howto.. but for now in my dovecot.conf there is ssl_disable = yes
Now start dovecot
Code: service dovecot start
You should not be able to grab that email you just sent that user via imap/pop3
Now make sure both get loaded on boot
Code: chkconfig dovecot on
chkconfig postfix on
Now I am pretty drunk now while doing this so there could be many errors.. deal with it
|
|
|
Debian to rebrand firefox |
Posted by: anyweb - 2006-09-29, 07:14 AM - Forum: Debian
- Replies (5)
|
 |
read here to find out more
[/url][url=http://www.osnews.com/comment.php?news_id=16009]http://www.osnews.com/comment.php?news_id=16009
Quote:Debian adheres to a strict interpretation of what is Free Software and what isn't. The Firefox logo is trademarked, so Debian doesn't consider it to be Free and will not include it as part of its distribution. Mozilla claims that using the Firefox name without the official branding is a trademark violation. Furthermore, Mozilla claims that if Debian runs any patches to the version of Firefox included with Debian distros, it has to run them by Mozilla first for approval. What all this ultimately could mean is that the Firefox name is wiped from the face of Debian and its offshoots. Debian developer Eric Dorland confirmed to internetnews.com that Debian will re-name Firefox and that the re-naming process could be completed as soon as next week.
lol
cheers
anyweb
|
|
|
Hello All. |
Posted by: MuzicPirate - 2006-09-29, 06:12 AM - Forum: Hello
- Replies (2)
|
 |
Hello Everyone, I'm new to linux and new to the forums, I'm a mac fan, and have a PC that's running winblows when it should be running linux. So i'm here to learn. :)
|
|
|
Very Frustrated with Installing Screensavers... |
Posted by: SendDerek - 2006-09-29, 01:06 AM - Forum: KDE
- Replies (3)
|
 |
So, I've downloaded a couple sweet screensavers that I would love to get working. One is smoothslidesaver and the other is kcometen3.
I've done this so far:
Code: ./configure
make
*change to root using su*
make install
make clean
I look in my Desktop properties under screensaver, but neither one of them is there. I have also tried to just goto
in the terminal, but it's not listed there either.
Help! This is so very frustrating to me. I just want a screensaver!
-Derek
|
|
|
sister site: www.windows-noob.com/forums is born ! |
Posted by: anyweb - 2006-09-28, 04:32 PM - Forum: Site News
- Replies (2)
|
 |
hi all,
well i've started a sister site, [/url][url=http://www.windows-noob.com/forums]http://www.windows-noob.com/forums and hopefully some of you can also help out there,
to see what the new site is about read this post
I'll spend the next few days moving the windows content from here to there, where it should be !
cheers !
anyweb
|
|
|
Installed OS ==>> Installation CD |
Posted by: Peregrine30 - 2006-09-28, 06:15 AM - Forum: How Do I?
- Replies (1)
|
 |
Some colleagues and I (all of us Linux newbies), are currently involved in a non-profit project which involves rebuilding donated computer systems, to be given to underprivileged members of society.
In order to avoid licensing hassles with Wholly Incredibly Nasty Dreary Old Wasteful Systems, we decided to use and install a Linux OS. After much experimentation with the available distros we finally settled on a Slackware based OS.
We have reconfigured the distro with the latest packages and kernel, installed Bootsplash screens, a KDE front end, HAL and Udev, wheel mice and so on, in order to make it as attractive and user friendly as possible - bearing in mind that most of the people receiving the computers will be novice users.
We have spent much time tweaking the system so that everything works really, really well.
We have configured it with a single very attractive user account, along with the root account.
We now wish to take this HDD installation, with all of the account details, desktop settings, modifications and tweaks, and turn it into an installable CD that we can use on a variety of hardware.
Our problem, (remember we're newbies) is that we are unsure of exactly how to do this.
Information available on the web is conflicting at best, or does not address what we are trying to do.
How do you convert this installed operating system into an installation CD, whilst retaining all of these pre-configured settings, so that 'tweaking' the new computers is extremely minimal or not necessary?
Would the account settings, desktops etc have to be saved into a special file that could be injected into our customised slackware install CD?
Has anyone done this? Is there a step-by-step guide that anyone knows of? - Any help you can give would be much appreciated.
Thank you very much in advance for any help anyone can provide
|
|
|
How do I make a bootable CD |
Posted by: cdillard - 2006-09-27, 08:26 PM - Forum: Filesystem Management
- Replies (2)
|
 |
Hello, I have searched your website for an answer to this question, with no luck, so I am posting this to your members. How
do I make a bootable iso using K3B as a front end to cdrecord? The iso I am trying to make is one of five Solaris 10 OS CDs. Once I have made the CD from an unzipped file sol-10-u2-ga-x86-vX-iso.zip (where X is 1-5) I place it in my cdrom and reboot, but it is ignored and the system boots from the already-installed Centos OS on the hard drive.
Using cdrecord does not work; system doesn't recognize LUN 0,0,0
There is a screenshot of my K3B API at [/url][url=http://www.zonnker.com/noobie.jpg]http://www.zonnker.com/noobie.jpg I did not do anything to change the default configuration of the K3B tool.
Media is a SONY CD-R 700 MB
OS: Centos 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT 2006 i686 athlon i386 GNU/Linux
CD burner K3B 0.11.14
boot sequence: 1. CDROM 2. USBDISK 3. HDE (hard drive)
command to unzip: unzip sol-10-u2-ga-x86-v1-iso.zip (No arguments) which produces a sol-10-u2-ga-x86-v1.iso which I burn to CD with K3B
I don't believe this is a Solaris issue, since I have found Knoppix, downloaded and burned in a similar fashion, produces the same results.
Many thanks for your help.
Charles T. Dillard
|
|
|
Using FreeNX for remote desktop |
Posted by: P38 - 2006-09-27, 11:58 AM - Forum: Remote Access
- Replies (2)
|
 |
Well, I finally listened to Randall and took the plunge into the freenx arena.
This is one sweet program.
An interesting point, the NX product uses ssh as the transport layer. It works by setting up a ssh connection from the client to the server and, on the server side, executing a program via ssh to start the desktop. The display is transported back to the client over the ssh connection and displayed at on the client side. Keeping this in mind when you setup the keys for the NX connection is important. It took me a few minutes to understand why the private key was installed on the client side and the public key installed at the server... but this became obvious when the connection is compared to any other rsa-auth connection via ssh.
I have installed and tested the NXserver on a linux server with the NXclient running on a windows machine. The speed is amazing. It leaves VNC and Rdesktop in the dust .... in my opinion.
I will be following this post with more details with the problems that I had and what I had to do to resolve them.
P38
|
|
|
cant boot ater upgrading to a new kernel |
Posted by: winfinit - 2006-09-26, 04:58 PM - Forum: Kernel Related
- Replies (7)
|
 |
Hey guys, i have compiled new kernel couple of days ago, 2.6.17.13, and everything went good, no errors. after reboot my lilo loaded, i did see my new kernel there, since i have configured lilo before, picked my new kernel, and it is starting to boot, it iwll go to a screen where it is starting to load modules, and right after that i am starting to see a colored lines across my screen, and there is more and more of them, and after a minute they are filling out my whole screen and i cant see anything but those colored lines :( i know one thing for sure it is not gettgin to startx, and before i notices that those lines started to appear as soon as my wireless module was executed, so i thought that was a problem, i removed that kernel, and reconfigured my config where i have excluded ipw2200bg modules, and other wireless support, recompiled again.... rebooted...... SAME THING!!! driving me nuts, i have tryed everything that i know, and nothing works, please help
i am using slackware 10.2
|
|
|
Re-installing Original Kernel |
Posted by: d6rth7ader - 2006-09-24, 02:20 PM - Forum: SUSE
- Replies (1)
|
 |
I have a Suse 9.3 system. Following an automatic update the system will not boot. I get a problem with "Waiting for /dev/sda2...." and it gets no further. I have searched the web for this and there is some discussion out there but nothing quite fits. My system will not boot from hard disk so I would like to re-install the original Kernel to get back to a working system. Any thoughts ?
|
|
|
|