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 -- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it @ LOLUG -> Socio http://www.lolug.net ------------------------------------------------------------------------------ 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