|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: J. Bakshi (joydeep
infoservices.in)
Date: Tue Nov 17 2009 - 23:38:44 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
` ` ` `
--
জয়দীপ বক্সী
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]