Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3585
  • Last Modified:

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

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
jinfeld
Asked:
jinfeld
1 Solution
 
Jon_FergusonCommented:
Try purging all files in /var/lib/amavis/tmp
0
 
jinfeldPresidentAuthor Commented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now