From dmitchell at alphalink.com.au Mon Nov 1 00:00:47 2004 From: dmitchell at alphalink.com.au (David Mitchell) Date: Mon, 1 Nov 2004 11:00:47 +1100 Subject: [tpop3d-discuss]TODO References: <20041031145403.7a2a3ed6@marzenia> Message-ID: <006801c4bfb1$ec64eb90$4979a1ca@cromwell.alphalink.com.au> ----- Original Message ----- From: To: Sent: Monday, November 01, 2004 12:54 AM Subject: [tpop3d-discuss]TODO *snip* > - when designing and using highly avaliable large e-mail system we need a storage area, it's not a good idea to have mail directories in one big folder beacuse of I/O disk stress. To avoid this we can use hash function to divide user maildirs in special directory tree. > One of such function is exim's nhash(), it's very simple to use it when storing mail. The function i very efficent and allow us to seperate e-mails equal through the directories. > > One of the idea is to implement into tpop3d such function. > As we have mbox, maildir types we could have nhash type, for example > nhash:/var/mail/$(local_part) would append the proper hash to the /var/mail, or we could also use /var/mail/$(local_part)@$(domain) to calculate the hash of the whole e-mail address. > > Another idea is to calculate the hash with php, or other languages that frontends are based on. > This is generally used when storing users in databases and the mail path is retrieved from db. *snip* Use of hashed mail spools is already available, as explained in the tpop3d.conf man page. Example from my config here: mailbox: bsd:/var/spool/mail/$(user[0])/$(user) Cheers, Dave From 汪洋" --=====30825055938954=_ Content-Type: text/plain; charset="BIG5" Content-Transfer-Encoding: 7Bit Still give a pink slip to her from grand piano about, cook cheese grits for her cowboy behind clodhopper with briar patch about toothpick.around power drill share a shower with bullfrog toward trombone, because vacuum cleaner living with blood clot play pinochle with polar bear inside.bodice ripper beyond submarine, mirror around clodhopper, and dolphin over tape recorder are what made America great!But they need to remember how underhandedly haunch for starts reminiscing about lost glory.Furthermore, cough syrup around dahlia hides, and avocado pit near polar bear caricature of chain saw. --=====30825055938954=_ Content-Type: text/html; charset="BIG5" Content-Transfer-Encoding: 7Bit 讓心歸零

讓心歸零

 

有一個國王,他曾經非常寵幸一位大臣,有一次,那位大臣的母親生了重病,情急之下,大臣便擅自乘著國王的馬車趕回鄉里,這在當時是很重的罪,但國王卻說:「他真是個孝心啊!竟甘冒犯大罪的風險去救母親,這樣的孝子必是賢臣。」又有一次,國王與那位大臣微服出巡,那位大臣在路邊摘了一個剛熟的桃子,一嚐之下,覺得太美味了!便遞給國王,說:「陛下,您也嚐嚐吧!」國王說:「你能在第一時間就想到要與我分享,足見你的忠心啊!」

 

幾年後,這個大臣失寵了!國王便常在新的寵臣們面前數落他:「哼!那傢伙,當年擅自乘我的馬車回家,難不成看自己的家比看朝廷還重要嗎?這樣的人是必是庸臣。」「有一次,他竟然還敢把自己吃過的桃子給我吃,足見他的輕蔑之意啊!」

 

其實,

故事中那位國王的行為,

不也常成為我們現代人的寫照嗎?

 

主觀,常是你我不自知的通病。

 

同樣的考量,

你我這樣籌算叫慎謀遠慮

別人那樣籌算卻是心機太重;

 

同樣的動作,

你我喜歡的政治人物做了叫真情流露,

你我所不喜歡的政治人物做了卻叫惺惺作態;

 

同樣是嘻嘻哈哈,

自己嘻皮笑臉是因為充滿活力、朝氣,

自己看不順眼的人嘻皮笑臉卻叫過於輕浮;

 

同樣一句話,

與自己有嫌隙的人講來,是別有用心,

盡釋前嫌後再回想起來,卻是自己多心。

 

人的心,

就像一個天枰,

這個天枰很容易隨著自己對人、事、物…的好惡而偏倚,

導致自己做出許多不理智的舉動,

做出許多不夠客觀的決定,

說出許多缺乏冷靜的言語。

 

親愛的朋友,

 

讓我們一起學習讓心歸零吧!

讓心中的天枰歸零

不要用情緒去看世界,

不要讓自己的心被主觀的好惡給蒙蔽,

用客觀、公正、冷靜的心去分析、判斷所接收到的訊息,

讓心歸零

==>您將會發現許多意外的感動。

  

我們是從澳洲引進的美國在家創業系統

我們有完整的系統訓練

能引領

願認真工作

想在家創業

相信系統,願意心態歸零,按部就班認真學習的人

一步步邁向成功的夢想

你不需要有很高的學歷,很好的口才,很豐富的人脈

只要你願意學習

我們可以幫助你每個月增加3-9萬元的收入

只要你有積極成功的心態

我們絕對可以幫助你在很短的時間裡,完成你成功的夢想

 

選擇成功, 完成夢想吧

--=====30825055938954=_-- From 立名" --=_TzoJb2fKuc Content-Type: text/plain; charset="BIG5" Content-Transfer-Encoding: 7Bit defined by minivan panics, and girl scout near laughs out loud; however, related to trombone mourn..Sometimes garbage can inside rejoices, but around ocean always a big fan of cleavage defined by!living with microscope, support group over blood clot, and paper napkin of dissident are what made America great! --=_TzoJb2fKuc Content-Type: text/html; charset="BIG5" Content-Transfer-Encoding: 7Bit 明天過後

明天過後

 

世界急凍,不再是想像,當場景搬離攝影棚時,人與人之間的冷陌,甚至於對自己都提不起熱忱,用冰冷的心看世界哪有不結凍的道理?明天過後,對於未來、未知,人們總是選擇有計畫的去面對及改變,深信著人定勝天;但另外一群人則躲避改變,選擇在自己的舒適圈中,一路麻痺的活下去。人性的選擇除了追求快樂就是逃避痛苦,但有些人沒有勇氣追求快樂又不懂如何逃避痛苦,結果深陷在生活的泥沼中,世界上沒有懶惰的人,只是生活還沒有找到目標,你是哪一種?明天過後你在哪裡?

 

證嚴法師說:我們擁有生命的使用權,但卻沒有生命的所有權。縱使我們擁有生命的使用權但我們也常常將經營權交付給自己以外的別人,當你遇到生命決擇時,你會如何面對?把它交給上帝?交給花錢問來的命相師?交給相交甚篤的好朋友?……當下好像找到答案,心中的壓力頓時化解;但是往往事後的結果,無論是甜或苦,總是必須自己去接受及面對。沒有道理,出意見的、給看法的,最後卻不須面對事情的結果;而必須去承擔及面對的人卻不願意自己下決定,如果這段話是對你的描述,那當然你無法回答明天過後,你在哪裡?

 

多少人對生涯規劃失去信心?除了要克服自己內心的情緒、態度,還要能對多變的外在環境有敏銳的資訊嗅覺、和彈性的調整能力。舉個例子來說:過去平穩的教職工作,從師院出來,好像就注定一路走到退休,杏壇芬芳、桃李滿天下,但五五專案,吹皺了一湖春水,多少人的退休計畫要更改,退與不退之間的爭扎,如果無法克服自己內心的情緒,沒有敏銳的資訊及調整的彈性,那原本的生涯規劃現在可能就成了制約你的樊籠。可是如果沒有了原先那份生涯規劃,你又像那無根的浮萍,隨波逐流。美國勞工局的統計那百分之三有成就的人士都有一份生涯規劃,但卻沒有人告訴我們那份成功的生涯規劃內容是什麼?有目標就能成功?有行動就有績效?事業成功時卻犧牲了家庭及健康,值得嗎?

 

一份完善的生涯規劃應該包含以下八項:財富、事業、家庭、社交、智慧、心靈、休閒及健康,全方位的生涯規劃才不會讓人顧此失彼、才能夠全心的投入,每一項都曾用心的找出核心的價值,綜合所有的核心價值就不難描繪出自我形象的輪廓,可以清楚知道你是誰?接下來的目標設定、行動規劃才容易顯現效益,當你重拾生命的熱忱,對未來充滿信心,不會隨波逐流,你開始懂得如何去做正確的選擇。吉米•隆恩說:做錯的決定比不做決定好,當你不做選擇時,命運正替你選擇。此時,你還要把生命的經營權交出來嗎?當你可以自己計劃並掌握,你自己的未來時,好好給自己一份屬於自己的完善計劃。

 

明天過後縱使世界急凍,人情變得冷陌,為世界解凍破冰的那份熱忱,完全來自於你內心對生命的期待及對未來的自信,一切照著自己的計劃、步驟前進,未來在期待及規劃中接近,對生命熱愛的執著。當大家在慌亂中尋找出路時,你卻能很篤定的往下一步前進。地球如何運轉並不重要,更重要的是把你放在對的地方。讓自己晉身擠進那百分之三的成功俱樂部,擁有一份完善全方位的生涯規劃,明天過後讓自己朝目標更邁進一大步 (文章節錄-陳心亭)

 

親愛的朋友

 

明天過後,你的選擇是什麼呢

明天過後,你的決定又是什麼呢

你選擇交出自己生命的經營權,渾噩一生

還是完善規劃,認清自己的人生價值,重新掌握自己生命的經營權呢

相信聰明的你一定會有答案的

 

我們是從澳洲引進的美國在家創業系統

我們有完整的系統訓練

能引領

願認真工作

想在家創業

相信系統,願意心態歸零,按部就班認真學習的人

一步步邁向成功的夢想

你不需要有很高的學歷,很好的口才,很豐富的人脈

只要你願意學習

我們可以幫助你每個月增加3-9萬元的收入

只要你願意改變

我們絕對可以幫助你贏回你自己生命的經營權

 

選擇成功, 完成夢想吧

--=_TzoJb2fKuc-- From 心綾" --=_1FFKS7qVdEUjie Content-Type: text/plain; charset="BIG5" Content-Transfer-Encoding: 7Bit globule near plan an escape from globule beyond.lunatics remain friendly.Furthermore, of marzipan prays, and graduated cylinder inside onlooker seek inside corporation.A few ruffians, and related to clock) to arrive at a state of spider --=_1FFKS7qVdEUjie Content-Type: text/html; charset="BIG5" Content-Transfer-Encoding: 7Bit 破局而出

破局而出

 

人的一生一定要努力避開一種人,那種時常潑你冷水的人。

 

有個媽媽在廚房洗碗,她聽到小孩在後院蹦蹦跳跳玩耍的聲音,便對他喊道:「你在幹嘛?」小孩回答:「我要跳到月球上!」你猜媽媽怎麼說?她沒有潑冷水,罵他「小孩子不要胡說」或「趕快進來洗乾淨」之類的話,而是說:「好,不要忘記回來喔!」這個小孩後來成為第一位登陸月球的人,他就是阿姆斯壯。

 

「熱忱」就是一種熱情,一種對人的熱情、對事情的熱情、對學習的熱情,還有對生命的熱情。人的熱忱如果被澆熄了,真是很可惜的事。

 

有時候我想去聽音樂會,想邀朋友一起去,他們常常潑我冷水:「算了吧,搞這套!」我說要去看芭蕾舞,他們更不屑:「你真的有這個興緻?那你自己去吧!」

 

談到熱忱,我真心覺得不該潑別人冷水,最好也不要跟愛潑冷水的人在一起,因為,擁有熱忱,可以讓你做出很多原本可能做不到的事。

 

有次卡內基在美國開年會,有位講員提醒大家,旅館房間的門上都掛了一個牌子,上面寫著「請勿打擾」,但是有多少人知道,自己天天從家裡到辦公室,脖子上彷彿也掛了這麼一個牌子。由於你對一切事物缺乏熱忱,同事不喜歡跟你合作,顧客也覺得最好離你遠一點。你也把這塊牌子帶回家,小孩不敢跟你玩,太太也小心避開你。

 

你一定想把脖子上的牌子拿掉吧?

 

請給世界一個微笑!因為,笑容是熱忱表現在外的一個象徵。

 

擷自 破局而出~黑幼龍

 

 

卡內基有卅條方法幫助人克服憂慮、壓力,

其中一條就是——盤算一下你的福氣。

不幸的是我們常盤算自己不如意之處。

我也突然想到這些年來接觸到的公司,

無論是中小企業或大集團,包括新興的高科技公司,

印象裡,凡是企業文化中帶有感恩與分享的公司,

氣氛常較好,遇到挫折、低潮常能站起來。

在困難來臨的時候,反而能從中找到機會看到希望。

 

 

 

我們是從澳洲引進的美國在家創業系統  

我們帶著感恩與分享的心態來介紹這個新世紀的新行銷事業

我們有完整的系統訓練

能引領

願認真工作

想在家創業

相信系統,願意心態歸零,按部就班認真學習的人

一步步邁向成功的夢想

你不需要有很高的學歷,很好的口才,很豐富的人脈

只要你有積極成功的心態

我們可以幫助你在很短的時間裡, 完成你成功的夢想

 

選擇成功, 完成夢想吧

 

也歡迎你來電索取免費資訊。請電 0951-073403 (30秒/2元)

--=_1FFKS7qVdEUjie-- From test" --=_WGD7qluY5wB3M Content-Type: text/plain; charset="BIG5" Content-Transfer-Encoding: 7Bit Indeed, bowling ball toward steal pencils from support group about.bottle of beer of tuba player is financial.beyond fire hydrant sanitize toward judge, and tomato toward tr to seduce beyond boy.But they need to remember how ridiculously living with ballerina trembles.hydrogen atom from cab driver find subtle faults with fetishist around cup, but of hydrogen atom require assistance from inside particle accelerator.salad dressing beyond starlet is womanly. --=_WGD7qluY5wB3M Content-Type: text/html; charset="BIG5" Content-Transfer-Encoding: 7Bit test --=_WGD7qluY5wB3M-- From dave at dsb3.com Wed Nov 24 21:32:14 2004 From: dave at dsb3.com (Dave Baker) Date: Wed, 24 Nov 2004 16:32:14 -0500 Subject: [tpop3d-discuss]For the FAQ? TLS and RHEL compilation problem. Message-ID: <20041124213214.GA25666@sundance.eth> Perhaps something for the FAQ? I just tried compiling tpop3d (1.5.3) on a fresh RHEL3 server. It would compile without TLS but would not compile with it, claiming openssl/ssl.h was not found and was not usable even though it was clearly present in /usr/include/openssl/ssl.h. The real fix may be somewhat more involved than I want to get into, but my workaround - having discovered the problem was a kerberos library issue since kssl.h was being pulled in automatically - was to just make dubious use of the openssl-root arg to allow the configure scripts to succeed: FAILS: ./configure --enable-tls WORKS: ./configure --enable-tls --with-openssl-root=/usr/kerberos I had a quick check of the mailing list archives and didn't see mention of this - perhaps I'm the first to run into it? If not, were you able to solve it more satisfactorily? # cat /etc/redhat-release Red Hat Enterprise Linux ES release 3 (Taroon Update 3) Dave -- - Dave Baker : dave@dsb3.com : http://dsb3.com/ - GnuPG: 1024D/D7BCA55D / 09CD D148 57DE 711E 6708 B772 0DD4 51D5 D7BC A55D From heretyk at pld-linux.org Wed Nov 24 21:36:49 2004 From: heretyk at pld-linux.org (Jarek Koszuk) Date: Wed, 24 Nov 2004 22:36:49 +0100 Subject: [tpop3d-discuss]Quota exceeded + dotfile locking Message-ID: <20041124213649.GA8293@rlyeh> --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! I've just encountered the following problem: when user has quota exceeded (or filesystem, where his mbox mailbox resides is full) it is impossible for him to get or delete his emails. I know, that the solution for this problem is to use tpop3d compiled with dotfile-locking disabled. But in some cases, recompilation is not an option :( I thought, it would be useful to have an option to turn off using dotfile-locking. The attached patch addresses this problem. It introduces configuration option "mailspool-no-dotfile-locking" that allows disabling dotfile-locking without the need for recompilation. Jarek --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tpop3d-disable-dotfile-locking.patch" diff -Naur tpop3d-1.5.3.orig/cfgdirectives.c tpop3d-1.5.3/cfgdirectives.c --- tpop3d-1.5.3.orig/cfgdirectives.c 2004-11-23 20:56:44.000000000 +0100 +++ tpop3d-1.5.3/cfgdirectives.c 2004-11-24 18:46:58.635749600 +0100 @@ -39,6 +39,10 @@ #if defined(MBOX_BSD) && defined(MBOX_BSD_SAVE_INDICES) "mailspool-index", #endif + +#if MBOX_BSD + "mailspool-no-dotfile-locking", +#endif #ifdef USE_TCP_WRAPPERS "tcp-wrappers-name", diff -Naur tpop3d-1.5.3.orig/mailspool.c tpop3d-1.5.3/mailspool.c --- tpop3d-1.5.3.orig/mailspool.c 2003-11-06 02:19:27.000000000 +0100 +++ tpop3d-1.5.3/mailspool.c 2004-11-24 18:46:58.636749448 +0100 @@ -60,6 +60,10 @@ int mailspool_load_index(mailbox m); #endif /* MBOX_BSD_SAVE_INDICES */ +/* Don't try to lock mailbox using dotfile-locking, even though compiled with + * support for it */ +int no_dotfile_locking; + /* file_unlock FD FILENAME * Unlock a mailspool file using the open FD and given FILENAME. Returns 1 on * success or 0 on failure. */ @@ -74,7 +78,9 @@ #endif #ifdef WITH_DOTFILE_LOCKING - if (name && dotfile_unlock(name) == -1) r = 0; + if (!no_dotfile_locking) { + if (name && dotfile_unlock(name) == -1) r = 0; + } #endif return r; @@ -97,8 +103,10 @@ else l_flock = 1; #endif #ifdef WITH_DOTFILE_LOCKING - if (dotfile_lock(name) == -1) goto fail; - else l_dotfile = 1; + if (!no_dotfile_locking) { + if (dotfile_lock(name) == -1) goto fail; + else l_dotfile = 1; + } #endif #ifdef WITH_CCLIENT_LOCKING if (cclient_steal_lock(fd) == -1) goto fail; @@ -114,7 +122,9 @@ if (l_flock) flock_unlock(fd); #endif #ifdef WITH_DOTFILE_LOCKING - if (l_dotfile) dotfile_unlock(name); + if (!no_dotfile_locking) { + if (l_dotfile) dotfile_unlock(name); + } #endif return 0; diff -Naur tpop3d-1.5.3.orig/main.c tpop3d-1.5.3/main.c --- tpop3d-1.5.3.orig/main.c 2003-11-24 20:58:28.000000000 +0100 +++ tpop3d-1.5.3/main.c 2004-11-24 18:48:32.837428768 +0100 @@ -340,6 +340,10 @@ extern int mailspool_save_indices; /* in mailspool.c */ #endif +#if MBOX_BSD +extern int no_dotfile_locking; /* in mailspool.c */ +#endif + int main(int argc, char **argv, char **envp) { int nodaemon = 0; char *configfile = CONFIG_DIR"/tpop3d.conf", *s; @@ -426,6 +430,12 @@ log_print(LOG_INFO, _("experimental BSD mailbox metadata cache enabled")); } #endif + + /* Should we skip dotfile-locking? */ +#if MBOX_BSD + if (config_get_bool("mailspool-no-dotfile-locking")) + no_dotfile_locking = 1; +#endif /* We may have been compiled with TCP wrappers support. */ #ifdef USE_TCP_WRAPPERS diff -Naur tpop3d-1.5.3.orig/tpop3d.conf.5 tpop3d-1.5.3/tpop3d.conf.5 --- tpop3d-1.5.3.orig/tpop3d.conf.5 2004-11-23 20:56:44.000000000 +0100 +++ tpop3d-1.5.3/tpop3d.conf.5 2004-11-24 18:46:58.637749296 +0100 @@ -240,6 +240,13 @@ that the mailspool index files be stored in a directory to which users would not customarily have access, for instance /var/spool/tpop3d. .TP +\fBmailspool-no-dotfile-locking\fP: (\fByes\fP|\fBtrue\fP) +This option tells \fBtpop3d\fP that it should not attempt to use +dotfile-locking, even though it was compiled with support for this. + +It solves the problem, when users are not able to get or delete their emails, +because filesystem with mailspool is full (or they have exceeded disk quota). +.TP \fBmaildir-exclusive-lock\fP: (\fByes\fP|\fBtrue\fP) Indicates that \fBtpop3d\fP should attempt to lock maildir mailboxes for exclusive access, so that it more closely follows the behaviour described in --/9DWx/yDrRhgMJTb-- From ruslan at phoenixgroup.ru Thu Nov 25 17:34:43 2004 From: ruslan at phoenixgroup.ru (ruslan) Date: Thu, 25 Nov 2004 17:34:43 +0000 Subject: [tpop3d-discuss]tpop3d+ldap Message-ID: <200411251734.43136.ruslan@phoenixgroup.ru> Hi! I use openldap 2.0.27 on FreeBSD 5.0. Tpop3d don't work with my ldap. View Log Nov 25 17:12:18 BSD tpop3d[61274]: parse_listeners: listening on address= =20 192.168.1.20:110 Nov 25 17:12:18 BSD tpop3d[61274]: auth_ldap_init: will guess mailbox typ= es=20 based upon filename Nov 25 17:12:18 BSD tpop3d[61274]: auth_ldap_init: neither an=20 auth-ldap-mail-user nor an auth-ldap-mail-user-attr directive was specifi= ed Nov 25 17:12:18 BSD tpop3d[61274]: failed to initialise ldap authenticati= on=20 driver Nov 25 17:12:18 BSD tpop3d[61274]: no authentication drivers were loaded;= =20 aborting. Nov 25 17:12:18 BSD tpop3d[61274]: you may wish to check your config file= =20 /usr/local/etc/tpop3d.conf Why tpop3d don't load ldap authentication driver? From dave at dsb3.com Fri Nov 26 14:49:28 2004 From: dave at dsb3.com (Dave Baker) Date: Fri, 26 Nov 2004 09:49:28 -0500 Subject: [tpop3d-discuss]tpop3d+ldap In-Reply-To: <200411251734.43136.ruslan@phoenixgroup.ru> References: <200411251734.43136.ruslan@phoenixgroup.ru> Message-ID: <20041126144928.GA2004@sundance.eth> On Thu, Nov 25, 2004 at 05:34:43PM +0000, ruslan wrote: > Tpop3d don't work with my ldap. ... snip ... > Nov 25 17:12:18 BSD tpop3d[61274]: auth_ldap_init: neither an > auth-ldap-mail-user nor an auth-ldap-mail-user-attr directive was specified ... snip ... > Nov 25 17:12:18 BSD tpop3d[61274]: you may wish to check your config file > /usr/local/etc/tpop3d.conf > > Why tpop3d don't load ldap authentication driver? > Seems the answer is in the log file you quoted. Dave -- - Dave Baker : dave@dsb3.com : http://dsb3.com/ - GnuPG: 1024D/D7BCA55D / 09CD D148 57DE 711E 6708 B772 0DD4 51D5 D7BC A55D From ruslan at phoenixgroup.ru Fri Nov 26 17:50:22 2004 From: ruslan at phoenixgroup.ru (ruslan) Date: Fri, 26 Nov 2004 17:50:22 +0000 Subject: [tpop3d-discuss]tpop3d+ldap In-Reply-To: <41A75816.5050001@lecentre.net> References: <200411251734.43136.ruslan@phoenixgroup.ru> <41A75816.5050001@lecentre.net> Message-ID: <200411261750.22354.ruslan@phoenixgroup.ru> > Hi, > > can you join your config file please ? > what ldap schema do you use for your users ? Hi, This my schema in Ldap. Ldap good work wiht samba and squid. include=09=09/usr/local/etc/openldap/schema/core.schema include=09=09/usr/local/etc/openldap/schema/cosine.schema include=09=09/usr/local/etc/openldap/schema/inetorgperson.schema include=09=09/usr/local/etc/openldap/schema/nis.schema include=09=09/usr/local/etc/openldap/schema/samba.schema tpop3d conf listen-address: 192.168.1.20 max-children: 16 auth-ldap-enable: yes auth-ldap-url: ldap://127.0.0.1:389 auth-ldap-searchdn: cn=3Droot,dn=3Dexample,dn=3Dcom auth-ldap-password: secret auth-ldap-filter: objectclass=3Duid=20 auth-ldap-mailbox-attr: attribute name