[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
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
Medium Priority
?
3,571 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Jon_Ferguson earned 1000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

650 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