J. Bakshi wrote:
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


Thanks for the example.  I am telling you what I have already done here.
Could you please enlighten me what is missing here ?


Yes, you didn't follow my example. How about replacing DOMAIN\.NET with your domain without deleting /./ REJECT line. It's also pcre, not hash table.

Please post questions also to mailinglist, since I am your personal helpdesk.

--
Eero

Reply via email to