<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Good morning,<br>
we have a problem with amavis-new and sendmail.<br>
<br>
We have a S.O. CentOS 7 with the following packages installed:<br>
<br>
amavisd-milter-1.6.0-6.el7.centos.x86_64<br>
amavisd-new-2.9.1-5.el7.noarch<br>
clamav-lib-0.98.7-1.el7.x86_64<br>
clamav-0.98.7-1.el7.x86_64<br>
clamav-data-0.98.7-1.el7.noarch<br>
clamav-server-0.98.7-1.el7.x86_64<br>
clamav-update-0.98.7-1.el7.x86_64<br>
clamav-filesystem-0.98.7-1.el7.noarch<br>
clamav-server-systemd-0.98.7-1.el7.noarch<br>
<br>
sendmail-milter-8.14.7-4.el7.x86_64<br>
sendmail-8.14.7-4.el7.x86_64<br>
sendmail-cf-8.14.7-4.el7.noarch<br>
sendmail-devel-8.14.7-4.el7.x86_64<br>
<br>
cyrus-sasl-lib-2.1.26-17.el7.x86_64<br>
cyrus-sasl-gssapi-2.1.26-17.el7.x86_64<br>
cyrus-sasl-plain-2.1.26-17.el7.x86_64<br>
cyrus-sasl-2.1.26-17.el7.x86_64<br>
<br>
<br>
<br>
Our sendmail setup defines:<br>
<br>
dnl # amavis milter definitions 9-3-2015<br>
INPUT_MAIL_FILTER(`amavis-milter',
`S=local:/var/run/amavisd/amavisd-milter.sock, F=T,
T=S:10m;R:10m;E:10m')<br>
<br>
<br>
We can send email via 25/587 ports and there are no problem if our
messages are without virus.<br>
<br>
But if we include a test virus we have an error like:<br>
<br>
---------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
May 5 06:38:42 postman clamd[767]:
/var/spool/amavisd/tmp/aft454cfc2004721/parts/p005:
Eicar-Test-Signature FOUND<br>
May 5 06:38:42 postman clamd[767]:
/var/spool/amavisd/tmp/aft454cfc2004721/parts/p003:
Eicar-Test-Signature FOUND<br>
<b>May 5 06:38:42 postman sendmail[4727]: NOQUEUE: SYSERR(amavis):
can not chdir(/var/spool/clientmqueue/): Permission denied</b><br>
May 5 06:38:42 postman amavis[4541]: (04541-01) (!!)TROUBLE in
check_mail: quar+notif FAILED: temporarily unable to notify admin:
451 4.5.0 Failed to submit a message: exit 78, id=04541-01 at
/usr/sbin/amavisd line 16713.<br>
May 5 06:38:42 postman sendmail[4721]: t454cfc2004721:
milter=amavis-milter, reject=451 4.5.0 Error in processing,
id=04541-01, quar+notif FAILED: temporarily unable to notify admin:
451 4.5.0 Failed to submit a message: exit 78, id=04541-01 at
/usr/sbin/amavisd line 16713.<br>
May 5 06:38:42 postman sendmail[4721]: t454cfc2004721: Milter:
data, reject=451 4.5.0 Error in processing, id=04541-01, quar+notif
FAILED: temporarily unable to notify admin: 451 4.5.0 Failed to
submit a message: exit 78, id=04541-01 at /usr/sbin/amavisd line
16713.<br>
May 5 06:38:42 postman sendmail[4721]: t454cfc2004721: --- 451
4.5.0 Error in processing, id=04541-01, quar+notif FAILED:
temporarily unable to notify admin: 451 4.5.0 Failed to submit a
message: exit 78, id=04541-01 at /usr/sbin/amavisd line 16713.
(hold)<br>
----------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>
We don't receive notification to this address <br>
$virus_admin = "virusalert\@$mydomain"; #
notifications recip. <br>
<br>
because amavis can't flush its email in /var/spool/clientmqueue<br>
<br>
<br>
We have the same problem with the dir /var/spool/clientmqueue if we
use the "amavisd-release" command.<br>
<br>
Selinux is disabled.<br>
<br>
Our sendmail and amavis (amavisd-new-2.8) setup are good on SL 5.5
systems.<br>
<br>
Do you have any suggestions?<br>
<br>
Thanks a lot in advance.<br>
Best regards.<br>
<br>
Daniela Bortolotti<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>