Notes: October 2003 Archives

Proftpd timeout 修改

| | Comments (0)

TIMEOUTNOXFER 修改 include/option.h

#ifndef PR_TUNABLE_TIMEOUTNOXFER
# define PR_TUNABLE_TIMEOUTNOXFER 300
#endif

KKman Google 版

| | Comments (0)

右上角廣告換成 Google
下載 覆蓋原檔

由 daemon 啟動 X 程式注意事項

| | Comments (0)

啟動前需設 DISPLAY 變數
如 export DISPLAY=:0.0
否則 X 程式無法在前景顯示

找 > 100k 的檔案

| | Comments (0)

linux freebsd 不同

linux
find . -size +100k

freebsd
find . -size +102400c
or
find . -size +200
(200x512=102400)

postfix+procmail can't mail to root?

| | Comments (0)

http://www.postfix.org/faq.html#procmail

Warning: if you use procmail in this manner, you must set up an alias for root that forwards mail for root to a real user. See the FAQ entry titled "Mail for root is delivered to nobody".

beep

| | Comments (0)

printf "\a"
or
echo -en "\a" (linux only)

中華電信 GPRS 撥接

| | Comments (0)

number: *99#
APN: internet

[C:\]ping -n 10 168.95.1.1

Pinging 168.95.1.1 with 32 bytes of data:

Reply from 168.95.1.1: bytes=32 time=1191ms TTL=248
Reply from 168.95.1.1: bytes=32 time=936ms TTL=248
Reply from 168.95.1.1: bytes=32 time=858ms TTL=248
Reply from 168.95.1.1: bytes=32 time=817ms TTL=248
Reply from 168.95.1.1: bytes=32 time=775ms TTL=248
Reply from 168.95.1.1: bytes=32 time=753ms TTL=248
Reply from 168.95.1.1: bytes=32 time=730ms TTL=248
Reply from 168.95.1.1: bytes=32 time=609ms TTL=248
Reply from 168.95.1.1: bytes=32 time=587ms TTL=248
Reply from 168.95.1.1: bytes=32 time=808ms TTL=248

Ping statistics for 168.95.1.1:
Packets: Sent = 10, Received = 10, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 587ms, Maximum = 1191ms, Average = 806ms

posfix make tip

| | Comments (0)

need db.h, in libdb3.3-devel-3.3.11-13mdk.i586.rpm
need pcre.h, in libpcre0-devel-3.9-5mdk.i586.rpm

Postfix + Cyrus-SASL
http://www.cngnu.org/technology/Postfix_I.tw.html

#!/bin/sh
rm /usr/libexec/postfix/bounce
rm /usr/libexec/postfix/cleanup
rm /usr/libexec/postfix/error
rm /usr/libexec/postfix/flush
rm /usr/libexec/postfix/lmtp
rm /usr/libexec/postfix/local
rm /usr/libexec/postfix/master
rm /usr/libexec/postfix/nqmgr
rm /usr/libexec/postfix/pickup
rm /usr/libexec/postfix/pipe
rm /usr/libexec/postfix/proxymap
rm /usr/libexec/postfix/qmgr
rm /usr/libexec/postfix/qmqpd
rm /usr/libexec/postfix/showq
rm /usr/libexec/postfix/smtp
rm /usr/libexec/postfix/smtpd
rm /usr/libexec/postfix/spawn
rm /usr/libexec/postfix/trivial-rewrite
rm /usr/libexec/postfix/virtual
rm /usr/sbin/postalias
rm /usr/sbin/postcat
rm /usr/sbin/postconf
rm /usr/sbin/postfix
rm /usr/sbin/postkick
rm /usr/sbin/postlock
rm /usr/sbin/postlog
rm /usr/sbin/postmap
rm /usr/sbin/postsuper
rm /usr/sbin/postdrop
rm /usr/sbin/postqueue
rm /usr/sbin/sendmail
rm /usr/bin/newaliases
rm /usr/bin/mailq
make clean
make makefiles CCARGS="-DUSE_SASL_AUTH" AUXLIBS="-lsasl"
make
make install

Pages

May 2008

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

About this Archive

This page is a archive of entries in the Notes category from October 2003.

Notes: September 2003 is the previous archive.

Notes: November 2003 is the next archive.

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