Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: J. Bakshi (joydeepinfoservices.in)
Date: Tue Nov 17 2009 - 23:38:44 CST
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
>>>> 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:
> /^DOMAIN\.NET$/ OK
> /./ REJECT
> And then you can use it on various places in main.cf:
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
` ` ` `