[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[postfix-jp: 2912] Re:	FROM+TO の組み合わせで拒否したい
- Subject: [postfix-jp: 2912] Re:	FROM+TO の組み合わせで拒否したい
 
- From: marina.999.mina.10.ub@xxxxxxxxx
 
- Date: Mon, 4 Feb 2008 00:27:27 +0900 (JST)
 
- Priority: normal
 
青山さん今晩は。
渡辺です。
ちょっと僕の書き方が、特定の人の制御のように見えてしまいすみません。
条件は、@example.jp 宛てのメールの中で、@example.XX.jp からのメールだけは
遮断する、です。
FQDN単位で制御ができるのであれば、以下のような感じでOKでしょうか。
今、環境がないので、明日試してみます。
/etc/postfix/main.cf:
	smtpd_sender_restrictions =
	  check_sender_access hash:/etc/postfix/sender
	  ・・・・・
	smtpd_restriction_classes = taro_restriction
	taro_restriction =
	  check_recipient_access hash:/etc/postfix/taro_recipient
	  permit
/etc/postfix/sender:
	@example.XX.jp	taro_restriction
/etc/postfix/taro_recipient:
	@example.jp	REJECT
_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list
- Follow-Ups
- 
  - [postfix-jp: 2915] Re: FROM+TO の組み合わせで拒否したい, 青山 雅俊
 
- [postfix-jp: 2917] Re:	FROM+TO の組み合わせで拒否したい, marina . 999 . mina . 10 . ub
 
- References
- 
  - [postfix-jp: 2907] Re: FROM+TO の組み合わせで拒否したい, 青山 雅俊
 
- [postfix-jp: 2906]	FROM+TO の組み合わせで拒否したい, marina . 999 . mina . 10 . ub
 
[検索ページ]
[Postfix-JP ML Home]