Oh - that's not qmail-scanner - that's qmail-scanner-st

I'll leave it to Salvatore to leap in

Jason

On 16/02/12 20:29, Alessio Cecchi wrote:
> Il 16/02/2012 06:48, Jason Haar ha scritto:
>> Hi Alessio
>>
>> What you describe doesn't explain the duplicate emails. Qmail-Scanner
>> doesn't like what spamd is returning and after trying three times will
>> do a "temp fail" to the SMTP sender and will not deliver the message.
>> Later on the sender tries again and probably fails again - end result
>> should be no email delivered - not duplicates.
> Hi Jason, the email should not be delivered any times that qmail-scanner 
> do a temp fail to remote SMTP, but I can see with my eyes the same email 
> in the user's Maildir/ duplicated every 2-3 minutes.
>
>> As far as the spamd issues go, it sounds to me like you have
>> qmail-scanner set to call spamc with a maxsize option that is larger
>> than the server - that is *not* a good idea and definitely needs fixing
>> - spamc and spamd have to agree over maxsizes. i.e. when you configure
>> qmail-scanner, use the " --sa-maxsize" option and ensure it matches what
>> spamd is set to.
> I also believe that the problem is related to the size of the message, 
> for what I have noticed every times that the problem occurs the size of 
> the messagge is around 250K.
>
> In my configuration of qmail-scanner "--sa-maxsize" was not set, so it's 
> on default value.
>
> I have found two ways to solve the problem:
>
> - one is unapply qmail-scanner (via tcp.smtp) to remote IP from which 
> the email arrives
> - another is set in qmail-scanner "--sa-tempfail 0" and 
> "--sa-faulttolerant 0"
>
> but none explains the origin of the problem.
>
> This is my qms 2.10st config:
>
> ./configure \
> --qs-user clamav \
> --admin postmaster \
> --domain cbsolt.net \
> --admin-description "AdminElasticEmailHosting" \
> --notify none \
> --local-domains cbsolt.net \
> --silent-viruses auto \
> --dlp-monitor "" \
> --virus-to-delete 0 \
> --skip-text-msgs 0 \
> --lang it_IT \
> --debug 1 \
> --add-dscr-hdrs yes \
> --dscr-hdrs-text "X-qbox-at-Elastic-Email-Hosting" \
> --normalize 1 \
> --archive 0 \
> --settings-per-domain 1 \
> --max-scan-size 100000000 \
> --unzip 0 \
> --max-zip-size 10000000 \
> --max-unpacked-files 1000 \
> --redundant 1 \
> --log-details yes \
> --log-crypto 0 \
> --fix-mime 0 \
> --ignore-eol-check 1 \
> --sa-tempfail 0 \
> --sa-faulttolerant 0 \
> --sa-timeout 120 \
> --sa-socket /var/run/spamd-socket \
> --sa-sql 1 \
> --sa-delta 0 \
> --sa-alt 0 \
> --sa-debug 0 \
> --sa-report 0 \
> --sa-quarantine 0 \
> --sa-delete 5 \
> --sa-reject 1 \
> --scanners "clamdscan,verbose_spamassassin" \
> --install 1
>
> and this is how runs spamd:
>
> --max-children 5 -x -q -u vpopmail -H /etc/spamassassin -s 
> /var/log/spamd.log --socketpath=/var/run/spamd-socket
>
> Do you see some problems?
> Thanks

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to