On Sat, 2002-08-10 at 10:36, Binand Raj S. wrote:
> On Fri, Aug 09, 2002 at 10:35:17PM +0530, Praveen Kannan wrote:
> > Hello,
> > 
> >     I am running a local relay for ppl in my network. I have a doubt. If I
> > want to put up a restriction such that "only" ppl with a From: of
> > xyz.com can relay mail and all other addresses should be rejected, what
[snip]

Hello,

        I found a solution to my problem. I made changes like

smtpd_sender_restrictions = check_sender_access
regexp:/etc/postfix/access-r,reject

And in /etc/postfix/access-r :

/xyz\.com/      OK
/./             554 go away.


        This works now, it seems that regex do the checking in an order. The
'reject' parameter after the directive rejects all mails other that what
is specified in the file.

        
-- 
Praveen Kannan
Opaque Networks
e-mail : [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to