> $daemon_user  = 'amavis';
> $daemon_group = 'amavis';
Both lines are correct in the amavisd.conf file.

I think I may do a clean install tomorrow and see if that can can
clear things up.

On 10/11/05, Gary V <[EMAIL PROTECTED]> wrote:
> Gary wrote:
>
> > 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.
> >> Thanks for any help you can offer.
>
> http://marc.theaimsgroup.com/?l=amavis-user&m=108496949300770&w=2
>
> Then again this link may not apply, since the problem line is:
>
>  $IO = FileHandle->new(">$path") || die "write-open $path: $!";
>
> Since this box is not in production, you might try stopping
> amavisd-new, removing any left over amavis-200510... temp directories
> and deleting any junk from the Postfix deferred queue, and trying
> again. 'postsuper -d ALL deferred' to clean up Postfix.
>
> Check amavisd.conf, make sure there is no typo here:
> $daemon_user  = 'amavis';
> $daemon_group = 'amavis';
>
> (I know this setup uses 'amavis')
>
> BTW, I also had Josh do:
> mkdir /var/lib/amavis/tmp
> mkdir /var/lib/amavis/db
> mkdir /var/lib/amavis/var
> chown -R amavis:amavis /var/lib/amavis
> chmod -R 750 /var/lib/amavis
>
> I also know that Josh has sufficient ram for his configuration, so I
> am out of ideas.
>
> 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/
>


--
Josh Catlin
[EMAIL PROTECTED]
--


-------------------------------------------------------
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