Re: qmail admin databyte

Arch Giulio Nuti <[email protected]> Fri, 09 Nov 2012 16:41:55 +0100
Newsgroups gmane.mail.qmail.admin
Message-ID <[email protected]>
Il 09/11/2012 11:31, Thibault Richard ha scritto:
> Hello,
>
> I'm not sure of it but please check following values in the file
> /var/qmail/bin/qmail-scanner-queue.pl
>
> MAX_SCAN_SIZE
> MAX_FILE_LENGTH
> sa_maxsize
>
> Best Regards
>
>

Hi,
I tested:

  ./configure --qs-user qscand --qmail-queue-binary 
/var/qmail/bin//qmail-queue --admin postmaster --domain v-server.cad 
--admin-description "System Anti-Vir
us Administrator" --notify psender,admin --local-domains v-server.cad 
--silent-viruses auto --dlp-monitor "" --virus-to-delete 0 
--skip-text-msgs 1 --lang en
_GB --debug 1 --add-dscr-hdrs yes --dscr-hdrs-text "X-Qmail-Scanner" 
--normalize yes --archive 0 --settings-per-domain 0 --max-scan-size 
100000000 --unzip 1
--max-zip-size 1000000000 --max-unpacked-files 10000 --redundant 0 
--log-details syslog --log-crypto 0 --fix-mime 1 --ignore-eol-check 1 
--sa-maxsize 2000000
0 --sa-timeout 120 --sa-delta 0 --sa-alt 0 --sa-debug 0 --sa-report 1 
--sa-quarantine 5 --sa-delete 0 --sa-reject 0 --scanners "auto" --install 1



MAX_SCAN_SISE = 100000000;

MAX_FILE_LENGTH = 100;

--sa-maxsize = 20000000;

In php.ini
post_max_size=20

I found this note:
"*Note*: PHP allows shortcuts for bit values, including K (kilo), M 
(mega) and G (giga). PHP will do the conversions automatically if you 
use any of these. Be careful not to exceed the 32 bit signed integer 
limit (if you're using 32bit versions) as it will cause your script to 
fail. "

So... I use Debian 32bit. Could this be the cause? I think no, the limit 
is near to 4 GB.

Testing from gmail.com this is the error I receive.
--------------------------------------------
Delivery to the following recipient failed permanently:

[email protected] <mailto:[email protected]>

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the 
recipient domain. We recommend contacting the other email provider for 
further information about the cause of this error. The error that the 
other server returned was: 552 552 sorry, that message size exceeds my 
databytes limit (#5.3.4) (state 17).

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
         d=gmail.com <http://gmail.com>; s=20120113;
         
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
          :content-type;
         bh=9M2dlsr+Ph81B/
i7eNTsDVrgE324/4TuA6ubprYoj/w=;
         
b=nNrntqE1K9yklrAlk3Y8weoTP5n2rDs11fYHseEZmI8tjNZO4kVo0PK2lYHnM6E4+c
         
  bXrhS2Xz7Z0T8/ApwrghJ3/aMehGHg8aMLz43di9UjbzQUKHXLxLRtV0BG/HxgrM30El
         
  MibgR7gCes9gO3KKjqEoalqIONbzAtEVH2nUiGJVOu6ojXDa1QLCql9+SJMXl4XHe8ed
         
  A1PQoCfkOlfFSyYs0J1NwZ7gNKmZiPRqk2rAqWTR9npA9AN/hWAombpOiWj/EF1n1Dw+
         
  qWd/eGbTnKLHqeHqVXDpz2RiSQsGIHFxv8KfpG/YAPaKhm/C7l0ONT2kn6cnwHBchZxR
          GmRA==
MIME-Version: 1.0
Received: by 10.14.205.3 with SMTP id i3mr38615061eeo.18.1352475126198; Fri,
  09 Nov 2012 07:32:06 -0800 (PST)
Received: by 10.14.2.67 with HTTP; Fri, 9 Nov 2012 07:31:54 -0800 (PST)
In-Reply-To: 
<CABBaHzEYHH4kLcsQuuraGOS-k+5fxJ2hustrg+KqfZkCwgAy0w@mail.gmail.com 
<mailto:CABBaHzEYHH4kLcsQuuraGOS-k%2B5fxJ2hustrg%[email protected]>>
References: 
<CABBaHzEYHH4kLcsQuuraGOS-k+5fxJ2hustrg+KqfZkCwgAy0w@mail.gmail.com 
<mailto:CABBaHzEYHH4kLcsQuuraGOS-k%2B5fxJ2hustrg%[email protected]>>
Date: Fri, 9 Nov 2012 16:31:54 +0100
Message-ID: 
<CABBaHzFgCKmxmcw2BAzi_pMUHQ6WviO5Wpr99QchTeZzYx47-Q@mail.gmail.com 
<mailto:CABBaHzFgCKmxmcw2BAzi_pMUHQ6WviO5Wpr99QchTeZzYx47-Q@mail.gmail.com>>
Subject: Fwd: prova 17.4 Mb
From: Giulio Nuti <[email protected] <mailto:[email protected]>>
To: Giulio Nuti <[email protected] 
<mailto:[email protected]>>
Content-Type: multipart/mixed; boundary=047d7b34392e77063404ce11a774
-----------------------------------------------------------------------------------------------------------------------------

It seems not coming from my server, but from 10.14.205.3 that could be 
internat address from gmail.com.

Thanks
Giulio




!DSPAM:509cfb2b33999962119595!