Mail relaying using smtpd setting?

2012-09-17 Thread Naval saini
I want to relay mails from another postfix server without using sasl authentication and to prevent from open relay i want to allow recipient server to accept mails using *smtpd_recipient_restrictions* settings currently i am using *smtpd_recipient_restrictions = permit_mynetworks reject_unknown_hel

Re: Mail relaying using smtpd setting?

2012-09-17 Thread Wietse Venema
Naval saini: > lost connection after DATA from r22.lbsmtp.org[199.83.95.70] > Sep 17 11:11:24 r23 postfix/smtpd[17860]: disconnect from > r22.lbsmtp.org[199.83.95.70] The load balancer closes the TCP connection. Try to make things work *without* the load balancer. Use load balancer only after (not

block ip ranges before sasl

2012-09-17 Thread l...@airstreamcomm.net
We would like to block a couple ranges of ips before a sasl login is able to happen. Smtpd_recipient_restrictions looks like this: smtpd_recipient_restrictions = permit_mynetworks, check_client_access cidr:/etc/postfix/restricted permit_sasl_authenticated, check_

Re: block ip ranges before sasl

2012-09-17 Thread Reindl Harald
Am 17.09.2012 22:51, schrieb l...@airstreamcomm.net: > We would like to block a couple ranges of ips before a sasl login is able to > happen. Smtpd_recipient_restrictions > looks like this: > > smtpd_recipient_restrictions = > permit_mynetworks, > check_client_access cidr:/etc/

Re: block ip ranges before sasl

2012-09-17 Thread Wietse Venema
l...@airstreamcomm.net: > We would like to block a couple ranges of ips before a sasl login is > able to happen. Smtpd_recipient_restrictions looks like this: > > smtpd_recipient_restrictions = > permit_mynetworks, > check_client_access cidr:/etc/postfix/restricted > p

Re: block ip ranges before sasl

2012-09-17 Thread /dev/rob0
On Mon, Sep 17, 2012 at 03:51:03PM -0500, l...@airstreamcomm.net wrote: > We would like to block a couple ranges of ips before a sasl login is > able to happen. Smtpd_recipient_restrictions looks like this: > > smtpd_recipient_restrictions = > permit_mynetworks, > check_client_acc

Re: block ip ranges before sasl

2012-09-17 Thread l...@airstreamcomm.net
On 9/17/12 4:15 PM, /dev/rob0 wrote: On Mon, Sep 17, 2012 at 03:51:03PM -0500, l...@airstreamcomm.net wrote: We would like to block a couple ranges of ips before a sasl login is able to happen. Smtpd_recipient_restrictions looks like this: smtpd_recipient_restrictions = permit_mynetwo

Re: virtual_alias_domains not working

2012-09-17 Thread mouss
Le 17/09/2012 05:14, Neil Aggarwal a écrit : > Noel: > >> # main.cf >> mydestination = localhost localhost.example.com >> virtual_alias_domains = virtual.example.com >> >> # virtual_alias >> # NOTE: best to use fully-qualified domain names here >> us...@virtual.example.com us...@localhost.example

Re: block ip ranges before sasl

2012-09-17 Thread mouss
Le 17/09/2012 23:26, l...@airstreamcomm.net a écrit : > On 9/17/12 4:15 PM, /dev/rob0 wrote: >> On Mon, Sep 17, 2012 at 03:51:03PM -0500, l...@airstreamcomm.net wrote: >>> We would like to block a couple ranges of ips before a sasl login is >>> able to happen. Smtpd_recipient_restrictions looks li

Re: block ip ranges before sasl

2012-09-17 Thread Robert Schetterer
Am 17.09.2012 22:55, schrieb Reindl Harald: > > > Am 17.09.2012 22:51, schrieb l...@airstreamcomm.net: >> We would like to block a couple ranges of ips before a sasl login is able to >> happen. Smtpd_recipient_restrictions >> looks like this: >> >> smtpd_recipient_restrictions = >> perm