Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14th January 2009, 12:51
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default Undelivered Mail Returned to Sender - Disk quota problems

Hello!
I have problems with receiving mails.

OpenSUSE 10.3
Ispconfig 2.2.29.

When sendind mail to name@mydomain.lv, then receive such "Undelivered Mail Returned to Sender"
Code:
This is the mail system at host myhost.lv

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<name@myhost.lv> (expanded from
    <name@mydomain.lv>): can't create user output file.
    Command output: /bin/cat: write error: Disk quota exceeded procmail:
    Program failure (1) of
    "/home/admispconfig/ispconfig/tools/clamav/bin/clamassassin" procmail:
    Rescue of unfiltered data succeeded postdrop: warning: uid=10035: Disk
    quota exceeded sendmail: fatal: user_name(10035): queue file write error
    procmail: Quota exceeded while writing
    "/srv/www/web3/Maildir/tmp/1231935873.21727_0.ardweb01"

Reporting-MTA: dns; ardweb01.ardit.lv
X-Postfix-Queue-ID: 6E8C6ECC435
X-Postfix-Sender: rfc822; sender_name@other_domain.lv
Arrival-Date: Wed, 14 Jan 2009 14:24:31 +0200 (EET)

Final-Recipient: rfc822; user_name@myhost.lv
Original-Recipient: rfc822; name@mydomain.lv
Action: failed
Status: 5.2.0
Diagnostic-Code: x-unix; /bin/cat: write error: Disk quota exceeded procmail:
    Program failure (1) of
    "/home/admispconfig/ispconfig/tools/clamav/bin/clamassassin" procmail:
    Rescue of unfiltered data succeeded postdrop: warning: uid=10035: Disk
    quota exceeded sendmail: fatal: user_name(10035): queue file write error
    procmail: Quota exceeded while writing
    "/srv/www/web3/Maildir/tmp/1231935873.21727_0.ardweb01"
Directory "/srv/www/web3/Maildir/tmp/" is empty.

Code:
myserver:/ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md2              143G   18G  118G  14% /
udev                  506M   96K  506M   1% /dev
/dev/md0               99M   14M   81M  15% /boot
Code:
ardweb01:/ # repquota -avug
*** Report for user quotas on device /dev/md2
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
avahi     --       8       0       0              3     0     0
dspam     --       8       0       0              2     0     0
games     --       4       0       0              1     0     0
haldaemon --       8       0       0              2     0     0
lp        --      24       0       0              6     0     0
mail      --       4       0       0              1     0     0
man       --    4844       0       0            911     0     0
messagebus --       4       0       0              1     0     0
mysql     --   78856       0       0           4607     0     0
named     --      32       0       0              8     0     0
news      --      12       0       0              6     0     0
nobody    --       8       0       0              2     0     0
ntp       --       8       0       0              3     0     0
polkituser --       8       0       0              2     0     0
postfix   --     180       0       0             73     0     0
root      -- 2895644       0       0         101739     0     0
ulogd     --       8       0       0              3     0     0
uucp      --       8       0       0              2     0     0
wwwrun    --  255816       0       0          17320     0     0
admispconfig --  179768       0       0           6783     0     0
ajuris    --       4       0       0              1     0     0
ardit     -- 7617364       0       0            512     0     0
egmonts   --   32836       0       0           4204     0     0
filter    --      12       0       0              3     0     0
inforonis --    2392   51200   52224            129     0     0
iruza     --      96       0       0             22     0     0
leimans   --    3128   51200   52224            306     0     0
mole      -- 6385992       0       0           5164     0     0
mole_bebranded +-   76964   51200   52224  33:51    2900     0     0
valdis    --      96       0       0             22     0     0
atisb     +-  265400  153600  154624  33:50   35132     0     0
eli1_admin --   27632       0       0           1325     0     0
aupmalis  --  432744       0       0          30897     0     0
infoardit --    2276       0       0            184     0     0
webserverardit --    1376       0       0            117     0     0
internetsardit --     464       0       0             97     0     0
upis      --   64080       0       0            150     0     0
helpdeskardit --     428  102400  103424            104     0     0
andrisj   --     352   51200   52224             97     0     0
sales     --     196   51200   52224             53     0     0
vscan     --   37664       0       0              9     0     0
gozolins  +-   90340   51200   52224  6days    3116     0     0
venta     --      80   20480   21504             21     0     0
girts     --      80   20480   21504             21     0     0
ilona     --      72   20480   21504             18     0     0
komunalserviss --    5384   20480   21504             95     0     0
#501      --   11320       0       0           1222     0     0
#10005    --   26956       0       0              7     0     0
#10049    --       4       0       0              1     0     0
#1010     --   27608       0       0           4641     0     0
#500      --    3992       0       0            249     0     0
#113      --     188       0       0             25     0     0
#9307     --    2868       0       0            264     0     0
#69560466 --     252       0       0             30     0     0

Statistics:
Total blocks: 18
Data blocks: 3
Entries: 54
Used average: 18.000000

*** Report for group quotas on device /dev/md2
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
avahi     --       8       0       0              3     0     0
cdrom     --    7424       0       0            751     0     0
daemon    --    3600       0       0            900     0     0
dialout   --       4       0       0              1     0     0
disk      --       0       0       0             32     0     0
dspam     --     204       0       0              6     0     0
games     --       4       0       0              1     0     0
haldaemon --       8       0       0              2     0     0
lp        --      20       0       0              6     0     0
mail      --       4       0       0              2     0     0
maildrop  --      48       0       0              4     0     0
man       --    1240       0       0             10     0     0
messagebus --       4       0       0              1     0     0
mysql     --   78860       0       0           4608     0     0
named     --      40       0       0             12     0     0
news      --      12       0       0              6     0     0
nobody    --       4       0       0              1     0     0
nogroup   --   82092       0       0          10275     0     0
ntp       --      16       0       0              4     0     0
polkituser --      24       0       0              3     0     0
postfix   --     128       0       0             60     0     0
root      -- 2893752       0       0         101556     0     0
shadow    --     440       0       0              9     0     0
sys       --       4       0       0              1     0     0
trusted   --      60       0       0              2     0     0
tty       --     220       0       0             13     0     0
ulogd     --      12       0       0              4     0     0
uucp      --      12       0       0             11     0     0
wheel     --       8       0       0              1     0     0
www       --  173728       0       0           7050     0     0
admispconfig --  179764       0       0           6781     0     0
filter    --   17020       0       0           1210     0     0
users     -- 13986544       0       0           4514     0     0
web1      --  501924       0       0          31702     0     0
web12     --  265408  768000  769024          35135     0     0
web3      --  122920  358400  359424           3281     0     0
web4      --   79364  153600  154624           3032     0     0
web5      --   32844  153600  154624           4207     0     0
web9      --    3136  153600  154624            309     0     0
web13     --   27640  153600  154624           1328     0     0
vscan     --   37660       0       0              8     0     0
#10011    --       4       0       0              1     0     0
#20001    --     888       0       0             90     0     0
#1010     --   27608       0       0           4641     0     0
#500      --    3992       0       0            249     0     0
#501      --    3888       0       0            470     0     0
#502      --     188       0       0             25     0     0
#21000    --    2868       0       0            264     0     0
#80       --     252       0       0             30     0     0

Statistics:
Total blocks: 15
Data blocks: 3
Entries: 49
Used average: 16.333333
Searching the forum found, that maybe there is problem with clamav, so, I did these steps:
Code:
yast -i clamav clamav-db
Code:
edit /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
.....
CLAMSCAN=/usr/bin/clamdscan
.....
Code:
edit /etc/clamav/clamd.conf
...
ScanMail 1
...
Code:
edit /etc/clamav/freshclam.conf /home/admispconfig/ispconfig/tools/clamav/etc/freshclam.conf
...
NotifyClamd /etc/clamav/clamd.conf
...
Code:
mysql -p
connect db_ispconfig
update isp_isp_user SET status = 'u' WHERE status = '';
checking:
Code:
myserver:/etc/init.d/clamd status
Checking for Clam AntiVirus daemon                                   running
Code:
edit /etc/init.d/ispconfig_server
...
#!/bin/bash
###############################################################################
# Copyright (c) 2005, projektfarm Gmbh, Till Brehm, Falko Timme
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
#     * Redistributions of source code must retain the above copyright notice,
#       this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright notice,
#       this list of conditions and the following disclaimer in the documentation
#       and/or other materials provided with the distribution.
#     * Neither the name of ISPConfig nor the names of its contributors
#       may be used to endorse or promote products derived from this software without
#       specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
###############################################################################

###################################
#
# ISPConfig Server-Startscript
#
###################################

TMPDIR=/tmp
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin

case "$1" in
    start)
        echo "Starting ISPConfig system..."
        /etc/init.d/mysqld start &> /dev/null
        /etc/init.d/mysql start &> /dev/null
        sleep 3
        /root/ispconfig/httpd/bin/apachectl startssl
        /root/ispconfig/sv/ispconfig_wconf &> /dev/null &
		mkdir -p /var/lock/subsys
        /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/firewall.php
        #if ps ax | grep -iw '/home/admispconfig/ispconfig/tools/clamav/bin/freshclam' | grep -iv 'grep' &> /dev/null ;then
          echo "FreshClam is already running!"
        else
          /home/admispconfig/ispconfig/tools/clamav/bin/freshclam -d -c 10 --datadir=/home/admispconfig/ispconfig/tools/clamav/share/clamav
        #fi
        echo "ISPConfig system is now up and running!"
    ;;
    stop)
        echo "Shutting down ISPConfig system..."
        array=(`ps ax | grep -iw '/root/ispconfig/sv/ispconfig_wconf' | grep -iv 'grep' | awk '{print $1}' | cut -f1 -d/ | tr '\n' ' '`)
        element_count=${#array[@]}
        index=0
        while [ "$index" -lt "$element_count" ]
        do
          kill -9 ${array[$index]}
          let "index = $index + 1"
        done
        /root/ispconfig/httpd/bin/apachectl stop
        array=(`ps ax | grep -iw '/home/admispconfig/ispconfig/tools/clamav/bin/freshclam' | grep -iv 'grep' | awk '{print $1}' | cut -f1 -d/ | tr '\n' ' '`)
        element_count=${#array[@]}
        index=0
        while [ "$index" -lt "$element_count" ]
        do
          kill -9 ${array[$index]}
          let "index = $index + 1"
        done
        echo "ISPConfig system stopped!"
    ;;
    restart)
        $0 stop  && sleep 3
        $0 start
        # Remember status and be quiet
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac
exit 0
Info from ispconfig Site stats:
...
Storage space: 350 MB
used: 1010.16k
DB::MySQL 1010.2k
...

Userquota: 50Mb

Can anybody help me to fix this, so the user can receive emails (e-mail and user tmp direcoties ar empty)!
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Problems with PHP mail() function stirfry Installation/Configuration 1 25th August 2007 16:16
[Undelivered Mail Returned to Sender] error korben Server Operation 1 9th November 2006 15:46
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 06:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.