Hello ftrunbox,
Thursday, August 19, 2004, 3:10:27 PM, you wrote:
> Hello A.,
> Thursday, August 19, 2004, 1:18:26 PM, you wrote:
AK>> postfixnya di chroot jail ??
> Maksud di jail apa ya ? bisa kasih step by step cara jailkan postfix
> pak ?
> pernah baca di sini examples/chroot-setup tapi masih nggak ngerti
> Setelah saya ubah chroot y menjadi n untuk rewrite
> rewrite unix - - n - - trivial-rewrite
> klu setting saya di master.cf
> #
> ==========================================================================
> # service type private unpriv chroot wakeup maxproc command + args
> # (yes) (yes) (yes) (never) (50)
> #
> ==========================================================================
> smtp inet n - n - - smtpd
> #smtps inet n - n - - smtpd
> # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
> #submission inet n - n - - smtpd
> # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
> #628 inet n - n - - qmqpd
> pickup fifo n - y 60 1 pickup
> cleanup unix n - y - 0 cleanup
> qmgr fifo n - n 300 1 qmgr
> #qmgr fifo n - y 300 1 nqmgr
> #tlsmgr fifo - - n 300 1 tlsmgr
> rewrite unix - - n - - trivial-rewrite
> bounce unix - - y - 0 bounce
> defer unix - - y - 0 bounce
> flush unix n - y 1000? 0 flush
> smtp unix - - y - - smtp
> showq unix n - y - - showq
> error unix - - y - - error
> local unix - n n - - local
> virtual unix - n n - - virtual
> lmtp unix - - y - - lmtp
> #
> # Interfaces to non-Postfix software. Be sure to examine the manual
> # pages of the non-Postfix software to find out what options it wants.
> # The Cyrus deliver program has changed incompatibly.
> #
> cyrus unix - n n - - pipe
> flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
> uucp unix - n n - - pipe
> flags=Fqhu user=uucp argv=uux -r -n -z -a$sender -
> $nexthop!rmail.postfix ($recipient)
> ifmail unix - n n - - pipe
> flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> bsmtp unix - n n - - pipe
> flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
> relay unix - - n - - smtp
> trace unix - - n - 0 bounce
> verify unix - - n - 1 verify
> proxymap unix - - n - - proxymap
> anvil unix - - n - 1 anvil
> scache unix - - n - 1 scache
> Kemudian saya coba telnet lagi, hasilnya lebih mengembirakan
> walau masih error
> [EMAIL PROTECTED] root]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 mail.hendratna.net ESMTP Postfix (2.2-20040801)
> mail from:[EMAIL PROTECTED]
> 250 Ok
> rcpt to:[EMAIL PROTECTED]
> 250 Ok
> data
> 354 End data with <CR><LF>.<CR><LF>
> testing
> .
> 250 Ok: queued as E7243900A0
> quit
> 221 Bye
> Connection closed by foreign host.
> Hasil errornya
> Aug 19 13:39:37 jbn postfix/postfix-script: stopping the Postfix mail system
> Aug 19 13:39:37 jbn postfix/master[3883]: terminating on signal 15
> Aug 19 13:39:43 jbn postfix/postfix-script: starting the Postfix mail system
> Aug 19 13:39:43 jbn postfix/master[4045]: daemon started -- version 2.2-20040801
> Aug 19 13:39:55 jbn postfix/smtpd[4051]: connect from jbn.hendratna.net[127.0.0.1]
> Aug 19 13:40:11 jbn postfix/trivial-rewrite[4053]: warning: do
> not list domain hendratna.net in BOTH mydestination and
> virtual_mailbox_domains
> Aug 19 13:40:24 jbn postfix/trivial-rewrite[4053]: warning: do
> not list domain hendratna.net in BOTH mydestination and
> virtual_mailbox_domains
mudah2an bukan karena ini :)
Nyoman.
#nobody is perfect, i am nobody :p