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

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

Suggested Solutions

Title # Comments Views Activity
digital ocean web console access ? does it use port 22 4 55
awk file 6 100
Bash script - Exit out of choice loop 2 55
Granting root permissions to a user (in Debian Jessie) 17 54
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.…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 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