Josh wrote:

> Warning: I'm very new to Linux so hopefully the error I'm hitting is
> merely due to inexperience and not something more involved.

> Debian - current stable
> postfix - 2.1.5-9
> amavisd-new - 20030616p10-5
> spamassassin - 3.0.3-2

> I'm setting up a Debian anti-spam, anti-virus gateway as described in
> the excellent walkthrough provided at www.freespamfilter.org. I've
> finished setting up postfix, amavisd-new, pyzor, razor, DCC and
> SpamAssassin. I have not yet set up ClamAV. At this point everything
> looks good running amavisd-new debug until I send in a test email. The
> mail hits the Debian box and makes it through various steps ok up
> until the MIME extraction section. Here are the relevant debug lines:

> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) Extracting mime components
> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) Issued a new file name: p001
> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) TROUBLE in check_mail: mime_decode-1 FAILED: write-open
> ../var/lib/amavis/amavis-20051011T113838-01102/parts/p001: No such
> file or directory at /usr/share/perl5/MIME/Body.pm line 414.
> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) sending SMTP response: "451 4.5.0 Error in processing,
> id=01102-01, mime_decode-1 FAILED: write-open
> ../var/lib/amavis/amavis-20051011T113838-01102/parts/p001: No such
> file or directory at /usr/share/perl5/MIME/Body.pm line 414."
> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) timer stopped after DATA end
> Oct 11 11:38:38 spambox.mydomain.com /usr/sbin/amavisd-new[1102]:
> (01102-01) PRESERVING EVIDENCE in
> ../var/lib/amavis/amavis-20051011T113838-01102

> At someone's suggestion, I tried the following:
> amavisd-new stop
> apt-get --reinstall install libmime-perl
> chown -R amavis:amavis /var/lib/amavis
> chmod -R 0750 /var/lib/amavis
> amavisd-new start

> This had no effect - I still get the same error.  I can't tell if the
> parts (i.e. p001) are never getting created or if they are created and
> then immediately deleted before Body.pm has a chance to open the
> files.  Where should I look to find the cause of this?  I know people
> may need more info from my setup before they can pin down the problem
> so please let me know what you need to see.

> Thanks for any help you can offer.

> --
> Josh Catlin

I believe this may apply:

http://marc.theaimsgroup.com/?l=amavis-user&m=108496949300770&w=2

On my Debian machine, I show:

sfm:~# ls -ld /tmp
drwxrwxrwt    4 root     root         2048 Oct 11 16:00 /tmp

sfm:~# ls -ld /var/tmp
drwxrwxrwt    3 root     root         1024 Oct  5 11:13 /var/tmp


Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to