instalace dnscache / qmail / imap - Mandriva 2006



1) instalace a konfig qmail
.RPM pro MDK 9.2 fungují i v novějších verzích (Mandriva 2006), nainstalovat:
daemontools-0.76-6rph.i586.rpm
ucspi-tcp-0.88-7rph.i586.rpm
djbdns-extcache-1.05-19rph.i586.rpm
qmail-1.03-25.92rph.i586.rpm

2) instalace a konfig imap
urpmi courier-imap courier-imap-pop courier-imap-mysql

vytvořit mysql databázi imap, tabulka passwd:
CREATE DATABASE ´imap´ DEFAULT CHARACTER SET utf8 COLLATE utf8_czech_ci;

CREATE TABLE passwd (
  id char(128) NOT NULL default '',
  crypt char(128) NOT NULL default '',
  clear char(128) NOT NULL default '',
  name char(128) NOT NULL default '',
  uid int(10) unsigned NOT NULL default '65534',
  gid int(10) unsigned NOT NULL default '65534',
  home char(255) NOT NULL default '',
  maildir char(255) NOT NULL default '',
  defaultdelivery char(255) NOT NULL default '',
  quota char(255) NOT NULL default '',
  KEY id (id)
) TYPE=MyISAM;

INSERT INTO passwd VALUES ('jmeno.prijmeni',ENCRYPT('heslo'),'','',500,500,'/home/prijmeni','','','');

nastavit v /etc/courier/authmysqlrc mysql server, user, pass, database, table,...

chkconfig --level 3 qmail on
chkconfig --level 3 courier-imap on
Last update:
2007-01-01 15:34
Author:
Daniel
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.