Christian,

[EMAIL PROTECTED] wrote:
> We have been running Postfix Spamassassin Amavisd on RedHat 9 as a
> front-end mail filter/server for many years.
> Since last friday, 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 RCP TO
> 
> An amavisd.log revealed these errors:
> Jan 28 13:14:04 sspam1.uqat.ca /usr/local/sbin/amavisd[5208]: (05208-01)
> (!!)TROUBLE in process_request: Can't create directory
> /var/amavis/tmp/amavis-20080128T131404-05208: Too many links at
> /usr/local/sbin/amavisd line 4780.Too many links at (eval 36) line 95,
> <GEN5> line 2.
> 

The "Too many links" (EMLINK) occurs during an attempt to create an new 
hard link (file, directory) in a file system whose maximum link count 
has been reached.  Simply put, there are too many files and/or 
directories in the file system that contains /var/amavis/tmp.

Amavis will leave tmp directories when there has been some failure 
during decoding or scanning, so that you may examine the evidence 
manually.  Normally, amavis will remove these temporary directories, so 
you should examine why they remain.  Check your logs for errors, using 
the temporary file name as a key to help you trace back.

One possibility is that you are not doing recipient validation and a 
wave of malware is hitting your server, malware that happens to cause 
some decoder/unpacker to fail.  Be sure you are doing proper recipient 
validation.

In any case, you can always remove older temporary directories, for 
example, using a cron job to remove anything older than say a couple of 
days.

MrC

> In a post I found that emptying the /tmp directory would fix the problem
> but I don't want to loose any e-mail...
> 
> I'm kind of lost since I've been searching all week-end and found
> nothing that could help me.
> 
> Any help would be appreciated.
> 
> Christian Pepin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to