Re: Defer All INET

2009-06-18 Thread Noel Jones
Steve wrote: Hi List, What is the quickest, easiest (and scriptable) way to have Postfix defer everything with a 4xx error. It's an extension to my 'after midnight' tests. Not allowing any connections is fine, but I would prefer to reject with a custom 4xx message such as GO AWAY - IT'S AFTER

Re: Defer All INET

2009-06-18 Thread Steve
On Thu, 2009-06-18 at 10:07 -0500, Noel Jones wrote: Steve wrote: Hi List, What is the quickest, easiest (and scriptable) way to have Postfix defer everything with a 4xx error. It's an extension to my 'after midnight' tests. Not allowing any connections is fine, but I would prefer to

Re: Defer All INET

2009-06-18 Thread Terry Carmen
On Thu, 2009-06-18 at 12:42 -0400, Terry Carmen wrote: # /etc/postfix/deferall.regexp /^/ DEFER Please try again during business hours You might want to do a little log exploration and see if 100% of everything you receive after hours is spam Not all mail received after hours is

Re: Defer All INET

2009-06-18 Thread Steve
On Thu, 2009-06-18 at 11:23 -0500, Larry Stone wrote: On Thu, 18 Jun 2009, Steve wrote: I'm not so sure it's nonsense. Look at it this way if the office is closed there is nobody there to deal with email. So it's pointless to accept it. How about so that it is there when the office

RE: Defer All INET

2009-06-18 Thread Gary Smith
/am. From: owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] On Behalf Of Steve [steve.h...@digitalcertainty.co.uk] Sent: Thursday, June 18, 2009 8:35 AM To: postfix users list Subject: Re: Defer All INET On Thu, 2009-06-18 at 10:07 -0500

Re: Defer All INET

2009-06-18 Thread Steve
On Thu, 2009-06-18 at 13:23 -0400, Terry Carmen wrote: Even if I was a local customer, the concept of email only works when the lights are on would make me look somewhere else. That is your prerogative and I respect that. It depends on what your core business is and how desperate you are I

RE: Defer All INET

2009-06-18 Thread Gary Smith
-us...@postfix.org [owner-postfix-us...@postfix.org] On Behalf Of Steve [steve.h...@digitalcertainty.co.uk] Sent: Thursday, June 18, 2009 10:43 AM To: Terry Carmen Cc: postfix users list Subject: Re: Defer All INET I would tend to use a company myself who told me that they valued their staff who

Re: Defer All INET

2009-06-18 Thread Noel Jones
Noel Jones wrote: Steve wrote: Hi List, What is the quickest, easiest (and scriptable) way to have Postfix defer everything with a 4xx error. It's an extension to my 'after midnight' tests. Not allowing any connections is fine, but I would prefer to reject with a custom 4xx message such as GO

Re: Defer All INET

2009-06-18 Thread Victor Duchovni
On Thu, Jun 18, 2009 at 01:13:21PM -0500, Noel Jones wrote: # /etc/postfix/deferall.regexp /^/ DEFER Please try again during business hours The sender may get a better error message if you change the above to /^/ DEFER 4.3.2 Please try again during business hours The 4.3.2 suggests your

Re: Defer All INET

2009-06-18 Thread Benny Pedersen
On Tors, Juni 18, 2009 07:48, Steve wrote: It's an odd request to be able to 'offline' with a defer so I won't be surprised if I can't do it, but I would be Cindy Ecstacy Ecstatic if I could. google postfwd, one of the problems you like to solve comes handy there :) -- xpoint

Re: Defer All INET

2009-06-18 Thread Charles Marcus
On 6/18/2009, Steve (steve.h...@digitalcertainty.co.uk) wrote: That said, the IP tables idea is much better. Not from what you've said. Why not just shut the entire server OFF... power it down. But, I agree with everyone else... this is just plain silliness, a waste of time, energy, and will,

Re: Defer All INET

2009-06-18 Thread EASY steve.h...@digitalcertainty.co.uk
On Thu, 2009-06-18 at 14:42 -0400, Victor Duchovni wrote: On Thu, Jun 18, 2009 at 01:13:21PM -0500, Noel Jones wrote: # /etc/postfix/deferall.regexp /^/ DEFER Please try again during business hours The sender may get a better error message if you change the above to /^/ DEFER 4.3.2

Re: Defer All INET

2009-06-18 Thread da...@from525.com
On Thu, 18 Jun 2009 14:42:36 -0400, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Thu, Jun 18, 2009 at 01:13:21PM -0500, Noel Jones wrote: # /etc/postfix/deferall.regexp /^/ DEFER Please try again during business hours The sender may get a better error message if you change

Re: Defer All INET

2009-06-18 Thread Victor Duchovni
On Thu, Jun 18, 2009 at 08:16:51PM +0100, EASY steve.h...@digitalcertainty.co.uk wrote: But it still does *not* mean there is anyone in the office to answer any legitimate mail - come back later when we are open. It's simple enough. That has nothing to do with MTAs. MTAs accept and deliver

Re: Defer All INET

2009-06-18 Thread Wietse Venema
Victor Duchovni: If they send a fax will it get answered? No. Postfix does not answer mail, it delivers it. The fax will get delivered, unless you also turn off your fax machines at night. I think that the original question has long been answered (turning on/off inbound email delivery) and

Re: Defer All INET

2009-06-18 Thread Daniel V. Reinhardt
From: Terry Carmen te...@cnysupport.com To: postfix users list postfix-users@postfix.org Sent: Thursday, June 18, 2009 5:23:42 PM Subject: Re: Defer All INET On Thu, 2009-06-18 at 12:42 -0400, Terry Carmen wrote: # /etc/postfix/deferall.regexp

Defer All INET

2009-06-17 Thread Steve
Hi List, What is the quickest, easiest (and scriptable) way to have Postfix defer everything with a 4xx error. It's an extension to my 'after midnight' tests. Not allowing any connections is fine, but I would prefer to reject with a custom 4xx message such as GO AWAY - IT'S AFTER MIDNIGHT -- COME