Administrator receive empty mail ???

Discussion in 'General' started by Stanev, Apr 2, 2006.

  1. Stanev

    Stanev New Member

    Hello to all.
    First I wont to say ISPConfig is great. :)
    I have problems with one of my sites. When i make one of site (any) users administrator this user start receive emty mails - 0 bites. no subject, no headers ??? This is only for the first site created on my server web1. If user is not administrator everything works fine.

    I'm using Debian Sarge with ISPConfig 2.2.0

    No error in log files I think

    Sory for my bad English.
    Code:
    Apr  2 09:23:15 server postfix/smtpd[8756]: connect from ns2.netinfo.bg[194.153.145.70]
    Apr  2 09:23:15 server postfix/smtpd[8756]: BBE66ABD21: client=ns2.netinfo.bg[194.153.145.70]
    Apr  2 09:23:15 server postfix/cleanup[8759]: BBE66ABD21: message-id=<[email protected]>
    Apr  2 09:23:15 server postfix/qmgr[7134]: BBE66ABD21: from=<[email protected]>, size=2362, nrcpt=1 (queue active)
    Apr  2 09:23:15 server postfix/smtpd[8756]: disconnect from ns2.netinfo.bg[194.153.145.70]
    Apr  2 09:23:16 server postfix/pickup[7133]: 1C430ABD23: uid=10017 from=<u1_admin>
    Apr  2 09:23:16 server postfix/cleanup[8759]: 1C430ABD23: message-id=<[email protected]>
    Apr  2 09:23:16 server postfix/qmgr[7134]: 1C430ABD23: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr  2 09:23:16 server postfix/local[8781]: 1C430ABD23: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  2 09:23:16 server postfix/qmgr[7134]: 1C430ABD23: removed
    Apr  2 09:23:16 server postfix/pickup[7133]: 4A13EABD23: uid=10017 from=<u1_admin>
    Apr  2 09:23:16 server postfix/cleanup[8759]: 4A13EABD23: message-id=<[email protected]>
    Apr  2 09:23:16 server postfix/qmgr[7134]: 4A13EABD23: from=<[email protected]>, size=349, nrcpt=1 (queue active)
    Apr  2 09:23:16 server postfix/local[8760]: BBE66ABD21: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  2 09:23:16 server postfix/qmgr[7134]: BBE66ABD21: removed
    Apr  2 09:23:16 server postfix/local[8781]: 4A13EABD23: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  2 09:23:16 server postfix/qmgr[7134]: 4A13EABD23: removed
    
     
    Last edited: Apr 2, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have "Mailscan" activated for the admin user?
    Are the emails really empty or do they contain a number?
     
  3. Stanev

    Stanev New Member

    No "MailScan" is not activated for any user.

    Code:
    ls -la
    total 8
    drwx------  2 u1_admin web1 4096 Apr  2 19:16 .
    drwx------  5 u1_admin web1 4096 Apr  1 08:21 ..
    -rw-------  1 u1_admin web1    0 Apr  2 19:16 1143994587.4555_0.server.staks.org
    
    I found someting this hapend only when (admin user) receive HTML massage if the massage is Plain text everiting is OK
     
    Last edited: Apr 2, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -la /path/to/u1_admin
    ?
     
  5. Stanev

    Stanev New Member

    ls -la /var/www/web1/user/u1_admin/
    total 128
    drwxr-xr-x 6 u1_admin web1 4096 Apr 2 09:03 .
    drwxr-xr-x 5 u1_admin web1 4096 Apr 2 09:02 ..
    -rw-r--r-- 1 root root 544 Apr 2 19:18 .antivirus.rc
    -rw-r--r-- 1 root root 744 Apr 2 19:18 .autoresponder.rc
    -rw-r--r-- 1 root root 22 Apr 2 19:18 .bounce-exceed-quota.txt
    -rw-r--r-- 1 root root 67866 Apr 2 19:18 .html-trap.rc
    -rw-r--r-- 1 root root 3889 Apr 2 19:18 .local-rules.rc
    -rw-r--r-- 1 root root 180 Apr 2 19:18 .mailsize.rc
    -rw-r--r-- 1 root root 2662 Apr 2 19:18 .quota.rc
    drwx------ 2 u1_admin web1 4096 Apr 2 08:40 .spamassassin
    -rw-r--r-- 1 root root 1144 Apr 2 19:18 .spamassassin.rc
    -rw-r--r-- 1 root root 1641 Apr 2 19:18 .user_prefs
    -rw-r--r-- 1 u1_admin web1 0 Apr 1 08:18 .vacation.cache
    -rw-r--r-- 1 root root 0 Apr 2 19:18 .vacation.msg
    drwx------ 5 u1_admin web1 4096 Apr 1 08:21 Maildir
    drwx------ 2 u1_admin web1 4096 Apr 2 08:40 tmp
    drwxrwxr-x 2 u1_admin web1 4096 Apr 1 08:18 web
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's in /var/www/web1/.procmailrc?
     
  7. Stanev

    Stanev New Member

    MAILDIR=$HOME/Maildir/
    DEFAULT=$MAILDIR
    ORGMAIL=$MAILDIR

    INCLUDERC=/var/www/web1/user/u1_admin/.mailsize.rc
    ## INCLUDERC=/var/www/web1/user/u1_admin/.quota.rc
    INCLUDERC=/var/www/web1/user/u1_admin/.antivirus.rc
    ## INCLUDERC=/var/www/web1/user/u1_admin/.local-rules.rc
    ## INCLUDERC=/var/www/web1/user/u1_admin/.html-trap.rc
    ## INCLUDERC=/var/www/web1/user/u1_admin/.spamassassin.rc
    ## INCLUDERC=/var/www/web1/user/u1_admin/.autoresponder.rc
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use maildir for storing your emails, please try to change the line:

    INCLUDERC=/var/www/web1/user/u1_admin/.mailsize.rc

    to:

    ## INCLUDERC=/var/www/web1/user/u1_admin/.mailsize.rc

    in the file /var/www/web1/.procmailrc
     
  9. Stanev

    Stanev New Member

    Yes I use Maildir. I changed line but this not help. :(
     
  10. falko

    falko Super Moderator Howtoforge Staff

    What happens if you disable the virus scanner?
     
  11. Stanev

    Stanev New Member

    No change, can't receive HTML massages. Moust strange thing is that all other site administrators receive all massages normal ? I delete user u1_admin - recycle bin too and after that create user u1_admin again. NO CHANGE :confused: If different user is administrator for this site same result no mail. ???
     
    Last edited: Apr 3, 2006
  12. falko

    falko Super Moderator Howtoforge Staff

    Is there anything special in the mail log when you send an HTML email to web1_admin?
     
  13. Stanev

    Stanev New Member

    No there is nothing special in mail log I think :( I don't understant very good mail system.
    Code:
    ls -la
    total 12
    drwx------  2 u1_admin web1 4096 Apr  3 23:24 .
    drwx------  5 u1_admin web1 4096 Apr  1 08:21 ..
    -rw-------  1 u1_admin web1    0 Apr  3 23:23 1144095822.11692_0.server.staks.org
    -rw-------  1 u1_admin web1 1011 Apr  3 23:24 1144095859.11725_0.server.staks.org
    
    First massage(1144095822) is HTML - 0 bites, second(1144095859) is the same but Plain Text (Subject: Test, Body: Test) send from Outlook Express

    Thisi is mail.log from received massages
    Code:
    Apr  3 23:23:42 server postfix/smtpd[11675]: connect from mail.host.bg[87.120.40.5]
    Apr  3 23:23:42 server postfix/smtpd[11675]: setting up TLS connection from mail.host.bg[87.120.40.5]
    Apr  3 23:23:42 server postfix/smtpd[11675]: TLS connection established from mail.host.bg[87.120.40.5]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Apr  3 23:23:42 server postfix/smtpd[11675]: 764C7ABCAC: client=mail.host.bg[87.120.40.5]
    Apr  3 23:23:42 server postfix/cleanup[11657]: 764C7ABCAC: message-id=<000b01c6575c$81e8c040$4601a8c0@notebook>
    Apr  3 23:23:42 server postfix/qmgr[15782]: 764C7ABCAC: from=<[email protected]>, size=1614, nrcpt=1 (queue active)
    Apr  3 23:23:42 server postfix/smtpd[11675]: disconnect from mail.host.bg[87.120.40.5]
    Apr  3 23:23:42 server postfix/pickup[10500]: D4598ABD29: uid=10017 from=<u1_admin>
    Apr  3 23:23:42 server postfix/cleanup[11657]: D4598ABD29: message-id=<[email protected]>
    Apr  3 23:23:43 server postfix/local[11677]: 764C7ABCAC: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  3 23:23:43 server postfix/pickup[10500]: F2085ABD28: uid=10017 from=<u1_admin>
    Apr  3 23:23:43 server postfix/cleanup[11657]: F2085ABD28: message-id=<[email protected]>
    Apr  3 23:23:43 server postfix/qmgr[15782]: D4598ABD29: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr  3 23:23:43 server postfix/qmgr[15782]: 764C7ABCAC: removed
    Apr  3 23:23:43 server postfix/qmgr[15782]: F2085ABD28: from=<[email protected]>, size=349, nrcpt=1 (queue active)
    Apr  3 23:23:43 server postfix/local[11701]: F2085ABD28: to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  3 23:23:43 server postfix/qmgr[15782]: F2085ABD28: removed
    Apr  3 23:23:43 server postfix/local[11677]: D4598ABD29: to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  3 23:23:43 server postfix/qmgr[15782]: D4598ABD29: removed
    Apr  3 23:24:19 server postfix/smtpd[11675]: connect from mail.host.bg[87.120.40.5]
    Apr  3 23:24:19 server postfix/smtpd[11675]: setting up TLS connection from mail.host.bg[87.120.40.5]
    Apr  3 23:24:19 server postfix/smtpd[11675]: TLS connection established from mail.host.bg[87.120.40.5]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Apr  3 23:24:19 server postfix/smtpd[11675]: 6D104ABCAC: client=mail.host.bg[87.120.40.5]
    Apr  3 23:24:19 server postfix/cleanup[11699]: 6D104ABCAC: message-id=<000f01c6575c$980044c0$4601a8c0@notebook>
    Apr  3 23:24:19 server postfix/smtpd[11675]: disconnect from mail.host.bg[87.120.40.5]
    Apr  3 23:24:19 server postfix/qmgr[15782]: 6D104ABCAC: from=<[email protected]>, size=935, nrcpt=1 (queue active)
    Apr  3 23:24:19 server postfix/pickup[10500]: 94AFFABD29: uid=10017 from=<u1_admin>
    Apr  3 23:24:19 server postfix/cleanup[11657]: 94AFFABD29: message-id=<[email protected]>
    Apr  3 23:24:19 server postfix/qmgr[15782]: 94AFFABD29: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr  3 23:24:19 server postfix/local[11701]: 6D104ABCAC: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  3 23:24:19 server postfix/qmgr[15782]: 6D104ABCAC: removed
    Apr  3 23:24:19 server postfix/local[11677]: 94AFFABD29: to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  3 23:24:19 server postfix/qmgr[15782]: 94AFFABD29: removed
    
    
     
    Last edited: Apr 4, 2006
  14. falko

    falko Super Moderator Howtoforge Staff

    The mail log is ok.
    What's the output of
    Code:
    ls -la /var/www/web1
    ?
     
  15. Stanev

    Stanev New Member

    Code:
    ls -la /var/www/web1
    total 56
    drwxr-xr-x  10 u1_admin web1 4096 Apr  3 09:44 .
    drwxr-xr-x  12 root     root 4096 Mar 30 11:20 ..
    -rw-------   1    10003 web1  604 Feb 13 18:58 .bash_history
    -rw-------   1 u1_admin web1   24 Apr  2 19:18 .forward
    -rw-rw-r--   1 root     web1   68 Apr  5 04:00 .htpasswd
    -rw-r--r--   1 root     root  440 Apr  3 09:44 .procmailrc
    drwx------   2 u1_admin web1 4096 Apr  1 10:00 .spamassassin
    lrwxrwxrwx   1 root     root   43 Apr  2 19:18 .vacation.cache -> /var/www/web1/user/u1_admin/.vacation.cache
    lrwxrwxrwx   1 root     root   35 Apr  2 19:18 Maildir -> /var/www/web1/user/u1_admin/Maildir
    drwxrwxr-x   2 u1_admin web1 4096 Feb  1 23:29 cgi-bin
    drwxr-xr-x   4 u1_admin web1 4096 Apr  2 00:30 log
    drwxrwxrwx   2 u1_admin web1 4096 Dec 10 18:30 phptmp
    drwxr-xr-x   2 u1_admin web1 4096 Dec 10 18:30 ssl
    drwx------   2    10003 web1 4096 Feb 15 15:43 tmp
    drwxr-xr-x   5 u1_admin web1 4096 Apr  2 09:02 user
    drwxrwxr-x   9 u1_admin web1 4096 Apr  1 10:14 web
    
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Looks ok, too... :confused:
     
  17. Stanev

    Stanev New Member

    Thanks for your help... For now I will turn on admnistrator rights only when I need to change some file, in other cases I leave it off.
     

Share This Page