Re: [Openvas-discuss] Maximum attachment length

2015-08-26 Thread matthew.mundell
  0 means any size.
 
 
  Ok thanks, I'll try with 0 too.
  But note that man openvasmd says:
  0 to use the default, negative to allow any size.

 I don't think that's true any more.  I'll take a look, thanks.

For the record, what the man page says is still true.  0 for default,
negative for any size.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] Maximum attachment length

2015-08-19 Thread Selam Uzun
Thank you very much, that was the problem.

Have a nice day,
S. Uzun

On 18 August 2015 at 15:28, matthew.mund...@greenbone.net wrote:

  
   Maybe make sure all previous openvasmd's are killed.
  
 
  Do you mean that I need to shutdown openvasmd before entering the
 command ?
  If so, I think here's my problem.

 Yes, you have to pass those options to the actual demon command (the
 command you run to start openvasmd).

 
  0 means any size.
 
 
  Ok thanks, I'll try with 0 too.
  But note that man openvasmd says:
  0 to use the default, negative to allow any size.

 I don't think that's true any more.  I'll take a look, thanks.

 --
 Greenbone Networks GmbH
 Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
 Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Maximum attachment length

2015-08-18 Thread matthew.mundell
 I got a report that exceeds the default 1MB limit.

 So, I tried to extend this limit to 15MB:
 openvasmd --max-email-attachment-size=15728640
 openvasmd --max-email-include-size=15728640

 But again, I got Note: The report exceeds the maximum attachment length of
 1048576 bytes. in the next try.

Works OK for me.  Maybe make sure all previous openvasmd's are killed.

 So, I tried to permit any size with a negative value:
 openvasmd --max-email-attachment-size=-1
 openvasmd --max-email-include-size=-1

0 means any size.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] Maximum attachment length

2015-08-18 Thread Selam Uzun
Hello everyone,

I got a report that exceeds the default 1MB limit.

So, I tried to extend this limit to 15MB:
openvasmd --max-email-attachment-size=15728640
openvasmd --max-email-include-size=15728640

But again, I got Note: The report exceeds the maximum attachment length of
1048576 bytes. in the next try.

So, I tried to permit any size with a negative value:
openvasmd --max-email-attachment-size=-1
openvasmd --max-email-include-size=-1

Same result unfortunately. Do I need to do something else ?

Thanks in advance for your time and answer.

---
Additional information:
OpenVAS 7
Debian Jessie
No problem in logs
I get my report when it does not exceed 1MB
---

Best regards,
S. Uzun
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Maximum attachment length

2015-08-18 Thread matthew.mundell
 
  Maybe make sure all previous openvasmd's are killed.
 

 Do you mean that I need to shutdown openvasmd before entering the command ?
 If so, I think here's my problem.

Yes, you have to pass those options to the actual demon command (the
command you run to start openvasmd).


 0 means any size.


 Ok thanks, I'll try with 0 too.
 But note that man openvasmd says:
 0 to use the default, negative to allow any size.

I don't think that's true any more.  I'll take a look, thanks.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss