| Article Index |
|---|
| Postfix+ tpop3d + clamsmtp |
| Page 2 |
| All Pages |
Β
kemudian edit master.cf untuk dukungan clamav
#pico /usr/local/etc/postfix/master.cfβββββ-tambahkan ini ke master.cfβββββ
#AV scan filter (used by contentfilter)
scan unix β - n β 16 smtp
-o smtpsendxforwardcommand=yes
127.0.0.1:10026 inet n β n β 16 smtpd
-o contentfilter=
-o receiveoverrideoptions=nounknownrecipientchecks,noheaderbodychecks
-o smtpdhelorestrictions=
-o smtpdclientrestrictions=
-o smtpdsenderrestrictions=
-o smtpdrecipientrestrictions=permitmynetworks,reject
-o mynetworksstyle=host
-o smtpdauthorizedxforwardhosts=127.0.0.0/8
βββββ-tambahkan ini ke master.cfβββββ
tahap selanjutnya adalah mengkonfigurasi clamav
#pico pico /usr/local/etc/clamd.confββββββββisi file clamd.confβββββββββ-
LogFile /tmp/clamd.log
LogFileUnlock
LogFileMaxSize 2M
LogTime
LogClean
LogSyslog
LogFacility LOG_MAIL
LogVerbose
PidFile /www/tmp/clamd.pid
TemporaryDirectory /www/tmp
LocalSocket /www/tmp/clamd
FixStaleSocket
MaxConnectionQueueLength 30
StreamMaxLength 26M
MaxThreads 20
FollowDirectorySymlinks
FollowFileSymlinks
User clamav qscand
ScanOLE2
ScanMail
ScanRAR
ArchiveMaxFileSize 25M
ArchiveMaxCompressionRatio 300
ArchiveBlockMax
ββββββββisi file clamd.confβββββββββ-
tahap selanjutnya adalah mengkonfigurasi clamsmtp
#pico /usr/local/etc/clamsmtpd.confββββββ-isi file clamsmtpd.confββββββββ
OutAddress: 127.0.0.1:10026
Listen: 127.0.0.1:10025
ClamAddress: /www/tmp/clamd
Header: X-Virus-Scanned: INDOFREEBSD MAIL Anti Virus
TempDirectory: /www/tmp
Quarantine: on
User: clamav
ββββββ-isi file clamsmtpd.confββββββββ
tahap selanjutnya jalankan satu persatu aplikasi yang kita install tadi
#cd /usr/local/etc/rc.d
#ln -s /usr/local/sbin/postfix postfix.sh #pico /etc/rc.confββββββ-tambahkan ini pada rc.confββ-
clamsmtpdenable=βYESβ
clamavfreshclamenable=βYESβ
clamavclamdenable=βYESβ
tpop3denable=βYESβ
ββββββ-tambahkan ini pada rc.confββ-
#./tpop3d.sh start
#./clamav-clamd.sh start
#./clamav-freshclam.sh start
#postfix start
semua tahapan telah selesai silahkan mempergunakan email anda
| < Prev |
|---|



Comments