Re: Interim NDR

2012-08-26 Thread lists
On Sun, August 26, 2012 9:21 am, Wietse Venema wrote:
> Voytek:

> Yes, if you really want to. However I haven't used this code since
> it was written many years ago. Let me know if it still works.

Wietse,
thanks.

hmmm, I think maybe it's not the best idea... perhaps I should try a cacti
threshold trigger first, (or just keep checking queuegraph/mq)

thanks again,
Voytek



Re: continous attempted connection/timeouts after ehlo

2012-08-26 Thread lists
On Sun, August 26, 2012 8:35 am, Reindl Harald wrote:

>> is it a 'good idea' to firewall block such when they're from
>
> depends on your business
> i tend to do so at least for some days

Reindl,

so either of the two anvil/IP log lines indicates excess, yes ?

Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection rate
15/1800s for (smtp:27.115.112.50) at Aug 27 05:59:14
Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection count 1
for (smtp:27.115.112.50) at Aug 27 05:50:26
Aug 27 06:00:03 postfix/anvil[4396]: statistics: max cache size 51 at Aug
27 05:59:47

you wouldn't happen to have a regex to pick up the offending IP ?

my new Centos came with 'csf' so might try to feed offending IPs to csf
for temp block (if I can figure out regex first)

thanks again
Voytek




Re: continous attempted connection/timeouts after ehlo

2012-08-26 Thread Reindl Harald


Am 26.08.2012 22:10, schrieb li...@sbt.net.au:
> so either of the two anvil/IP log lines indicates excess, yes ?
> 
> Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection rate
> 15/1800s for (smtp:27.115.112.50) at Aug 27 05:59:14
> Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection count 1
> for (smtp:27.115.112.50) at Aug 27 05:50:26
> Aug 27 06:00:03 postfix/anvil[4396]: statistics: max cache size 51 at Aug
> 27 05:59:47

why do you niot read what you post?

ONE connection from 27.115.112.50
where do you see excess?



signature.asc
Description: OpenPGP digital signature


Re: [SOLVED] connect to gmail-smtp-in.l.google.com[...]:25: Network is unreachable

2012-08-26 Thread Benny Pedersen

Den 2012-08-24 14:17, Wietse Venema skrev:

Shane:

Excellent!  Issue solved with the following line in my main.cf

inet_protocols = ipv4


Postfix as distributed from postfix.org adds that by default.


in 2.9.x this is not ipv4 but all

and there is a warnning if ipv4 is in main.cf (to reminds of ipv6) even 
for kernels that dont have it






Re: OT: postfix configuration comments

2012-08-26 Thread Benny Pedersen

Den 2012-08-24 05:57, Hari Hendaryanto skrev:


is there any specific reason why those features not allowed/exist?


# comment line in main.cf





Re: OT: postfix configuration comments

2012-08-26 Thread Hari Hendaryanto

On 8/24/2012 4:23 PM, Reindl Harald wrote:

Am 24.08.2012 11:09, schrieb Hari Hendaryanto:

On 8/24/2012 3:30 PM, Reindl Harald wrote:

Am 24.08.2012 05:57, schrieb Hari Hendaryanto:

it's not really  a problem, just  my curiosity. I wonder why Postfix does not 
support comments such as "//
comments  or /* comments */ in" configuration file.
is there any specific reason why those features not allowed/exist?

because it supports bash-like
# this is my comment


i'm afraid i've already known that for years , that's why i'm asking.. :)

so why do you need // too?

wasted code to support every comment-style of any programming language



i sometimes mistyped /* instead of # in long text comments
ie:
example 1
/*

comments



*/

example 2
#
#
#comments
#
#
#
#

The first example is simpler than Example 2

i'm not trying to compare with others, but "bind9" allow me to use "#" , 
"//", or "/*" in configuration file.
as i said, "it's not really a problem (i think it was just my laziness)" 
, but in some cases it can greatly simplify things.


thanks for all the responses



PT.CITRA SARI MAKMUR
SATELLITE & TERRESTRIAL NETWORK

Connecting the distance - anytime, anywhere, any content
http://www.csmcom.com



Re: continous attempted connection/timeouts after ehlo

2012-08-26 Thread lists
On Mon, August 27, 2012 6:27 am, Reindl Harald wrote:

>> Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection rate
>> 15/1800s for (smtp:27.115.112.50) at Aug 27 05:59:14
>> Aug 27 06:00:03 postfix/anvil[4396]: statistics: max connection count 1
>> for (smtp:27.115.112.50) at Aug 27 05:50:26 Aug 27 06:00:03
>> postfix/anvil[4396]: statistics: max cache size 51 at Aug
>> 27 05:59:47
>>
>
> why do you niot read what you post?
>
> ONE connection from 27.115.112.50
> where do you see excess?

Reindl, thanks

sorry, doesn't this mean to warn me of 'high-er' connect rates: 15/1800s ?

"max connection rate 15/1800s "

so what do I look for in anvil output ?