Thank you Cataldo,Pete,Henrik and Jim,
I'll use the following script:
find /var/spool/amavis -type d -name 'amavis-*' -prune -mmin +30 -exec rm -rf
{} \;
But the strange thing is that I didn't change anything in my configuration,
when suddenly it stopped working.
I'm getting a lot of the following messages in the logs:
Dec 26 15:07:04 mail postfix/smtp[17889]: C73D183AEA: to=<[EMAIL PROTECTED]>,
orig_to=< [EMAIL PROTECTED] >, relay=127.0.0.1[127.0.0.1], delay=141564,
status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
I'm using postfix along with amavisd-new (SA and ClamAV) on SLES9 machine,
latest updated versions.
I've seen on the list archive, that someone suggested to "
Add status code 2 along with 0 to the success "if" branch
(file ./amavis/av/sophos), or upgrade to amavisd-new-20021227-p2.
"
I don't really understand what should I add and to what file to make local
delivery work again.
In the following page (see the link) claimed that it is the amavisd fault:
http://www.irbs.net/internet/postfix/0208/0894.html
What should I do to fix it please?
Regards,
Leon
-----Original Message-----
From: Jim Knuth [mailto:[EMAIL PROTECTED]
Sent: Monday, December 26, 2005 1:27 PM
To: לאון קולצ'ינסקי
Cc: [email protected]
Subject: Re: How to clean /var/spool/amavis directory automatically
Heute (26.12.2005/12:18 Uhr) schrieb [EMAIL PROTECTED] ([EMAIL PROTECTED]),
> Hello All,
> I got a the following problem with /var/spool/amavis directory.
> This directory take a lot of space on my harddisk (several GB).
> I guess that this is a temp. directory for unpacking the emails.
> Some vars from my /etc/amavisd.conf:
> $MYHOME = '/var/spool/amavis';
> $TEMPBASE = $MYHOME;
> $QUARANTINEDIR = undef;
> $virus_quarantine_to = undef;
> $spam_quarantine_to = undef;
> $final_virus_destiny = D_DISCARD;
> This directory is full of :
> amavis-20051224T130531-30822 amavis-20051225T072746-14188
> amavis-20051225T230110-05762 amavis-20051226T123510-17720
> amavis-20051224T130531-30825 amavis-20051225T072746-14201
> amavis-20051225T230110-05774 amavis-20051226T123510-17733
> amavis-20051224T130531-30838 amavis-20051225T072746-14202
> amavis-20051225T230111-05776 amavis-20051226T123510-17734
> amavis-20051224T130531-30839 amavis-20051225T073353-14294
> amavis-20051225T230111-05783 amavis-20051226T123511-17746
> Is there any script to clean it automatically (or maybe there
> is some built-in amavis option) so it won’t eat my disk spaceoe
http://www.postfix-buch.com/download/remove_amavisd-new_stale_files.sh.gz
> Best Regards,
> Leon Kolchinsky
--
Viele Gre, Kind regards,
Jim Knuth
[EMAIL PROTECTED]
ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
Key ID: 0x1F78066F
----------
Zufalls-Zitat
----------
Er stand vor mir.
Ich blickte ihm in die Augen und sagte : 'Ich liebe Dich!'
Doch er drehte sich um, ging weg und lies mich im Stich.
Dann lief ich nach Haus und l?schte mein Leben aus.
Sp?ter sah ich ihn stehen, vor meinem Grab,
als er sagte: 'Ich liebe Dich!'
(Beccy)
----------
Der Text hat nichts mit dem Empfהnger der Mail zu tun
----------
Virus free. Checked by NOD32 Version 1.1339 Build 6510 24.12.2005