View Full Version : Administrator receive empty mail ???
Stanev
2nd April 2006, 09:22
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.
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=<860060872.2014581143958996037.JavaMail.nobody@app7 .ni.bg>
Apr 2 09:23:15 server postfix/qmgr[7134]: BBE66ABD21: from=<stanev@abv.bg>, 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=<20060402062316.1C430ABD23@mail.staks.org>
Apr 2 09:23:16 server postfix/qmgr[7134]: 1C430ABD23: from=<u1_admin@mail.staks.org>, 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=<20060402062316.4A13EABD23@mail.staks.org>
Apr 2 09:23:16 server postfix/qmgr[7134]: 4A13EABD23: from=<u1_admin@mail.staks.org>, size=349, nrcpt=1 (queue active)
Apr 2 09:23:16 server postfix/local[8760]: BBE66ABD21: to=<u1_admin@mail.staks.org>, orig_to=<admin@staks.org>, 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
till
2nd April 2006, 18:05
Do you have "Mailscan" activated for the admin user?
Are the emails really empty or do they contain a number?
Stanev
2nd April 2006, 19:17
No "MailScan" is not activated for any user.
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
falko
2nd April 2006, 23:22
Can you post the output of ls -la /path/to/u1_admin?
Stanev
3rd April 2006, 00:05
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
falko
3rd April 2006, 00:17
What's in /var/www/web1/.procmailrc?
Stanev
3rd April 2006, 00:30
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
till
3rd April 2006, 08:41
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
Stanev
3rd April 2006, 09:41
Yes I use Maildir. I changed line but this not help. :(
falko
3rd April 2006, 12:51
What happens if you disable the virus scanner?
Stanev
3rd April 2006, 13:04
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. ???
falko
3rd April 2006, 21:32
Is there anything special in the mail log when you send an HTML email to web1_admin?
Stanev
3rd April 2006, 23:36
No there is nothing special in mail log I think :( I don't understant very good mail system.
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
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=<office@staks.net>, 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=<20060403202342.D4598ABD29@mail.staks.org>
Apr 3 23:23:43 server postfix/local[11677]: 764C7ABCAC: to=<u1_admin@mail.staks.org>, orig_to=<admin@staks.org>, 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=<20060403202342.F2085ABD28@mail.staks.org>
Apr 3 23:23:43 server postfix/qmgr[15782]: D4598ABD29: from=<u1_admin@mail.staks.org>, 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=<u1_admin@mail.staks.org>, 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=<office@staks.net>, 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=<20060403202419.94AFFABD29@mail.staks.org>
Apr 3 23:24:19 server postfix/qmgr[15782]: 94AFFABD29: from=<u1_admin@mail.staks.org>, size=352, nrcpt=1 (queue active)
Apr 3 23:24:19 server postfix/local[11701]: 6D104ABCAC: to=<u1_admin@mail.staks.org>, orig_to=<admin@staks.org>, 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
falko
4th April 2006, 19:32
The mail log is ok.
What's the output of ls -la /var/www/web1?
Stanev
5th April 2006, 09:47
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
falko
7th April 2006, 13:36
Looks ok, too... :confused:
Stanev
7th April 2006, 21:56
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.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.