Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

psotfix & amavis issue: lost connection with 127.0.0.1

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
BoBoeBoe
n00b
n00b
Posts: 69
Joined: Tue Feb 17, 2004 10:58 pm

psotfix & amavis issue: lost connection with 127.0.0.1

  • Quote

Post by BoBoeBoe » Fri Aug 17, 2007 7:39 pm

I didn't notice that one of my disks was running full and unfortunately it was the one containing /home

I suppose that this is the reason why my mail did get stuck.

I think I have two relevant messages i my logfile

Code: Select all

Aug 17 19:27:13 Aquila amavis[6084]: (06084-01) (!!) TROUBLE in process_request: Can't create directory /var/amavis/tmp/amavis-20070
817T192713-06084: Too many links at /usr/sbin/amavisd line 3961, <GEN6> line 4.
and for each mail that it tries to deliver there is a line like:

Code: Select all

64036/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending 
RCPT TO)
I tried to just dequeue all the messages by

Code: Select all

postsuper -r ALL
but this does not help. After I 've removed a bunch of several thousand directories in the amavis tmp directory I tried it again but it does not work.

What do I need to do to get the queue working again and have the messages that are currently hold delivered?

Thnx
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Fri Aug 17, 2007 10:09 pm

Could you try to execute the following commands:

Code: Select all

find /var/amavis/tmp -type d -name "amavis-*" -or -name "clamav-*" -prune -mtime +20 -exec rm -rf "{}" ";"
find /var/amavis/tmp -name "sa*" -mtime +20 -exec rm "{}" ";"
find /var/amavis/quarantine -name "virus-*" -mtime +20 -exec rm "{}" ";"
If this helped, then consider adding a cron job doing that on a daily basis.


// SteveB
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic