[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[postfix-jp: 115] Re: 複合条件での送信制限は可能でしょうか?
- Subject: [postfix-jp: 115] Re: 複合条件での送信制限は可能でしょうか?
- From: masatoshi.aoyama@xxxxxxxxx (青山 雅俊)
- Date: Sat, 20 Mar 2004 23:00:56 +0900
青山です。
(詐称はないと仮定してですが) smtpd_restriction_classes を使用し、
以下のような設定で、かなり希望に近い事が可能にはなったのですが・・・
条件)taro@xxxxxxxxxxx は、任意の宛先にメールの送信が可能だが、
   hanako@example.jp へのメールだけは遮断する
/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:
	taro@example.com	taro_restriction
/etc/postfix/taro_recipient:
	hanako@example.jp	REJECT
実際には taro から複数の宛先に同報する際に、宛先の中に bbb@examle.jp が
含まれていると、メッセージ自体を遮断してしまい誰にもメールが送られません。
まだまだ研究が必要のようです。(^_^;
_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list
- Follow-Ups- 
- [postfix-jp: 116] Re: 複合条件での送信制限は可能でしょうか?, 青山 雅俊
- [postfix-jp: 118] Re: 複合条件での送信制限は可能でしょうか?, IKEDA Nozomu
- References- 
- [postfix-jp: 113] Re: 複合条件での送信制限は可能でしょうか?, IKEDA Nozomu
[検索ページ]
[Postfix-JP ML Home]