PDA

View Full Version : Mail not block oversize in mailbox


metaldrummer
12th December 2007, 18:37
Hello:
Please who can guide me. I have a SuseLinux 10.1 with Ispconfig 2.2.12 and the system does not block mail accounts when the mailbox size exceeds the allotted. It continues to receive e-mails and does not send back reports that the mailbox is full.
I enclose a picture to see what the report shows.

http://img221.imageshack.us/img221/9888/sshot5ac5.jpg

Besides I ask:
When blocking a site for lack of payment or whatever and leave the box traffic in 0 as I do for the system displays a screen that the site these suspended or something similar, and whether to send their mail accounts the system returns an email indicating that the account is full or suspended?. The idea that does not display the image below with the error 403 for customers that account know that the site is suspended.

http://img228.imageshack.us/img228/1645/sshot1tl4.jpg

http://img228.imageshack.us/img228/8715/sshot2pi0.jpg

Thanks
David Lagos S.
Coquimbo-Chile

till
13th December 2007, 18:56
Please make sure that you have quota installed and configured for the partition where the emails are stored.

metaldrummer
13th December 2007, 20:31
this is my fstab:

/dev/hda2 / ext3 acl,user_xattr,usrquota,grpquota 1 1
/dev/hda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

And is output from repquota -u -a:
repquota -u -a
*** Report for user quotas on device /dev/hda2
Block grace time: 24:00; Inode grace time: 24:00
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
web14_jaraya -- 13688 0 0 69 0 0
web14_ourbina +- 40744 20480 21504 none 297 0 0
web14_dcortes +- 32584 20480 21504 none 262 0 0
web14_jmolina -- 304 10240 11264 14 0 0
web14_jespinoza +- 18596 15360 16384 none 86 0 0
web14_contacto -- 5148 10240 11264 58 0 0


web14_jaraya is admin user for this site

Regards
David Lagos S.
Coquimbo.Chile

falko
13th December 2007, 21:10
What's in your mail log when you send a mail to an account that is over quota?

metaldrummer
14th December 2007, 00:46
What's in your mail log when you send a mail to an account that is over quota?



Dec 13 18:06:30 ns1 imapd: Failed to create cache file: maildir_lock Dec 13 18:19:13 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 18:20:59 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 18:20:59 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Dec 13 18:21:00 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:21:01 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 18:21:02 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:25:39 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:25:40 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 18:25:58 ns1 postfix/pickup[13117]: CEFE183024D: uid=30 from=<ourbina@agintegral.cl>
Dec 13 18:25:59 ns1 postfix/qmgr[3014]: CEFE183024D: from=<ourbina@agintegral.cl>, size=23205, nrcpt=1 (queue active)
Dec 13 18:25:59 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=2
Dec 13 18:26:00 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:26:01 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=455, body=0, time=1
Dec 13 18:26:04 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:26:05 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 18:26:13 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:26:14 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=693737, time=1
Dec 13 18:26:26 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:26:26 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=670561, time=0
Dec 13 18:26:28 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:26:39 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=670561, time=11
Dec 13 18:27:08 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:27:27 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=671445, time=19
Dec 13 18:30:07 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 18:30:07 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=455, body=0, time=0
Dec 13 19:24:52 ns1 postfix/pickup[15756]: 66B6A83024E: uid=10048 from=<web14_ourbina>
Dec 13 19:24:52 ns1 postfix/qmgr[3014]: 66B6A83024E: from=<web14_ourbina@ns1.wificafe.cl>, size=398, nrcpt=1 (queue active)
Dec 13 19:25:03 ns1 postfix/local[16683]: D2F7C83024D: to=<web14_ourbina@ns1.wificafe.cl>, orig_to=<ourbina@agintegral.cl>, relay=local, delay=13, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 13 19:25:04 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:05 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:05 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Dec 13 19:25:05 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 19:25:06 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:06 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Dec 13 19:25:07 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:08 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=455, body=0, time=1
Dec 13 19:25:16 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:17 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=455, body=0, time=1
Dec 13 19:25:25 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:26 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 19:25:31 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:31 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Dec 13 19:25:34 ns1 imapd: LOGIN, user=web14_ourbina, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 13 19:25:35 ns1 imapd: LOGOUT, user=web14_ourbina, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Dec 13 19:31:10 ns1 postfix/pickup[15756]: 28EDF83024E: uid=10048 from=<web14_ourbina>
Dec 13 19:31:10 ns1 postfix/qmgr[3014]: 28EDF83024E: from=<web14_ourbina@ns1.wificafe.cl>, size=398, nrcpt=1 (queue active)
Dec 13 19:31:25 ns1 postfix/local[16927]: 2781B830239: to=<web14_ourbina@ns1.wificafe.cl>, orig_to=<ourbina@agintegral.cl>, relay=local, delay=17, status=sent (delivered to command: /usr/bin/procmail -f-)


I can see this: Dec 13 18:06:36 ns1 imapd: Failed to create cache file: maildir_lock (web14_ourbina)
but web14_ourbina like receives emails....why?

And this is for mail.errr

Dec 13 18:05:31 ns1 imapd: Failed to create cache file: maildir_lock (web14_ourbina)

Dec 13 18:05:40 ns1 imapd: Failed to create cache file: maildir_lock (web14_ourbina)
Dec 13 18:05:41 ns1 imapd: Failed to create cache file: maildir_lock (web14_ourbina)
Dec 13 18:05:41 ns1 imapd: Failed to create cache file: maildir_lock (web14_ourbina)



You can view this:
http://img81.imageshack.us/img81/4271/sshot3ha2.jpg
like receives emails
Regards
David Lagos S.

falko
14th December 2007, 14:06
IMAPD is just for reading mails on the server, it has nothing to do with the delivery, so that should not be the problem.

In the mail log there seems to be no error regarding Postfix...
What's the output of grep web14_ourbina /etc/postfix/virtusertable and grep web14_ourbina /etc/aliases? What's the output of df -h?

metaldrummer
17th December 2007, 18:09
IMAPD is just for reading mails on the server, it has nothing to do with the delivery, so that should not be the problem.

In the mail log there seems to be no error regarding Postfix...
What's the output of grep web14_ourbina /etc/postfix/virtusertable
and grep web14_ourbina /etc/aliases?
What's the output of df -h?

grep web14_ourbina /etc/postfix/virtusertable
ourbina@www.agintegral.cl web14_ourbina
web14_ourbina@www.agintegral.cl web14_ourbina
ourbina@agintegral.cl web14_ourbina
web14_ourbina@agintegral.cl web14_ourbina


grep web14_ourbina /etc/aliases
nothing show

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G 33G 36G 48% /
udev 237M 132K 237M 1% /dev

Regards
David Lagos S.
Coquimbo-Chile