Re: HOLDing certain recipients during migration

2013-02-19 Thread Sahil Tandon
On Thu, 2013-02-14 at 13:13:54 +0100, Miha Valencic wrote: > On Thu, Feb 14, 2013 at 1:01 PM, Noel Jones wrote: > > HOLD acts at the message level, not the recipient level. > > If one recipient of a multi-recipient message is put on HOLD, all > > recipients of that message will be affected. > >

Re: block ip-range for 1 domain

2013-02-19 Thread richard lucassen
On Tue, 19 Feb 2013 14:40:58 +0100 Benny Pedersen wrote: > richard lucassen skrev den 2013-02-19 13:58: > > > Ok, that seems to be very nice. AFAIUI it can be implemented on the > > backend server. I'd prefer not to touch the front-end servers. > > then use the ha-proxy on front end, and postfw

Re: block ip-range for 1 domain

2013-02-19 Thread richard lucassen
On Tue, 19 Feb 2013 17:07:43 +0100 Mikael Bak wrote: > > Ok, that seems to be very nice. AFAIUI it can be implemented on the > > backend server. I'd prefer not to touch the front-end servers. > > That does NOT sound like a good idea. > If you accept the message on the fronend and then reject is

Re: Trouble configuring backup MX to reject unauth destination

2013-02-19 Thread Viktor Dukhovni
On Tue, Feb 19, 2013 at 12:21:35PM +0100, Titanus Eramius wrote: > I've tried with relay_domains, but it matches on domain-level which is > too much. I then applied relay_recipient_maps, but it don't seem to > have any effect, which means that addresses is still matched on domain > basis. > > Eve

Re: block ip-range for 1 domain

2013-02-19 Thread Mikael Bak
On 02/19/2013 01:58 PM, richard lucassen wrote: > On Tue, 19 Feb 2013 13:49:54 +0100 > Benny Pedersen wrote: > >>> Any hint? >> >> google postfwd >> >> postfix can do it with classes, but its more complicated then with >> postfwd > > Ok, that seems to be very nice. AFAIUI it can be implemented

Re: block ip-range for 1 domain

2013-02-19 Thread Benny Pedersen
richard lucassen skrev den 2013-02-19 13:58: Ok, that seems to be very nice. AFAIUI it can be implemented on the backend server. I'd prefer not to touch the front-end servers. then use the ha-proxy on front end, and postfwd on backend could you remove email addr in reply template ? (@ does no

Re: block ip-range for 1 domain

2013-02-19 Thread richard lucassen
On Tue, 19 Feb 2013 13:49:54 +0100 Benny Pedersen wrote: > > Any hint? > > google postfwd > > postfix can do it with classes, but its more complicated then with > postfwd Ok, that seems to be very nice. AFAIUI it can be implemented on the backend server. I'd prefer not to touch the front-end

Re: block ip-range for 1 domain

2013-02-19 Thread Benny Pedersen
richard lucassen skrev den 2013-02-19 12:34: Any hint? google postfwd postfix can do it with classes, but its more complicated then with postfwd

Re: block ip-range for 1 domain

2013-02-19 Thread richard lucassen
On Tue, 19 Feb 2013 12:54:42 +0100 Mikael Bak wrote: > > I want to blacklist 1.2.3.4/24 only for destination domain3.tld (and > > reply with a 5xx if possible). > > > > What's the best way to handle this? On the backend server somewhere? > > But the backend server receives the mail from the fron

Re: block ip-range for 1 domain

2013-02-19 Thread Mikael Bak
Richard, On 02/19/2013 12:34 PM, richard lucassen wrote: > I have transport front-end servers for domains: > > domain1.tld > domain2.tld > domain3.tld > domain4.tld > [..] > domainX.tld > > I want to blacklist 1.2.3.4/24 only for destination domain3.tld (and > reply with a 5xx if possible). > >

block ip-range for 1 domain

2013-02-19 Thread richard lucassen
I have transport front-end servers for domains: domain1.tld domain2.tld domain3.tld domain4.tld [..] domainX.tld I want to blacklist 1.2.3.4/24 only for destination domain3.tld (and reply with a 5xx if possible). What's the best way to handle this? On the backend server somewhere? But the backen

Re: Trouble configuring backup MX to reject unauth destination

2013-02-19 Thread Titanus Eramius
Thinking about this, I might have been to specific in my question. At the fundamental level I would like to have 2 or more Postfix servers capable of receiving virtual mail for multiple domains, where one of the servers also handles relaying and local delivery. The rest should function as backup M

Re: [SOLVED] proxymap permission denied

2013-02-19 Thread Reindl Harald
Am 19.02.2013 12:00, schrieb Birta Levente: > OK, after a look up in $daemon_directory/postfix-files I see the > $config_directory need 0755 permission ... but > main was 0644 ... well, directories always need 755/750/700 instead 644/640/600 > why worked until now ... i don't now ... because

Re: [SOLVED] proxymap permission denied

2013-02-19 Thread Birta Levente
On 19/02/2013 11:58, Reindl Harald wrote: and why do you reply off-list? Am 19.02.2013 10:36, schrieb Birta Levente: On 19/02/2013 11:29, Reindl Harald wrote: Am 19.02.2013 10:04, schrieb Birta Levente: Today I restarted the postfix server because one misconfiguration in the master.cf: unk

Re: proxymap permission denied

2013-02-19 Thread Birta Levente
On 19/02/2013 11:58, Reindl Harald wrote: and why do you reply off-list? Am 19.02.2013 10:36, schrieb Birta Levente: On 19/02/2013 11:29, Reindl Harald wrote: Am 19.02.2013 10:04, schrieb Birta Levente: Today I restarted the postfix server because one misconfiguration in the master.cf: unk

Re: proxymap permission denied

2013-02-19 Thread Reindl Harald
and why do you reply off-list? Am 19.02.2013 10:36, schrieb Birta Levente: > On 19/02/2013 11:29, Reindl Harald wrote: >> >> >> Am 19.02.2013 10:04, schrieb Birta Levente: >>> Today I restarted the postfix server because one misconfiguration in the >>> master.cf: unknown smtpd restriction: >>> "r

Re: proxymap permission denied

2013-02-19 Thread Reindl Harald
Am 19.02.2013 10:04, schrieb Birta Levente: > Today I restarted the postfix server because one misconfiguration in the > master.cf: unknown smtpd restriction: > "reject_unauth_destionation" ouch - this was a dangerous typo > Then in the maillog appears other errors, I think not related to abov

proxymap permission denied

2013-02-19 Thread Birta Levente
Hi all Today I restarted the postfix server because one misconfiguration in the master.cf: unknown smtpd restriction: "reject_unauth_destionation" Then in the maillog appears other errors, I think not related to above: /proxymap[9105]: error: open /etc/postfix/mysql-virtual_forwardings.cf: Pe