Koozali.org: home of the SME Server

Amavis problem?

Ed Christianson

Amavis problem?
« on: July 17, 2003, 09:10:23 PM »
Ver 5.6
Amavis-ng ver 0.1.6.4-01
CLAM ver 20030605-1


I've got something going on that I haven't been able to figure out. What happens is that 2 or 3 times a day amavis will unpack an email in the tmp directory then just leave it. This happens with html and text emails but so far I haven't seen it happen with an attachment. The mail is left in a temp directory in a file called email.txt and NOT delivered. The last time it happened was at 10:05 and the temp directory was named amavis-unpack-3f16bb34-7ede. Notice that this name is not mentioned in the log.
At first I thought it was because of the multiple Amavis starts but that seems to happen all the time without problem.
I tried using CLAMAV instead of clamd but the same thing happens.

Can anyone point me in the right direction on this?

The Amavis log looks like this:

Jul 17 10:04:14 mail amavis[32415]: Starting AMaViS 0.1.6.4
Jul 17 10:04:14 mail amavis[32414]: Starting AMaViS 0.1.6.4
Jul 17 10:04:16 mail amavis[32415]: Unpacking message in /tmp/amavis-unpack-3f16baf0-7e9f
Jul 17 10:04:16 mail amavis[32415]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:04:16 mail amavis[32414]: Unpacking message in /tmp/amavis-unpack-3f16baf0-7e9e
Jul 17 10:04:16 mail amavis[32414]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:04:16 mail amavis[32414]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:04:16 mail amavis[32414]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:04:16 mail amavis[32415]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:04:16 mail amavis[32415]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:04:17 mail amavis[32415]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:04:17 mail amavis[32415]: AMAVIS: Cleaning up.
Jul 17 10:04:17 mail amavis[32415]: AMAVIS: Done.
Jul 17 10:04:17 mail amavis[32414]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:04:17 mail amavis[32414]: AMAVIS: Cleaning up.
Jul 17 10:04:17 mail amavis[32414]: AMAVIS: Done.
Jul 17 10:04:49 mail amavis[32436]: Starting AMaViS 0.1.6.4
Jul 17 10:04:49 mail amavis[32435]: Starting AMaViS 0.1.6.4
Jul 17 10:04:52 mail amavis[32436]: Unpacking message in /tmp/amavis-unpack-3f16bb14-7eb4
Jul 17 10:04:52 mail amavis[32436]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:04:52 mail amavis[32435]: Unpacking message in /tmp/amavis-unpack-3f16bb14-7eb3
Jul 17 10:04:52 mail amavis[32435]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:04:52 mail amavis[32435]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:04:52 mail amavis[32435]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:04:52 mail amavis[32436]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:04:52 mail amavis[32436]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:04:52 mail amavis[32436]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:04:52 mail amavis[32436]: AMAVIS: Cleaning up.
Jul 17 10:04:52 mail amavis[32436]: AMAVIS: Done.
Jul 17 10:04:52 mail amavis[32435]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:04:52 mail amavis[32435]: AMAVIS: Cleaning up.
Jul 17 10:04:52 mail amavis[32435]: AMAVIS: Done.
Jul 17 10:05:23 mail amavis[32478]: Starting AMaViS 0.1.6.4
Jul 17 10:05:59 mail amavis[32486]: Starting AMaViS 0.1.6.4
Jul 17 10:06:00 mail amavis[32486]: Unpacking message in /tmp/amavis-unpack-3f16bb58-7ee6
Jul 17 10:06:00 mail amavis[32486]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:06:00 mail amavis[32486]: AMAVIS: Determined 00000001 to be type text/html
Jul 17 10:06:00 mail amavis[32486]: Not attempting to unpack 00000001
Jul 17 10:06:00 mail amavis[32486]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:06:00 mail amavis[32486]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:06:00 mail amavis[32486]: AMAVIS: Cleaning up.
Jul 17 10:06:00 mail amavis[32486]: AMAVIS: Done.
Jul 17 10:11:42 mail amavis[32660]: Starting AMaViS 0.1.6.4
Jul 17 10:11:42 mail amavis[32661]: Starting AMaViS 0.1.6.4
Jul 17 10:11:42 mail amavis[32663]: Starting AMaViS 0.1.6.4
Jul 17 10:11:46 mail amavis[32660]: Unpacking message in /tmp/amavis-unpack-3f16bcb2-7f94
Jul 17 10:11:46 mail amavis[32660]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:11:46 mail amavis[32661]: Unpacking message in /tmp/amavis-unpack-3f16bcb2-7f95
Jul 17 10:11:46 mail amavis[32661]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:11:46 mail amavis[32663]: Unpacking message in /tmp/amavis-unpack-3f16bcb2-7f97
Jul 17 10:11:46 mail amavis[32663]: AMAVIS: Determined 00000000 to be type message/rfc822
Jul 17 10:11:46 mail amavis[32660]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:11:46 mail amavis[32660]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:11:46 mail amavis[32661]: AMAVIS: Determined 00000001 to be type text/plain
Jul 17 10:11:46 mail amavis[32661]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:11:46 mail amavis[32663]: AMAVIS: Determined 00000001 to be type text/html
Jul 17 10:11:46 mail amavis[32663]: Not attempting to unpack 00000001
Jul 17 10:11:46 mail amavis[32663]: AMAVIS::MTA::Qmail: Accepting message
Jul 17 10:11:46 mail amavis[32660]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:11:46 mail amavis[32660]: AMAVIS: Cleaning up.
Jul 17 10:11:46 mail amavis[32660]: AMAVIS: Done.
Jul 17 10:11:46 mail amavis[32661]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:11:46 mail amavis[32661]: AMAVIS: Cleaning up.
Jul 17 10:11:46 mail amavis[32661]: AMAVIS: Done.
Jul 17 10:11:46 mail amavis[32663]: AMAVIS::MTA::Qmail: /var/qmail/bin/qmail-queue exited: 0
Jul 17 10:11:46 mail amavis[32663]: AMAVIS: Cleaning up.
Jul 17 10:11:46 mail amavis[32663]: AMAVIS: Done.

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
Amavis problem?
« Reply #1 on: July 20, 2004, 10:22:46 AM »
Hi,

Have you found a solution for this problem? I've now had six mails orphaned in the past two hours, so I've gone back to RAV for now.
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Amavis problem?
« Reply #2 on: September 01, 2004, 02:16:42 PM »
Was there ever anything found on this?
......

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
Amavis
« Reply #3 on: September 01, 2004, 02:41:26 PM »
Nothing found by me. I've switched over to Bitdefender
......

mbachmann

Amavis problem?
« Reply #4 on: September 02, 2004, 09:40:52 AM »
Really sorry. Is Bitdefender working fine?

simonfishley

Amavis problem?
« Reply #5 on: September 02, 2004, 12:54:27 PM »
I had situation where qmail was passing the mail to amavis which duly unpacked the message but then clamd was not running and it simply shunted 500 messages into problems before we realised there was a problem.  In another situaion, large mails - like over 4 MB were getting put in problem directories cos it could not cope with the size of the messages.

just my 2c.