unable to get emails procmail: Couldn't create or rename temp file

2 posts / 0 new
Last post
#1 Tue, 12/27/2016 - 11:46
zer0

unable to get emails procmail: Couldn't create or rename temp file

Hello, Server had been running perfectly fine until yesterday. I do not know what has happen, no one can get any emails. I cannot even send emails to myself. Though I can send emails out to hotmail etc.

Time:1482858668 From:USER@DOMAIN.ca To:USER@DOMAIN.ca User:USER.DOMAIN Size:4319 Dest:/etc/webmin/virtual-server/clam-wrapper.pl /bin/clamdscan --config-file /etc/clamd.d/scan.conf Mode:None
ERROR: Could not lookup : Servname not supported for ai_socktype
Dec 27 11:29:28.944 [19539] warn: bayes: locker: safe_lock: cannot create tmp lockfile /home/DOMAIN/homes/USER/.spamassassin/bayes.lock.mail.DOMAIN.ca.19539 for /home/DOMAIN/homes/USER/.spamassassin/bayes.lock: Disk quota exceeded
Dec 27 11:29:28.971 [19539] warn: bayes: locker: safe_lock: cannot create tmp lockfile /home/DOMAIN/homes/USER/.spamassassin/bayes.lock.mail.DOMAIN.ca.19539 for /home/DOMAIN/homes/USER/.spamassassin/bayes.lock: Disk quota exceeded
Dec 27 11:29:28.977 [19539] warn: bayes: locker: safe_lock: cannot create tmp lockfile /home/DOMAIN/homes/USER/.spamassassin/bayes.lock.mail.DOMAIN.ca.19539 for /home/DOMAIN/homes/USER/.spamassassin/bayes.lock: Disk quota exceeded
Dec 27 11:29:28.977 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:29.978 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:30.978 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:31.978 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:32.979 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:33.979 [19539] warn: bayes: partial write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal (816 of 864), recovering
Dec 27 11:29:33.980 [19539] warn: bayes: cannot write to bayes journal /home/DOMAIN/homes/USER/.spamassassin/bayes_journal, aborting!
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting eval via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting eval via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.980 [19539] warn: Exiting subroutine via last at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm line 1169.
Dec 27 11:29:33.984 [19539] warn: plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /home/DOMAIN/homes/USER/.spamassassin/bayes.lock.mail.DOMAIN.ca.19539 for /home/DOMAIN/homes/USER/.spamassassin/bayes.lock: Disk quota exceeded
procmail: Couldn't create or rename temp file "/home/DOMAIN/homes/USER/Maildir/tmp/1482859773.19516_0.mail.DOMAIN.ca"
procmail: Couldn't create or rename temp file "/home/DOMAIN/homes/USER/Maildir/tmp/1482859773.19516_1.mail.DOMAIN.ca"
From USER@DOMAIN.ca  Tue Dec 27 11:29:26 2016
Subject: test3
  Folder: **Bounced**

I checked for permissions

[administrator@mail ~]$ sudo ls -l /home/DOMAIN/homes/USER/Maildir
total 5024
drwx------ 2 USER.DOMAIN DOMAIN  421888 Dec 26 07:17 cur
-rw------- 1 USER.DOMAIN DOMAIN  110056 Dec 25  2014 dovecot.index
-rw------- 1 USER.DOMAIN DOMAIN 4242432 Dec 25  2014 dovecot.index.cache
-rw------- 1 USER.DOMAIN DOMAIN    9556 Dec 25  2014 dovecot.index.log
-rw------- 1 USER.DOMAIN DOMAIN   49982 Aug 19  2014 dovecot.index.thread
-rw------- 1 USER.DOMAIN DOMAIN      13 Jun 30  2013 dovecot-keywords
-rw------- 1 USER.DOMAIN DOMAIN  189094 Dec 25  2014 dovecot-uidlist
-rw------- 1 USER.DOMAIN DOMAIN       8 Oct 21  2013 dovecot-uidvalidity
-r--r--r-- 1 USER.DOMAIN DOMAIN       0 May  6  2013 dovecot-uidvalidity.51874904
drwx------ 2 USER.DOMAIN DOMAIN       6 Dec 26 07:17 new
-rw-r--r-- 1 USER.DOMAIN DOMAIN      23 May  6  2013 subscriptions
drwx------ 2 USER.DOMAIN DOMAIN       6 Dec 26 07:15 tmp

Any help will be greatly appreciated. I do not know what is going on.

Tue, 12/27/2016 - 13:15
zer0

Ok I figured it out

Webmin >> System >> Disk Quotas >> /home(groups) under DOMAIN group "soft kilobyte limit" had exceeded so i had changed that to Unlimited and everything is back to normal.

All the emails that got "bounced" can they be recovered?

Thank you

Topic locked