Hi All.
I've just reinstalled our test environment and I can't seem
to get the
bounce notifications sent out. Everything else seems to be
working as
expected. Our setup is RHEL5, Amavis 2.5.2 and sendmail
8.13.8 in a
milter pre-queue setup.
I've done some copy & paste from our "old"
amavisd 2.3.3 installation
(kept the new syntax on things in 2.5.2, but the values are
the same).
I'm triggering the bounce by sending an .EXE-file as an
attachment from
Yahoo mail.
Our amavisd.conf includes:
$forward_method = undef; # set to undef with milter!
$notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -Ac
-i -odd -f
$ -- $';
$final_virus_destiny = D_REJECT;
$final_banned_destiny = D_BOUNCE;
$final_spam_destiny = D_REJECT;
$final_bad_header_destiny = D_PASS;
$hdrfrom_notify_sender = ""Content-filter at
mydomain.tld"
<postmaster domain.tld>";
$notify_virus_sender_templ=
read_text("/etc/mail/amavis/notify_virus_sender.txt&quo
t;);
----------
The log doesn't complain:
---
Oct 9 11:18:10 bestla amavis[10762]: (10762) DSN:
NOTIFICATION:
Action:failed, LOCAL 554 Banned, <testemail yahoo.com> ->
<martin.svensson mydomain.tld>
Oct 9 11:18:10 bestla amavis[10762]: (10762) SEND via PIPE:
<> ->
<testemail yahoo.com>
Oct 9 11:18:10 bestla sendmail[10796]: l999IABe010796:
Authentication-Warning: bestla.mydomain.tld: amavis set
sender to <>
using -f
Oct 9 11:18:10 bestla sendmail[10796]: l999IABe010796:
from=<>,
size=5920, class=0, nrcpts=1, msgid=<VS10762 bestla.mydomain.tld>,
relay=amavis localhost
Oct 9 11:18:10 bestla sendmail[10796]: l999IABe010796:
to=testmail yahoo.com, delay=00:00:00, mailer=esmtp, pri=35920,
dsn=4.4.3, stat=queued
Oct 9 11:18:10 bestla amavis[10762]: (10762) mail_via_pipe
/usr/sbin/sendmail, exit 0, 250 2.6.0 Ok
Oct 9 11:18:10 bestla amavis[10762]: (10762) Blocked BANNED
(multipart/mixed |
application/octet-stream,.exe,.exe-ms,=?utf-8?q?NetCPS.exe?=
,NetCPS.exe),
AM.PDP-SOCK [66.196.97.35] [194.103.189.24] <testmail yahoo.com> ->
<martin.svensson mydomain.tld>, quarantine:
banned-kd8wA2nT0zL7,
Queue-ID: l999I5bI010784, Message-ID:
<472155.64686.qm web56506.mail.re3.yahoo.com>, mail_id:
kd8wA2nT0zL7,
Hits: 3.647, size: 61863, 4180 ms
Oct 9 11:18:10 bestla amavis[10762]: (10762) mail checking
ended:
version_server=2nsetreply=250 2.5.0
Ok,%20id=10762,%20BOUNCEnreturn_value=discardnexit_code=99
Oct 9 11:18:10 bestla amavisd-milter[12820]:
l999I5bI010784:
return_value=discard
---
Any ideas?
Thanks in advance all.
/Martin
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|