Solve Postfix mailbox 2G limit problem

user-pic
Vote 0 Votes

在 mailbox 到 2G 時, 若出現無法收信的狀況, Log 會看到 File too large 的訊息,
表示套件在編譯製作時就沒有加入 LARGEFILE 參數,
才導致此問題, CentOSMandriva 32bit 版本都有這個狀況
需自行抓 Source 編譯來解決此問題
wget ftp://postfix.cdpa.nsysu.edu.tw/Unix/Mail/Postfix/official/postfix-2.7.1.tar.gz
tar zxf postfix-2.7.1.tar.gz
cd postfix-2.7.1
make makefiles CCARGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
make install

Leave a comment

About this Entry

This page contains a single entry by Pank published on October 12, 2010 12:48 AM.

tshark was the previous entry in this blog.

arp-sk is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.