by: Aleksi@artichost.net
This needs quite a lot, first of all, CentOS package of Exim is missing MySQL support, there is no DBMail package, no pam-mysql package etc.
Most of the stuff needs to be compiled from source, i compiled pam-mysql from a SRPM, and for Exim + DBMail i took the tarballs. This is not very fast process to do, so please take your time. (I spent over a week just browsing thru docs etc.)
This is not done yet, i will complete this upon transferring the config to another server to make sure everything is correct. A lot of this is based on the Debian Exim + DBMail howto, thanks for creating it! This wouldn't been possible without that guide!
THIS IS STILL A STUB AND MISSING MOST OF THE NEEDED INFORMATION! Currently i do have one working system with this setup, but there really isn't a proper way to traceback all of my actions, and i do need to transfer this configuration to another server very soon (within couple days at max, probably today 06/01/2006), when i will fullfill all the information needed to here
These are the packages you should install using YUM at first: (assuming you have minimalistic installation)
mysql mysql-devel mysqlclient exim exim-sa db4 db4-devel
First, grab the tarball from exim.org copy src/EDITME to Local/Makefile and make adjustments:
Enable MySQL, Auth Plaintext & MD5 atleast.
modify these attributes to something similar:
LOOKUP_INCLUDE=-I /usr/include -I /usr/include/mysql LOOKUP_LIBS=-L/usr/lib/mysql -L/usr/lib -llber -lmysqlclient
Otherwise it won't find them. I didn't have LDAP, SQLITE3 etc. so i erased them, less options the better!
Exim Monitor didn't work, lot's of errors and really didn't need it so i commented it out.
EXIM_USER=exim FIXED_NEVER_USERS=root:bin:daemon AUTH_CRAM_MD5=yes AUTH_PLAINTEXT=yes SUPPORT_TLS=yes TLS_LIBS=-lssl -lcrypto
This is very easy and straightforward procedure:
tar -zxvf dbmail-2.0.7.tar.gz cd dbmail-2.0.7 ./configure --with-mysql make make install cp dbmail.conf /etc
Note that it does NOT belong to /etc/dbmail/ but to /etc/
Very straightforward actually, this is directly from the INSTALL file, i used phpmyadmin to assist me:
mysqladmin create dbmail -u root -p mysql -u root -p GRANT ALL ON dbmail.* to dbmail@localhost identified by '<pass>'; exit; mysql -u dbmail dbmail -p < sql/mysql/create_tables_innoDB.mysql
something along those lines atleast. now open the the config file, /etc/dbmail.conf
settings as follows, or something along these lines:
host=localhost #sqlport = sqlsocket=/var/run/mysql.sock user=DBUSER pass=DBPASS db=DATABASE #POSTMASTER =
as you can see, i showed with # signs which lines to comment out :)
then test it with:
dbmail-util -av
and you should see something similar:
Opening connection to database... Opening connection to authentication... Ok. Connected. Checking DBMAIL messageblocks integrity... Ok. Found [0] unconnected messageblks. --- checking block integrity took 0 seconds --- checking block integrity took 0 seconds Checking DBMAIL message integrity... Ok. Found [0] unconnected messages. --- checking message integrity took 0 seconds --- checking message integrity took 0 seconds Checking DBMAIL mailbox integrity... Ok. Found [0] unconnected mailboxes. --- checking mailbox integrity took 0 seconds --- checking mailbox integrity took 0 seconds Checking DBMAIL for NULL messages... Ok. Found [0] NULL messages. --- checking NULL messages took 0 seconds Checking DBMAIL for NULL physmessages... Ok. Found [0] physmessages without messageblocks. --- checking NULL physmessages took 0 seconds Checking DBMAIL for incorrect is_header flags... Ok. Found [0] incorrect is_header flags. --- checking is_header flags took 0 seconds Counting messages with PURGE status... Ok. Found [0] messages with PURGE status. Counting messages with DELETE status... Ok. Found [0] messages with DELETE status. Vacuum and optimize not performed. Maintenance done. No errors found.
前略プロフィール作りました(μ_μ*)カキカキしてほしぃなぁ http://www.sapience-bi.com/ 今晩、誰か泊めてくれませんか〜ぉ礼はするょ^^どこに住んでるか教えてね(*´Д`*)ノシchoco0315@softbank.ne.jp 一晩限りの恋人契約で高額報酬 http://ok.w3vr.cn セフレを探してるんです。love1224hhh@softbank.ne.jpです。必ずお返事します♪待ってるょ 割り切りお付き合いで大金を稼いでみませんか http://ok.rwhvtw.cn 家出をして不安な少女 http://ok.w3yn.cn モテる度を無料診断、モテる度チェッカー http://ok.sey3n78.cn 手軽にお金稼ぎが出来るサイト http://ok.urmi6.cn ネットカフェに寝泊まりしてる子に安息の時間と場所を提供しませんか http://ok.e35n5.cn 女性のオナニーを見るだけで高収入のお仕事 http://ok.w63n5.cn 最近ネット始めたsoraでぇす♪もしよければ誰かお友達になってくださぁい mikumiku_0430@yahoo.co.jp 女性にメールやチャットをして癒してあげるだけで儲かる新感覚のアルバイト http://ok.rgw35u.cn 家出少女のHなお礼 http://ok.46mn.cn あなたのエッチ度を無料チェック http://ok.g3w08.cn 彼女たちを癒して大金を儲ける事も可能です http://ok.dhgq2.cn Hメールや普通に遊んでくれる人募集中なんでいつでもメールしてね(*^-^) nanako_l0oo0l@docomo.ne.jp 時給2万円〜の高額アルバイト、出張ホスト http://ok.bbrba4.cn 割り切ったアルバイト感覚で稼げる逆援バイト http://ok.dhvaw874.cn 一晩のお付き合いで大金を稼げるのが素人ホスト http://ok.gh2048g.cn 家出をして生活が不安な少女を囲ってみませんか? http://ok.ghq34g.cn あなたの隠された性癖がわかる えっちチェッカー http://ok.h824.cn 高級セレブたちとの出会いの場を提供しております http://ok.fh9823g.cn 時間がなくて恋がまったくできません(>c<)22歳にして欲求不満な私ですが、誰か絡んでください! lioil_celebration@docomo.ne.jp 大好評の逆ナンパ出会いイベントがなんと毎週開催決定! http://www.deai-megami.net/ GW特別企画今だけ天皇賞・春の鉄板激アツ情報を配信中! http://www.aveureka.org/ 新しい出会いと大金を儲けることが可能です http://see.jk98r.cn 家出少女が泊まるところを探して家出サイトに集まっています http://see.3rg3.cn カワイイあの子をエッチ診断してそのままHしちゃおう! http://see.gh384g.cn 女性のオナニーを見るだけで大金を得ることが出来てしまうのです http://see.fg83q4.cn 少しの時間だけでもいいのでお話しませんか?kyun—v0v-iine@docomo.ne.jp 容姿や年齢、経験は一切不問!期間限定恋人がほしい方はこのサイト! http://see.34yq34y.cn ゲーマーチェッカーであなたのゲーマー度数を測定しよう http://see.g3qgb.cn/ 癒してほしいセレブ達が集まる、セレブラブ http://see.gfh45.cn 家出娘のメッセージが多数書き込みされています http://see.he456j.cn HちぇっくでH度を測定しちゃおう http://see.jetnbg.cn 話題の逆円助サイトで女を抱いて報酬をもらおう http://see.3g3wj.cn 簡単に家出少女と会えちゃう掲示板 http://see.berbn45.cn あなたも不貞行為の刺激を試してみませんか http://see.j7kek.cn SM度をチェックして最高のパートナーをGETしよう http://see.5hw3.cn 簡単な登録制のバイトで好きな時に稼げます http://see.6j46j.cn 誰か割り切りでアタシを満足させてもらえませんか? c.dior_l-3-l_la.al@docomo.ne.jp チェッカーサイトで一番人気、Hチェッカー http://see.2qev2.cn 誰か割り切りでアタシを満足させてもらえませんか? c.dior_l-3-l_la.al@docomo.ne.jp 誰も試したことの無いような一人エッチで快楽を楽しもう http://see.34g46h.cn mixiでの楽しい思い出を再び感じたい方はコチラ http://mixi.050522o.net/ 毎日投稿ムービーが更新されている人気SNSはここ http://nice.k56hy.cn 誰か割り切りでアタシを満足させてもらえませんかlo3ol_jv.vj_favorite-cartier@docomo.ne.jp