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