Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43931 - qmail gives User_over_quota._(#5.1.1)/ error if .maildir is not correctly set up in user home directory
Summary: qmail gives User_over_quota._(#5.1.1)/ error if .maildir is not correctly set...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on: 56124
Blocks:
  Show dependency tree
 
Reported: 2004-03-06 18:37 UTC by Chris Lambacher
Modified: 2005-01-11 11:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lambacher 2004-03-06 18:37:34 UTC
users created before qmail is installed do not have the .maildir directory correctly set up in thier home directory.  The url above has a discussion of the problem.  I was unable to find a bug that was filed in bugzilla.  Copying in the .maildir directory structure from /etc/skel

This seems to be a Gentoo problem because I did not find a reference to it outside  of Gentoo when I googled the error message.  

I have only ever had version 1.03-r15 installed.

Reproducible: Always
Steps to Reproduce:
1. get rid of the .maildir directory in a user's home directory
2. send the user an email
3. check the qmail-send log for the error

Actual Results:  
You get an error in /var/log/qmail/qmail-send/current that looks like:
@4000000040041ab51018819c new msg 1403936
@4000000040041ab510189cf4 info msg 1403936: bytes 184 from
<richard@x-router.com> qp 26948 uid 201
@4000000040041ab511c946ac starting delivery 35: msg 1403936 to local
richard@businesswebsite.com
@4000000040041ab511c969d4 status: local 1/10 remote 0/20
@4000000040041ab51219cbf4 delivery 35: failure: User_over_quota._(#5.1.1)/ 

and the mail does not get recieved

Expected Results:  
Created the .maildir directory structure and sent the mail

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-ck2)
=================================================================
System uname: 2.6.3-ck2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://adelie.polymtl.ca/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb cdr crypt cups curl dga dvd
encode foomaticdb gdbm gif gphoto2 gpm gtk gtk2 guile imap imlib java jpeg kde
ldap libg++ libwww lirc mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis
opengl oss pam pda pdflib perl pic png pnp ppds python qt quicktime readline
samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex truetype usb x86
xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-07 15:26:48 UTC
you created the .maildir directory manually didn't you ....
use maildirmake instead !
Comment 2 Chris Lambacher 2004-03-07 17:20:23 UTC
No I did not know about the maildirmake command.  The error message User_over_quota._(#5.1.1) still seems to be an erroneous error message for the actual cause of the error and a more logical approach, rather than discarding the message would be to create the .maildir directory.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-07 19:15:06 UTC
i don't have time to personally code solutions like that, but patches gladly accepted.
Comment 4 Jaco Kroon 2005-01-11 04:02:42 UTC
If you're not using maildir++ (or more specifically, quotas) I would recommend taking that patch out, it is the only one mentioning quota's and I am highly suspect of it.  I'm doing some rtfs'ing at the moment but I'm pretty sure this patch is the one causing the problems, I've heard of a ISP having this problem, and I'm pretty sure they are not using vpopmail, and according to their helpdesk they get this when a user does not have a quota.

Anyway, the current suspicion is that if you do not have a quota set the patch somehow misbehaves.