Salam,
                                                                                       
         
Mungkin agak aneh ya pertanyaan saya ini, soalnya campur aduk,  nah begini ceritanya:
Di file main.cf telah berisi mime_header_checks = 
/etc/postfix/mime_headear/mime_header_checks, dan saya reload postfix-nya. Namun 
ketika saya liat dari perintah postconf -n|grep mime ; kok ngak ada ya. Semua file 
sudah saya check dan berada pada PATH yang tepat (/etc/postfix).
Bukan hanya itu, yang body_checks juga ngak bekerja sebagaimana mestinya (saya kirim 
email test dengan salah satu subject yang didalam aturannya masih tetap terkirim). 
Kira2 kenapa ya.
                                                                                       
         
Akhirnya saya bertanya juga nih.
                                                                                       
         
[ini cuplikannya]
                                                                                       
         
[EMAIL PROTECTED] root]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = 202.162.193.19, 127.0.0.1
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
myhostname = staff.m-tv.ampuh.info
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = Mail Services Citr@ Net
smtpd_recipient_restrictions = permit_mynetworks,   reject_invalid_hostname,   
reject_non_fqdn_recipient,   reject_non_fqdn_sender,   
reject_unknown_recipient_domain,   reject_unknown_sender_domain,   
reject_unauth_pipelining,   reject_non_fqdn_hostname,   reject_unauth_destination,   
check_client_access hash:/etc/postfix/maps/client_checks,   check_sender_access 
hash:/etc/postfix/maps/sender_access,   check_helo_access 
hash:/etc/postfix/maps/helo_access,   permit
smtpd_sender_restrictions = reject_invalid_hostname,    reject_non_fqdn_sender, 
reject_unknown_sender_domain
                                                                                       
         
                                                                                       
         
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks     <- kok ngak tampil ya,
home_mailbox = Maildir/
inet_interfaces = 202.162.193.19, 127.0.0.1
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
myhostname = staff.m-tv.ampuh.info
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = Mail Services Citr@ Net
smtpd_recipient_restrictions = permit_mynetworks,   reject_invalid_hostname,   
reject_non_fqdn_recipient,   reject_non_fqdn_sender,   
reject_unknown_recipient_domain,   reject_unknown_sender_domain,   
reject_unauth_pipelining,   reject_non_fqdn_hostname,   reject_unauth_destination,   
check_client_access hash:/etc/postfix/maps/client_checks,   check_sender_access 
hash:/etc/postfix/maps/sender_access,   check_helo_access 
hash:/etc/postfix/maps/helo_access,   permit
smtpd_sender_restrictions = reject_invalid_hostname,    reject_non_fqdn_sender, 
reject_unknown_sender_domain
                                                                                       
         
[mime_header_checks]
/multipart\/mixed\;boundary.*=.*----[A-F0-9]{8}_Outlook_Express_message_boundary/ WARN
/multipart\/alternative; +boundary="?[:alnum:]+"?/ WARN is it klez?
/name=.*\[[0-9]\]\.(jpg|htm)/ REJECT
/^Content-Type:.*"MailScanBoundary0"$/ REJECT
/^Content-Type:.*name=.*(DELETED[0-9]|warn)\.TXT"?/ REJECT Thanks but no thanks!
/^Content-(Type|Disposition):.*(name|ord)=.*\.(386|scr|dll|pif|exe|com|bat|sh[sb]|asd|ad[ep]|ocx|md[aew]|ms[cipt]|isp|in[fs]|pcd|sct|shs|url|vxd|rm|chm|vb[se]|ws[fhc]|ini|cmd|do|hta|xl|reg|lnk|jse?|=65=78=65\?="?|e\/x\?e"?)\b[^.]/
 REJECT
/^Content-(Type|Disposition):.*name="(body|message|test|data|file|text|doc|readme|document)\.zip"/
 REJECT Rename file attachment, this file used by some viruses.
/^Content-Type:.*boundary="Unique_Boundary"/ REJECT
/^Content-Type:.*boundary="--ABCDEF"/ REJECT
/^Content-Type:.*multipart\/mixed.*boundary="?CSmtpMsgPart/ REJECT
/^Content-type:.*multipart\/alternative.*boundary="?XXXX-Simple-Boundry-XXXX"?/ REJECT
/^Content-(Type|Disposition):.*name="?(ValentineScr|LoveScr|OE6|Demo|your_details|message|Jakarta|Bank2003|GC_msgr|Setup|T193|make_scr|yyutjtz|th_p15|tn_01|Pertamina|QuotationPC|SDS_Telecom|Margafeb|vivianhcc|dohkfm|reportAyla|deddyyy|08|aerobics01\.jpg|Doc6|telkomnet|tn_2_jpg|gl2000-balancesheet|Dial_free_GATRA_Feb03|SMS_PJK|CAVI5FJL|GM862-GSM|Cell2Phone|SMS_PLN|Vacancy_|disney|Navsysr\.dat|popunder\.html|Tc35t|Presentasi_utk_ME|rinci0304_brmi|Retmar03|teteh1|BusinessPLAN_AD|Solusi_SMS|UnifiedMessaging|dataddii|don1|002).zip/
 REJECT
/^Content-(Type|Disposition):.*(name|ord)=.*\.\{[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}/
 REJECT CLSID ext not accepted[mime_header_checks]



QarBa

Reply via email to