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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
change time in cron 4 65
Ubuntu/Asterisk after upgrade Wav issue 19 54
Edit linux file using python 4 39
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 137
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…
Fine Tune your automatic Updates for Ubuntu / Debian
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…

930 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

12 Experts available now in Live!

Get 1:1 Help Now