Re: restrict external host

2009-06-21 Thread Ralf Hildebrandt
* K bharathan kbhara...@gmail.com: my setup: external relay1 --internal postfix mail server how can i restrict postfix to receive only mails from relay1; can i do it through a access map? mynetworks = externalrelay1 smtpd_recipient_restrictions = permit_mynetworks reject -- Ralf

Re: restrict external host

2009-06-21 Thread K bharathan
it did n't work with changes in mynetworks if i elaborate the setup, it's like the following: main external relay - internal relay(internal-192.168.100.0/24) - finally mails reach exchange (192.168.100.122) i want internal relay should not receive any mails other than from external relay the

Re: restrict external host

2009-06-21 Thread Noel Jones
K bharathan wrote: it did n't work with changes in mynetworks if i elaborate the setup, it's like the following: main external relay - internal relay(internal-192.168.100.0/24) - finally mails reach exchange (192.168.100.122) i want internal relay should not receive any mails other than

Re: restrict external host

2009-06-21 Thread Ville Walveranta
Or, if you want to have one regular interface and one restricted (to receive email only from the primary relay), you could use the following: In master.cf: #standard port 25 smtp inet n - n - - smtpd #restricted interface to receive email only from specified

Re: restrict external host

2009-06-21 Thread K bharathan
it's working i've been always a reader of this list. before i pose a question, i understand, i've to be well grounded on postfix ; these ingenuities r not comparable; great! to begin with i've started with 'the book of postfix' thanks everybody On Mon, Jun 22, 2009 at 1:25 AM, Ville Walveranta