Asfihani wrote:
Fadil wrote:
Hallo om Cygnus,
saya sudah coba baca dokumennya. Tapi sepertinya yg
dijelaskan hanya kalau si A bisa, si B tidak.
tapi saya belum menemukan cara agar semua (A & B) bisa
terima email dari mana saja, tapi tidak untuk
SOURCE-SOURCE tertentu (ex: [EMAIL PROTECTED], etc).
Untuk melookup alamat dari sender, gunakan check_sender_access.
Tinggal dikombinasikan dengan restriction classes yang dicontoh
mestinya tidak begitu sulit.
Rgds,
Asfihani
Om Asfihani,
Kalo restriction_class umumnya untuk keperluan reject/permit.
seperti di bawah ini, [EMAIL PROTECTED] hanya menerima email
dari [EMAIL PROTECTED] selain itu di REJECT
/etc/postfix/main.cf <http://www.postfix.org/postconf.5.html>:
smtpd_recipient_restrictions
<http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions> =
check_recipient_access
<http://www.postfix.org/postconf.5.html#check_recipient_access>
hash:/etc/postfix/protected_destinations
smtpd_restriction_classes
<http://www.postfix.org/postconf.5.html#smtpd_restriction_classes> =
*insiders_only*
*insiders_only* = check_sender_access
<http://www.postfix.org/postconf.5.html#check_sender_access> hash:/etc/postfix/insiders,
reject <<<<<---- default reject
/etc/postfix/protected_destinations:
[EMAIL PROTECTED] *insiders_only*
/etc/postfix/insiders:
[EMAIL PROTECTED] OK
Nah, bagaimana kalo default rule REJECT diganti menjadi karantina/forward ke
suatu email tertentu. Jadi skenarionya si [EMAIL PROTECTED] hanya
menerima
email dari [EMAIL PROTECTED] Selain dari [EMAIL PROTECTED], email ke
[EMAIL PROTECTED] akan di karantina/forward ke [EMAIL PROTECTED]
any clue ?
--
Regards,
Toni ST // Mandorkawat Dotnet
----------------------------------
Migrasi mailserver ke opensource ?
Mudah, Aman & Hemat biaya.
Hubungi : [EMAIL PROTECTED]
http://www.pedezz.net
----------------------------------