On Thu, May 27, 2004 at 05:18:08PM -0700, Jays wrote:

> saya mau blok sender domain i.e. dari returns.groups.yahoo.com gak boleh
> masuk ke relay domain (xxx.co.id) tapi kalo ke anak.xxx.co.id dibolehkan.

Maksudnya bagaimana nih? Apakah domain anak.xxx.co.id bisa menerima mailing-list
dari yahoogroups sedangkan xxx.co.id tidak? Kalau skenarionya seperti itu, coba
seperti ini (untested):

/etc/postfix/main.cf:
smtpd_recipient_restrictions =
        permit_mynetworks
        reject_unauth_destination
        check_recipient_access hash:/etc/postfix/recipient_access
        ...

smtpd_restriction_classes = yahoogroups
yahoogroups = check_sender_access hash:/etc/postfix/yahoogroups

/etc/postfix/recipient_access:
xxx.co.id       yahoogroups

/etc/postfix/yahoogroups:
returns.groups.yahoo.com        REJECT Sorry, no yahoogroups mailing list.

Dokumentasi yang terkait:

http://www.postfix.org/RESTRICTION_CLASS_README.html

Ada baiknya sebelum bertanya melihat dokumentasi atau arsip mailing-list ini
karena hal ini sudah pernah dibahas sebelumnya.

Salam,

 Asfihani

Reply via email to