Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: PlusPlus on November 05, 2014, 10:29:02 AM
-
Hello,
i have a problem with sending emails with attachment:
(http://i61.tinypic.com/5bbpz9.png)
i tried this:
config setprop qmail MaxMessageSize 35000000
config setprop qpsmtpd MaxScannerSize 35000000
config setprop clamav MaxFileSize 35M
config setprop php UploadMaxFilesize 35M
db configuration setprop spamassassin MaxMessageSize 35000000
signal-event email-update
and it worked for a while - but i have to do this every day.
Has someone an idea?
-
you should post here your logs.. maybe the recipient's server is using greylisting (just guessing)
-
i can't see the specific mail, it's an internal mail. I looked at qpsmtpd/current, is it the wrong logfile?
-
Same problem here on 2 new sme 9 servers...This happens internally and externally as well. If I do the:
config setprop qmail MaxMessageSize 35000000
config setprop qpsmtpd MaxScannerSize 35000000
config setprop clamav MaxFileSize 35M
config setprop php UploadMaxFilesize 35M
db configuration setprop spamassassin MaxMessageSize 35000000
signal-event email-update
Then the server works fine..but the next day I have to do it again... Strange behaviour indeed...Caro Stefano...chill' nun e' bbuon'...
-
PlusPlus & bosco555
Firstly I do not think that the signal-event email-update command is enough for all those set of commands.
You need to issue those commands referred to & then do
signal-event post-upgrade
signal-event reboot
Re troubleshooting:
There is no point just reissuing those commands each day, you need to find out what is going on.
You should check (& make a written note of) the db settings BEFORE making changes to see if something else has changed the settings (from what you made them the day before)
ie
config show qmail
config show qpsmtpd
config show clamav
config show php
config show spamassassin
or more specific for the value you are after
config getprop qmail MaxMessageSize
config getprop qpsmtpd MaxScannerSize
config getprop clamav MaxFileSize
config getprop php UploadMaxFilesize
config getprop spamassassin MaxMessageSize
Also try looking at
sqpsmtpd/current log file
I suspect though that using the more appropriate signal-event command I mentioned will resolve the problem.
-
Hi Janet,
Thanks for the reply... Done the signal-event post-upgrade; signal-event reboot and now it seems like the settings are holding. I will have to check later on and tomorrow morning if they are still the same as per this thread.... Peculiar issue as these servers are fresh installs of sme 9, fully updated.
-
Thansk for your answer.
Here a log from the mail with the error:
2014-11-06 13:06:17.191036500 25100 250-PIPELINING
2014-11-06 13:06:17.191036500 25100 250-8BITMIME
2014-11-06 13:06:17.191037500 25100 250-SIZE 35000000
2014-11-06 13:06:17.191083500 25100 250 AUTH PLAIN LOGIN
2014-11-06 13:06:17.259971500 25100 dispatching AUTH PLAIN AGJ1ZXR0bmVyAFBlbWlydTk0IQ==
2014-11-06 13:06:17.259973500 25100 auth::auth_cvm_unix_local plugin (auth-plain): authcvm/plain authentication attempt for: user100
2014-11-06 13:06:17.261638500 25100 235 Authentication successful for user100 - authcvm/plain
2014-11-06 13:06:17.261840500 25100 Authentication successful for user100 - authcvm/plain
2014-11-06 13:06:17.263169500 25100 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2014-11-06 13:06:17.334037500 25100 dispatching MAIL FROM:<ulrich.user100@domain.de> SIZE=5013632
2014-11-06 13:06:17.334039500 25100 full from_parameter: FROM:<ulrich.user100@domain.de> SIZE=5013632
2014-11-06 13:06:17.334040500 25100 getting mail from <ulrich.user100@domain.de>
2014-11-06 13:06:17.334041500 25100 250 <ulrich.user100@domain.de>, sender OK - how exciting to get mail from you!
2014-11-06 13:06:17.401820500 25100 dispatching RCPT TO:<user@url.com>
2014-11-06 13:06:17.401822500 25100 250 <user@url.com>, recipient ok
2014-11-06 13:06:17.466638500 25100 dispatching DATA
2014-11-06 13:06:17.466639500 25100 354 go ahead
2014-11-06 13:06:17.690030500 25100 spooling message to disk
2014-11-06 13:07:16.621219500 25100 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2014-11-06 13:07:16.669036500 25100 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1415275577:25100:0: Can't allocate memory ERROR
2014-11-06 13:07:16.669038500 25100 virus::clamav plugin (data_post): ClamAV error: /usr/bin/clamdscan --stdout --config-file=/etc/clamd.conf --no-summary /var/spool/qpsmtpd/1415275577:25100:0 2>&1: 2
2014-11-06 13:07:16.669040500
2014-11-06 13:07:16.669040500 25100 logging::logterse plugin (deny): ` 88.71.1.77 dslb-088-071-001-077.088.071.pools.vodafone-ip.de [53.104.24.143] <ulrich.user100@domain.de> <user@url.com> virus::clamav 902 msg denied before queued
2014-11-06 13:07:16.669102500 25100 452 Message denied temporarily
2014-11-06 13:08:54.269567500 25100 dispatching QUIT
2014-11-06 13:08:54.270543500 25100 221 brammer-automobile.de closing connection. Have a wonderful day.
And here are the results:
[root@bmmail ~]# config show qmail
qmail=service
MaxMessageSize=35000000
status=enabled
[root@bmmail ~]# config show qpsmtpd
qpsmtpd=service
Bcc=disabled
BccMode=cc
BccUser=maillog
DNSBL=enabled
LogLevel=6
MaxScannerSize=35000000
RBLList=zen.spamhaus.org
RHSBL=enabled
RelayRequiresAuth=enabled
SBLList=multi.surbl.org:black.uribl.com:rhsbl.sorbs.net
TlsBeforeAuth=1
access=public
qplogsumm=disabled
status=enabled
[root@bmmail ~]# config show clamav
clamav=service
ArchiveBlockEncrypted=no
Checks=24
DNSDatabaseInfo=current.cvd.clamav.net
DatabaseMirror=db.local.clamav.net
Debug=no
DetectBrokenExecutables=no
FilesystemScan=daily
FilesystemScanExclude=/proc,/sys,/usr/share,/var
FilesystemScanFilesystems=/home/e-smith/files
FilesystemScanReportTo=admin
Foreground=yes
HTTPProxyPassword=
HTTPProxyPort=
HTTPProxyServer=
HTTPProxyUsername=
HeuristicScanPrecedence=no
IdleTimeout=60
LeaveTemporaryFiles=no
LogClean=no
LogFileUnlock=yes
LogTime=no
LogVerbose=yes
MaxAttempts=6
MaxConnectionQueueLength=30
MaxDirectoryRecursion=20
MaxFileSize=35M
MaxFiles=1500
MaxRecursion=8
MaxThreads=20
Quarantine=enabled
QuarantineDirectory=/var/spool/clamav/quarantine
ReadTimeout=300
ScanArchive=yes
ScanHTML=yes
ScanMail=yes
ScanOLE2=yes
ScanPE=yes
ScanRAR=no
SelfCheck=1800
ShowProxySettings=no
ShowUpdateSettings=no
SignaturesUpdated=unknown
UpdateNonOfficeHrs=disabled
UpdateOfficeHrs=disabled
UpdateWeekend=disabled
status=enabled
[root@bmmail ~]# config show php
php=service
AllowUrlFopen=Off
UploadMaxFilesize=35M
status=enabled
[root@bmmail ~]# config show spamassassin
spamassassin=service
BayesAutoLearnThresholdNonspam=0.10
BayesAutoLearnThresholdSpam=4.00
DNSAvailable=yes
MaxMessageSize=35000000
MessageRetentionTime=90
OkLanguages=all
OkLocales=all
RejectLevel=15
ReportSafe=0
Sensitivity=custom
SkipRBLChecks=0
SortSpam=enabled
Subject=[SPAM]
SubjectTag=enabled
TagLevel=10
UseBayes=1
status=enabled
-
But i think we have to wait for the next day, i tried the reboot.
-
Okay, same Problem after trying the reboot:
2014-11-06 15:54:56.759973500 17449 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2014-11-06 15:54:56.773191500 17449 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1415285652:17449:0: Can't allocate memory ERROR
2014-11-06 15:54:56.773193500 17449 virus::clamav plugin (data_post): ClamAV error: /usr/bin/clamdscan --stdout --config-file=/etc/clamd.conf --no-summary /var/spool/qpsmtpd/1415285652:17449:0 2>&1: 2
After
config setprop qmail MaxMessageSize 35000000
config setprop qpsmtpd MaxScannerSize 35000000
config setprop clamav MaxFileSize 35M
config setprop php UploadMaxFilesize 35M
db configuration setprop spamassassin MaxMessageSize 35000000
signal-event email-update
2014-11-06 15:59:38.510284500 21889 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2014-11-06 15:59:39.200184500 21889 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1415285934:21889:0: OK
-
seems to me clamav has an issue and therefore mails cn not be scanned, and thus not processed. Can you check with clamav disabled?
-
try to invoke clamscan manually from cli and check if it happens again
in the meanwhile, check all involved logs and file a bug, thank you
-
Looks like you're hitting this bug: http://bugs.contribs.org/show_bug.cgi?id=8483 (which is fixed but not released yet). The various DB settings has no effect, only signal-event email-update restarts clamd, which reduce its memory usage, so clamd works correctly for some time, but then fail again when the mem limit is reached. Waiting for the release of this fix, you can:
yum --enablerepo=smetest update smeserver-clamav
-
Yes, thanks Daniel, merci beacoup! that did it!
-
Please add [SOLVED] to the subject
-
Done
-
Sorry for my late feedback:
i have installed the update, it seems working but now i have the same problem:
2014-11-10 11:55:24.990477500 8933 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2014-11-10 11:55:25.067806500 8933 virus::clamav plugin (data_post): clamscan results: Failed to parse reply: "Access denied. ERROR"
2014-11-10 11:55:25.067807500 8933 virus::clamav plugin (data_post): ClamAV error: /usr/bin/clamdscan --stdout --config-file=/etc/clamd.conf --no-summary /var/spool/qpsmtpd/1415616924:8933:0 2>&1: 2
-
Bugzilla is right there, please post there, thank you
-
Hi,
I have the same problem. Is there any sign on a fix being rolled out?
Hans-Cees
-
hanscees,
as Stefano indicated, please provide all your exact experiences, possible fixes and test results to bugzilla. Thanks!
guest
-
Postet on Bugzilla:
http://bugs.contribs.org/show_bug.cgi?id=8654
-
i have installed the update, it seems working but now i have the same problem:
No, now you have a different problem. And we are waiting for you to provide more information in bugzilla.
-
Hi all,
this is still a problem..config show qmail after latest updates:
=======================================
[root@compu1 ~]# config show qmail
qmail=service
DoubleBounceTo=devnull
MaxMessageSize=15000000
VacationDelay=-t1d
status=enabled
RESET as per this thread:
[root@compu1 ~]# config setprop qmail MaxMessageSize 35000000
config setprop clamav MaxFileSize 35M
config setprop php UploadMaxFilesize 35M
db configuration setprop spamassassin MaxMessageSize 35000000
signal-event email-update[root@compu1 ~]# config setprop qpsmtpd MaxScannerSize 35000000
[root@compu1 ~]# config setprop clamav MaxFileSize 35M
[root@compu1 ~]# config setprop php UploadMaxFilesize 35M
[root@compu1 ~]# db configuration setprop spamassassin MaxMessageSize 35000000
[root@compu1 ~]# signal-event email-update
[root@compu1 ~]# config show qmail
qmail=service
DoubleBounceTo=devnull
MaxMessageSize=35000000
VacationDelay=-t1d
status=enabled
======================================================
Thanks and Merry Christmas to all
-
Please post info in bugzilla. A bug is opened for this issue here: http://bugs.contribs.org/show_bug.cgi?id=8654 but we're waiting for more information to be able to fix it
-
bosco555
please use bugzilla and please, be more "verbose" about the issue.. "this is still a problem.." doesn't tell us nothing
finally, be aware there are 2 issues:
Can't allocate memory ERROR
and
Access denied. ERROR
the first one is solved AFAIK
thank you