Problems with email...

Discussion in 'Installation/Configuration' started by nickjc, Jun 25, 2007.

  1. nickjc

    nickjc New Member

    Hi,

    I hope someone can shed some light on a problem I have. The install is on a clean Fedora 6, using ISPConfig-2.2.13.


    Jun 25 09:05:41 www postfix/local[14610]: 7FBBE6D4AF0: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=18, delays=1.1/0.01/0/17, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/mail/web17_nick" [14644] warn: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/www/web17/user/web17_nick/.spamassassin/auto-whitelist.lock.www.mydomain.com.14644 for /var/www/web17/user/web17_nick/.spamassassin/auto-whitelist.lock: No such file or directory procmail: Quota exceeded while writing "/var/www/web17/user/web17_nick/Maildir/tmp/1182758724.14611_2.www.mydomain.com" )
    Jun 25 09:05:41 www postfix/cleanup[14601]: A1B706D4AF2: message-id=<[email protected]>
    Jun 25 09:05:41 www postfix/bounce[14600]: 7FBBE6D4AF0: sender non-delivery notification: A1B706D4AF2
    Jun 25 09:05:41 www postfix/qmgr[13593]: A1B706D4AF2: from=<>, size=4176, nrcpt=1 (queue active)
    Jun 25 09:05:41 www postfix/qmgr[13593]: 7FBBE6D4AF0: removed
    Jun 25 09:05:41 www sendmail[14651]: l5P85f57014651: SYSERR(web18_hostmaster): collect: Cannot write ./dfl5P85f57014651 (bfcommit, uid=10017, gid=51): Disk quota exceeded
    Jun 25 09:05:41 www sendmail[14651]: l5P85f57014651: from=web18_hostmaster, size=129, class=0, nrcpts=1, [email protected]
    Jun 25 09:05:41 www sendmail[14651]: l5P85f57014651: SYSERR(web18_hostmaster): Error writing control file ./qfl5P85f57014651: Disk quota exceeded
    Jun 25 09:05:41 www postfix/local[14628]: A1B706D4AF2: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.05, delays=0/0/0/0.04, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/mail/web18_hostmaster" procmail: Unable to treat as directory "/var/www/web18/user/web18_hostmaster/Maildir/cur" procmail: Skipped "/var/www/web18/user/web18_hostmaster/Maildir" )
    Jun 25 09:05:41 www postfix/qmgr[13593]: A1B706D4AF2: removed




    The output of repquota -avug is :

    *** Report for group quotas on device /dev/mapper/VolGroup00-LogVol00
    Block grace time: 7days; Inode grace time: 7days
    Block limits File limits
    Group used soft hard grace used soft hard grace
    ----------------------------------------------------------------------
    root -- 2569968 0 0 101292 0 0
    bin -- 16 0 0 4 0 0
    daemon -- 28 0 0 4 0 0
    sys -- 16 0 0 2 0 0
    tty -- 24 0 0 2 0 0
    disk -- 4 0 0 1 0 0
    lp -- 128 0 0 18 0 0
    mail -- 1256 0 0 8 0 0
    man -- 256 0 0 32 0 0
    ftp -- 4 0 0 1 0 0
    lock -- 28 0 0 2 0 0
    nobody -- 92 0 0 2 0 0
    rpm -- 41748 0 0 123 0 0
    utmp -- 4332 0 0 5 0 0
    avahi -- 8 0 0 1 0 0
    smmsp -- 852 0 0 183 0 0
    utempter -- 8 0 0 1 0 0
    rpcuser -- 36 0 0 5 0 0
    slocate -- 8780 0 0 3 0 0
    named -- 300 0 0 48 0 0
    ntp -- 12 0 0 2 0 0
    apache -- 40 0 0 4 0 0
    mysql -- 22580 0 0 231 0 0
    squid -- 224 0 0 7 0 0
    screen -- 356 0 0 2 0 0
    postdrop -- 352 0 0 4 0 0
    postfix -- 328 0 0 85 0 0
    xfs -- 0 0 0 1 0 0
    nick -- 6008 0 0 549 0 0
    admispconfig -- 65592 0 0 1440 0 0
    dovecot -- 20 0 0 5 0 0
    web17 -- 6204 51200 52224 34 0 0
    web18 -- 11328 51200 52224 29 0 0
    #10016 -- 6076 0 0 6 0 0

    Statistics:
    Total blocks: 11
    Data blocks: 2
    Entries: 34
    Used average: 17.000000




    I have created 50mb to the user so the space shouldnt be a problem. I have switched off spam filtering and av filtering, using Maildir (as dovecot installed). I have removed the site and added and still get the errors. (I have removed my domain names and replaced with a false name in the above pasted logfile)

    Any help would be appreciated.

    Nickjc
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The user web18_hostmaster is not listed in the repquota output. Please check if the user web18_hostmaster exists in /etc/passwd:

    grep web18_hostmaster /etc/passwd
     
  3. nickjc

    nickjc New Member

    Many thanks for the quick response.

    The output is :

    web18_hostmaster:x:10017:10018:hostmaster:/var/www/web18/user/web18_hostmaster:/dev/null
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/www/web18/user/web18_hostmaster
    ?
     
  5. nickjc

    nickjc New Member

    [[email protected] ~]# ls -la /var/www/web18/user/web18_hostmaster
    total 128
    drwxr-xr-x 4 web18_hostmaster web18 4096 Jun 25 08:46 .
    drwxr-xr-x 3 apache web18 4096 Jun 25 08:46 ..
    -rw-r--r-- 1 root root 103 Jun 25 09:01 .antivirus.rc
    -rw-r--r-- 1 root root 799 Jun 25 09:01 .autoresponder.rc
    -rw------- 1 web18_hostmaster web18 24 Jun 25 09:01 .forward
    -rw-r--r-- 1 root root 67866 Jun 25 09:01 .html-trap.rc
    -rw-r--r-- 1 root root 3889 Jun 25 09:01 .local-rules.rc
    drwx------ 3 web18_hostmaster web18 4096 Jun 25 08:52 Maildir
    -rw-r--r-- 1 root root 204 Jun 25 09:01 .mailsize.rc
    -rw-r--r-- 1 root root 506 Jun 25 09:01 .procmailrc
    -rw-r--r-- 1 root root 656 Jun 25 09:01 .quota.rc
    -rw-r--r-- 1 root root 1153 Jun 25 09:01 .spamassassin.rc
    -rw-r--r-- 1 root root 2057 Jun 25 09:01 .user_prefs
    -rw-r--r-- 1 root root 32 Jun 25 09:01 .vacation.msg
    drwxrwxr-x 2 web18_hostmaster web18 4096 Jun 25 08:46 web
    [[email protected] ~]#



    I have followed the perfect Fedora 6 installation, this is a fresh build. I have removed the domains/users and started again only to get the same problem.

    Any help would be appreciated as its now getting urgent :(
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get any errors in /home/admispconfig/ispconfig/ispconfig.log ?
     
  7. nickjc

    nickjc New Member

    All looks good in that logfile, i have searched the whole file and cannot see any errors at all :


    25.06.2007 - 09:01:12 => INFO - Signalfile Set: update
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 257: setquota -g web18 51200 52224 0 0 -a &> /dev/null
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 258: setquota -T -g web18 604800 604800 -a &> /dev/null
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 277: Connected successfully
    25.06.2007 - 09:01:17 => INFO - USER:
    web18_hostmaster:x:10017:10018:hostmaster:/var/www/web18/user/web18_hostmaster:/dev/null
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u web18_hostmaster 10240 11264 0 0 -a &> /dev/null
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u web18_hostmaster 604800 604800 -a &> /dev/null
    25.06.2007 - 09:01:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www
    /web18/user/web18_hostmaster/.forward
     
  8. nickjc

    nickjc New Member

    I was thinking that I might try to install CentOS instead and re-install - do you think this might be a quicker fix?
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Just a shot in the dark - did you disable SELinux?
    What's the output of
    Code:
    df -h
    ?
     
  10. nickjc

    nickjc New Member

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    31G 2.4G 27G 9% /
    /dev/sda1 99M 16M 78M 17% /boot
    tmpfs 1.9G 0 1.9G 0% /dev/shm
    /dev/sdc1 130G 555M 122G 1% /mnt/export
    /dev/sdb5 17G 16G 245M 99% /export



    (i am not using /export or /mnt/export)


    Selinux is disabled, this was part of the install process that was followed.
    Perhaps I'll try to rebuild using Centos and try again :(
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Can you post the outputs of
    Code:
    ls -la /var/www/web18/user/web18_hostmaster
    ls -la /var/www/web18/user/
    ls -la /var/www/web18/
    ls -la /var/www/
    ls -la /var/
    ?
     
  12. nickjc

    nickjc New Member

    Panic over, the box got rebuilt with CentOS - after following the "Perfect" install & ISPConfig I am now up and running. Excellent :)

    Thanks for the help though ;)
     

Share This Page