The latest tarball of AMaViS (0.2.0-pre6-clm-rl-4 ) is not handling virtualdomains
very well. Have anyone made a patch for this do work. I also appended -f{mailfrom} in
scanmails.in:
cat <<EOF| ${sendmail_wrapper} -i -t -f${mailfrom}
to get rid of the anoying [EMAIL PROTECTED] as the sender.
The recipient address should have their virtualdomains pre- stripped. You see what I
mean looking at the log file I have appended.
assign
=domain.com-test:maildir:101:101:/home/maildir/domain.com/test::: - This is
[EMAIL PROTECTED]
virtualdomains
domain.com:domain.com
Sending a virus infected mail to mailaddress [EMAIL PROTECTED]:
qmail: 947335924.200231 new msg 999433
qmail: 947335924.200438 info msg 999433: bytes 1510 from <[EMAIL PROTECTED]> qp 23532
uid 1001
qmail: 947335924.203454 starting delivery 37: msg 999433 to local
[EMAIL PROTECTED]
qmail: 947335924.203546 status: local 1/10 remote 0/20
qmail: 947335925.298990 new msg 999447
qmail: 947335925.299217 info msg 999447: bytes 2076 from <[EMAIL PROTECTED]> qp
23715 uid 1008
qmail: 947335925.300800 end msg 999447
qmail: 947335925.352348 new msg 999447
qmail: 947335925.352568 info msg 999447: bytes 1645 from <[EMAIL PROTECTED]> qp
23720 uid 1008
qmail: 947335925.355694 starting delivery 38: msg 999447 to remote [EMAIL PROTECTED]
qmail: 947335925.355815 status: local 1/10 remote 1/20
qmail: 947335925.418456 new msg 999448
qmail: 947335925.418687 info msg 999448: bytes 623 from <[EMAIL PROTECTED]> qp
23726 uid 1008
qmail: 947335925.421966 starting delivery 39: msg 999448 to
local [EMAIL PROTECTED]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
qmail: 947335925.422084 status: local 2/10 remote 1/20
qmail: 947335925.442034 delivery 37: success:
qmail: 947335925.442216 status: local 1/10 remote 1/20
qmail: 947335925.442272 end msg 999433
qmail: 947335926.522386 delivery 39: success:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
qmail: 947335926.522573 status: local 0/10 remote 1/20
qmail: 947335926.522631 end msg 999448
qmail: 947335926.575286 delivery 38: success:
10.10.10.10_accepted_message./Remote_host_said:_250_ok_947332282_qp_4738/
qmail: 947335926.575459 status: local 0/10 remote 0/20
qmail: 947335926.575516 end msg 999447
--
--------------------------------------------
IDG New Media Einar Bordewich
System Manager Phone: +47 2205 3034
E-Mail: [EMAIL PROTECTED]
--------------------------------------------