Connection stats (was: Re: Why "lost connection after RCPT" when we reject?)

2014-07-12 Thread Noel Jones
On 7/12/2014 7:09 PM, Wietse Venema wrote: > Noel Jones: >> Probably more useful to help identify abuse would be a counter of >> valid/total RCPT commands within a session that drops. nrcpt=N/T >> where N is valid recipients, T is total RCPT commands. I think >> valid/total is easier to explain

Re: is 7bit conversion logged?

2014-07-12 Thread Richard Damon
On 7/12/14, 10:22 AM, A. Schulze wrote: Hello, it may happen that postfix announce 8BITMIME SMTP extension and clients use that by submitting messages it may happen postfix has to relay such messages to a legacy server not supporting that extension. in this case postfix will recode the messag

Re: Why "lost connection after RCPT" when we reject?

2014-07-12 Thread Wietse Venema
Noel Jones: > Probably more useful to help identify abuse would be a counter of > valid/total RCPT commands within a session that drops. nrcpt=N/T > where N is valid recipients, T is total RCPT commands. I think > valid/total is easier to explain than valid/rejected, and makes a > pretty fractio

Re: is 7bit conversion logged?

2014-07-12 Thread Viktor Dukhovni
On Sat, Jul 12, 2014 at 04:22:57PM +0200, A. Schulze wrote: > it may happen that postfix announce 8BITMIME SMTP extension and clients use > that by submitting messages > it may happen postfix has to relay such messages to a legacy server not > supporting that extension. > in this case postfix will

Re: Why "lost connection after RCPT" when we reject?

2014-07-12 Thread Bill Cole
On 12 Jul 2014, at 9:19, D'Arcy J.M. Cain wrote: I want to ask the question "Who connected, confirmed a valid address and disconnected without sending mail?" Is that an unreasonable question without needing to do stateful log analysis? It's not that I am a stranger to that sort of log analysis

Re: custom port for smtps

2014-07-12 Thread Benny Pedersen
Konrad Vrba skrev den 2014-07-12 19:36: Is it possible to change the port number for smtps? yes its opensource change smtps to 0.0.0.0:portnum in master.cf but why ? Normally smtps listens on 465. If, for any reason, non-standard port is preferred, is it possible to change it in Postfix?

Re: Why "lost connection after RCPT" when we reject?

2014-07-12 Thread Noel Jones
On 7/11/2014 5:06 PM, Wietse Venema wrote: >> >> I suppose the "recipient count" could be added to the "lost >> connection" message. That might be modestly useful to the general >> user base. Maybe something like: >> >> postfix/smtpd[nnn]: lost connection after RCPT from >> test.example.com[192.0.

custom port for smtps

2014-07-12 Thread Konrad Vrba
Hello, Is it possible to change the port number for smtps? Normally smtps listens on 465. If, for any reason, non-standard port is preferred, is it possible to change it in Postfix? thanks, Konrad

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread li...@rhsoft.net
Am 12.07.2014 17:34, schrieb Titanus Eramius: > I'm sorry, but this thread seems to have taken a detour. Being a Dane, > I run into these kinds of responses all the time, simply because I find > it counter-productive to sugarcoat things when writing English. me too, german native speaker >>

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread Titanus Eramius
I'm sorry, but this thread seems to have taken a detour. Being a Dane, I run into these kinds of responses all the time, simply because I find it counter-productive to sugarcoat things when writing English. On Sat, 12 Jul 2014 14:41:51 +0200 "li...@rhsoft.net" wrote: > Am 12.07.2014 14:35, schri

is 7bit conversion logged?

2014-07-12 Thread A. Schulze
Hello, it may happen that postfix announce 8BITMIME SMTP extension and clients use that by submitting messages it may happen postfix has to relay such messages to a legacy server not supporting that extension. in this case postfix will recode the message. it that situation visible in the l

Re: Why "lost connection after RCPT" when we reject?

2014-07-12 Thread D'Arcy J.M. Cain
On Fri, 11 Jul 2014 16:52:12 -0500 Noel Jones wrote: > But there's really only one scenario. The only time postfix logs > that message is when the connection is lost after RCPT. This is > always caused by either A) a poorly written mail engine that > improperly drops the connection, or B) a netw

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread li...@rhsoft.net
Am 12.07.2014 14:35, schrieb Wietse Venema: > li...@rhsoft.net: >> Am 12.07.2014 14:13, schrieb Wietse Venema: >>> Arun: Is it wrong to ask questions? Is 'why' not allowable ? I guess it is because you say so! >>> >>> If you don't know what to use, use the documentation examples. >>> Th

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread Wietse Venema
li...@rhsoft.net: > > Am 12.07.2014 14:13, schrieb Wietse Venema: > > Arun: > >> Is it wrong to ask questions? Is 'why' not allowable ? I guess it > >> is because you say so! > > > > If you don't know what to use, use the documentation examples. > > The examples will do a reasonable job. > > > >

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread li...@rhsoft.net
Am 12.07.2014 14:13, schrieb Wietse Venema: > Arun: >> Is it wrong to ask questions? Is 'why' not allowable ? I guess it >> is because you say so! > > If you don't know what to use, use the documentation examples. > The examples will do a reasonable job. > > If you were expecting a free lecture

Re: Many lookup types are available. What is the guide for choosing one or another?

2014-07-12 Thread Wietse Venema
Arun: >I can understand that there ARE diferences. I do not understand >when to use which one. Wietse >In that case, I suggest that you use what is shown the examples. >Every type (hash, btree, lmdb, and so on) presents a compromise >between different requirements. > > I suggest that you use what