PttBBS FAQ:

 1. PttBBS���Q�װ�
 2. �b Linux���U�X�{ Makefile ���~.
 3. �[�j shared-memory
 4. �]�w group
 5. ���l�ѽL�S���X�{
 6. sendmail.cf�n�諸�a��(�Ѧҥ�) (by DavidYu)
 7. /usr/libexec/elf/ld: cannot find -liconv
   �� iconv.h: No such file or directory
------------------------------------------------------------------------------
1.PttBBS���Q�װ�
�������~�{ (telnet://ptt.csie.ntu.edu.tw) �� PttCurrent �ݪO.

------------------------------------------------------------------------------
2.�b Linux���U�X�{ Makefile ���~.

�ϥ� Linux, �b compile���ɭԥX�p Makefile:20: *** missing separator.  Stop.
�Цw�� pmake, �ñN make alias �� pmake .
�p:	apt-get install pmake
	alias make pmake

------------------------------------------------------------------------------
3.�[�j shared-memory
in FreeBSD:
�Цb /etc/sysctl.conf �̭��[�J
kern.ipc.shmmax=104857600
kern.ipc.shmall=25600
�o��Ӽƭȥi�����n�վ�,
�b���s�}����|�ͮ�.

in Linux:
�k�@: �� sysctl �� kernel.shmmax
�k�G: �b kernel source��X (�i�� grep -R )
       #define SHMMAX �N��[�j
      ���s make kernel�åB reboot

------------------------------------------------------------------------------
4.�]�w group
�H FreeBSD����, �z���n��� /etc/group �o���ɮ�,
 /etc/group ���y�k�O:
	group:passwd:gid:member

	 group�O�� group���W�r,
	passwd�@�뱡�p�U���], �H *�N��,
	 gid  ���@�ӤQ�i�쪺�Ʀr, �̦n���n�M��L������,
	member�����ǤH���b�Ӹs�դ�, �H�r�� (,)�j�}.
�ԲӥΪk�Ш�group(5)
�Ҧp�z�n�N aaa, bbb �[�J bbsadm �o�� group, �z�i��|��:
	bbsadm:*:9876:aaa,bbb
�b�]�w������, ��Ӥw�g�n�J���ϥΪ̶��n���s�n�J,
�~�|���s���J�ܷs�]�� group��.
�z�i�H�Ѧ� group(5)

------------------------------------------------------------------------------
5.���l�ѽL�S���X�{
�бN sample/etc/@five ������ ~bbs/etc/ �Y�i.

------------------------------------------------------------------------------
6. sendmail.cf�n�諸�a��(�Ѧҥ�) (by DavidYu)

�n�`�N,tab�Mspace����V��

######################################
###   Ruleset 0 -- Parse Address   ###
######################################
S0

R$*                     $: $>Parse0 $1          initial parsing
R<@>                    $#local $: <@>          special case error msgs
R$*                     $: $>98 $1              handle local hacks
R$+.bbs < @ $=w .>      $#bbsmail $: $1         bbs mail gateway
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
R$*                     $: $>Parse1 $1          final parsing

......

# handle locally delivered names
R$+.bbs                 $#bbsmail $:$1                  bbs mail gateway
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
R$=L                    $#local $: @ $1                 special local names
R$+                     $#local $: $1                   regular local names

###########################################################################
###   Ruleset 5 -- special rewriting after aliases have been expanded   ###
###########################################################################

......

##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.30 (Berkeley) 6/30/1998  #####

Mlocal,         P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qSXfmnz9P, S=10/30, R= 
                T=DNS/RFC822/X-Unix,
                A=mail.local -l
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u
Mbbsmail,       P=/home/bbs/bin/bbsmail, F=lsSDFMhPu, U=bbs, S=10,R=20/40,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                A=bbsmail $u
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

------------------------------------------------------------------------------
7./usr/libexec/elf/ld: cannot find -liconv
  �� iconv.h: No such file or directory
�]���s�� innbbsd���[�J�F RFC 2045 support, ���n libiconv .
�z�����n���w�� libiconv (/usr/ports/converters/libiconv/ in FreeBSD)
�A���s make �Y�i

�Y�z�w�g�w�ˤF libiconv ���L�٬O�䤣��,
�бN�� lib�Ҧb�� path (/usr/local/lib in FreeBSD)
�[�� innbbsd/Makefile �� LDFLAGS��, ex:
	LDFLAGS+= -liconv
�令:
	LDFLAGS+= -liconv -L/usr/local/lib