[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: permit ip, reject domain
From: Feel Zhou <feelzhou () gmail ! com>
Date: 2013-07-09 3:30:18
Message-ID: CADmZUocQCrgVTPk0m1G1Dkh3onXDpOqdO6t+cwcUovxZ-LGkwA () mail ! gmail ! com
[Download RAW message or body]
Thanks for Noel Jones
About "ip match domain", It's working now.
/etc/postfix/main.cf
smtpd_sender_restrictions =
check_client_access cidr:/etc/postfix/enforce_ip_match_domain
smtpd_restriction_classes =
example
example = check_sender_access hash:/etc/postfix/example.domain
reject
/etc/postfix/enforce_ip_match_domain
IP example
/etc/postfix/example.domain
example.com OK
I have another restrictions, It's working before
/etc/postfix/main.cf
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/sender_reject_addr_check
/etc/postfix/sender_reject_addr_check
baduser@example.com REJECT
After I set "ip match domain" restrictions , "badsender" restrictions do
not working
How can I let both restrictions working together
Thanks a lot
2013/6/7 Noel Jones <njones@megan.vbhcs.org>
> On 6/6/2013 9:36 PM, Feel Zhou wrote:
> > Thanks Noel
> >
> > one more thing, How to setting one IP bind two or three domain
> >
> > Thanks a lot
> >
> >
> ...
> >
> > # require_sender_A
> > A.example.com <http://A.example.com> OK
> C.example.com OK
>
>
>
>
>
> -- Noel Jones
>
[Attachment #3 (text/html)]
<div dir="ltr"><div><div>Thanks for Noel Jones<br></div>About "ip match \
domain", It's working now.<br></div><div><br>/etc/postfix/<a \
href="http://main.cf">main.cf</a><br> smtpd_sender_restrictions =<br> \
check_client_access cidr:/etc/postfix/enforce_ip_match_domain<br> \
smtpd_restriction_classes =<br></div><div> example<br> example = \
check_sender_access hash:/etc/postfix/example.domain<br> \
reject<br>/etc/postfix/enforce_ip_match_domain<br></div><div> IP example<br> \
</div><div>/etc/postfix/example.domain</div><div> <a \
href="http://example.com">example.com</a> OK<br></div><div><br>I have another \
restrictions, It's working \
before<br></div><div><div><div><br></div><div>/etc/postfix/<a \
href="http://main.cf">main.cf</a><br> </div><div> smtpd_sender_restrictions =<br> \
check_sender_access hash:/etc/postfix/sender_reject_addr_check<br>/etc/postfix/sender_reject_addr_check<br> \
<a href="mailto:baduser@example.com">baduser@example.com</a> REJECT<br> \
<br></div><div>After I set "ip match domain" restrictions , \
"badsender" restrictions do not working<br></div><div>How can I let both \
restrictions working together<br></div><div>Thanks a lot<br><br></div> \
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/7 Noel \
Jones <span dir="ltr"><<a href="mailto:njones@megan.vbhcs.org" \
target="_blank">njones@megan.vbhcs.org</a>></span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="im">On 6/6/2013 9:36 PM, Feel Zhou wrote:<br>
> Thanks Noel<br>
><br>
> one more thing, How to setting one IP bind two or three domain<br>
><br>
> Thanks a lot<br>
><br>
><br>
</div>...<br>
><br>
> # require_sender_A<br>
> <a href="http://A.example.com" target="_blank">A.example.com</a> <<a \
href="http://A.example.com" target="_blank">http://A.example.com</a>> OK<br> <a \
href="http://C.example.com" target="_blank">C.example.com</a> OK<br> <span \
class="HOEnZb"><font color="#888888"><br> <br>
<br>
<br>
<br>
-- Noel Jones<br>
</font></span></blockquote></div><br></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic