Notifications for quarantined messages not sent

Bruno Santoni brunosantoni at
Fri Aug 14 15:36:54 CEST 2015


I have installed amavis with postfix, spamassassin, clamav and I am trying
to configure self-service message release with modoboa.

I have almost everything up and running. What I cannot get to work is the
quarantine notification to recipients, with the needed credentials for the

I am running amavisd-new 2.7.1 on Ubuntu 14.04.
Both spam and AV filters work fine and items get quarantined in mysql.

I don see any attempt to send the notification on the logs. The logs for a
quarantined message look simply like this:

Aug 13 17:30:10 mail postfix/smtpd[29763]: connect from localhost[::1]
Aug 13 17:31:04 mail postfix/smtpd[29763]: B4CEF79F5: client=localhost[::1]
Aug 13 17:31:25 mail postfix/cleanup[29769]: B4CEF79F5: message-id=<
20150813213104.B4CEF79F5 at>
Aug 13 17:31:25 mail postfix/qmgr[28597]: B4CEF79F5: from=<scammer at>,
size=356, nrcpt=1 (queue active)
Aug 13 17:31:25 mail amavis[29760]: (29760-01) Blocked SPAM
{DiscardedOutbound,Quarantined}, LOCAL [::1]:42152 [::1] <scammer at>
-> <bruno at localhost>, quarantine: Y8MQz66YAh6X, Queue-ID: B4CEF79F5,
Message-ID: <20150813213104.B4CEF79F5 at>, mail_id:
Y8MQz66YAh6X, Hits: -, size: 356, 390 ms
Aug 13 17:31:25 mail postfix/smtp[29770]: B4CEF79F5: to=<bruno at localhost>,
relay=[]:10024, delay=41, delays=41/0.03/0.05/0.38,
dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=29760-01 - spam)
Aug 13 17:31:25 mail postfix/qmgr[28597]: B4CEF79F5: removed
Aug 13 17:31:27 mail postfix/smtpd[29763]: disconnect from localhost[::1]

In the conf files I have the following:

$warnbannedrecip = 1;
$warnvirusrecip = 1;
$notify_method  = 'smtp:[]:10025';
$forward_method = undef; (I have also tried with the same methos as for
$mailfrom_notify_admin = "virusalert\@$mydomain";
$virus_admin = "virus\@$mydomain";

(I have tried $notify_method with sendmail with the same results)

I don know what else to try.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list