Eero Volotinen wrote:
> J. Bakshi wrote:
>> Eero Volotinen wrote:
>>> J. Bakshi wrote:
>>>
>>>> Thanks to point it out :-) I am looking into it.  Is there any other
>>>> option so that I can only define the domain name with the proper
>>>> keyword
>>>> in main.cf and postfix send mails to only that domain ?
>>> Err.. why? I think access is nicest way to do it.
>>
>> Could you kindly give me an example to restrict the domain with access ?
>
> How about following:
>
> access.pcre:
>
> /^DOMAIN\.NET$/     OK
> /./                    REJECT
>
>
> And then you can use it on various places in main.cf:
> (pcre:/etc/postfix/access.pcre)
>
>
>
> -- 
> Eero
>

I am afraid to say but no luck yet :-(

I have already installed "postfix-pcre"  and created the access.pcre
accordingky the above pattern. main.cf has

` ` ` `
smtpd_recipient_restrictions = check_recipient_access 
pcre:/etc/postfix/access.pcre, reject

` ` ` `



-- 
জয়দীপ বক্সী

Reply via email to