Solved

Postfix Spamassassin Amavisd: email is stuck in the queue; Amavisd error: Can't create directory ... Too many links at

Posted on 2006-07-01
2
3,495 Views
Last Modified: 2007-11-27
Hi,
We have been running Postfix Spamassassin Amavisd on RedHat 9 as a front-end mail filter/server for our in-house MS Exchange Server for 2 years.
Suddenly, mail is stacking up in the Postfix queue with the message:
    delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending MAIL FROM
I interpret this to mean Amavisd is down for some reason.
An amavisd debug revealed these errors:
  Jul  1 07:34:44 ISISDSPAM /usr/sbin/amavisd[5877]: (05877-01) prepare_tempdir: creating directory /var/lib/amavis/tmp/amavis-20060701T073444-05877
  Jul  1 07:34:44 ISISDSPAM /usr/sbin/amavisd[5877]: (05877-01) TROUBLE in process_request: Can't create directory /var/lib/amavis/tmp/amavis-20060701T073444-05877: Too many links at (eval 36) line 95, <GEN5> line 2.

I think this is the problem but don't know how to interpret or fix this.
Thanks for your help.
Jerry
0
Comment
Question by:jinfeld
2 Comments
 
LVL 7

Accepted Solution

by:
Jon_Ferguson earned 250 total points
ID: 17024440
Try purging all files in /var/lib/amavis/tmp
0
 

Author Comment

by:jinfeld
ID: 17024564
Thanks,
That worked!
I deleted all directories and enclosed filed with this command line:

find /var/lib/amavis/tmp/* -type d | xargs rm -rf

0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now