Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141790 - Different location of .qmail files with qmailadmin-1.2.1-r1 and vpopmail-5.4.16
Summary: Different location of .qmail files with qmailadmin-1.2.1-r1 and vpopmail-5.4.16
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
Depends on:
Reported: 2006-07-26 05:22 UTC by Erik Wasser
Modified: 2007-07-31 11:34 UTC (History)
0 users

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

Solution(?) for this problem? (qmailadmin-1.2.1-dot-qmail.patch,2.42 KB, patch)
2006-07-26 06:40 UTC, Erik Wasser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Wasser 2006-07-26 05:22:42 UTC
qmailadmin and vpopmail are looking/writing the .qmail at a different locations:

qmailadmin looks/writes here:

But vpopmail looks only here:
~vpopmail/domains/ for .qmail-user files.

So the combination qmailadmin and vpopmail simply doesn't work.
Comment 1 Erik Wasser 2006-07-26 06:40:31 UTC
Created attachment 92781 [details, diff]
Solution(?) for this problem?

I've created a patch for qmailadmin-1.2.1-r1 (inspired by

I've replaced 

> snprintf(NTmpBuf, sizeof(NTmpBuf), "%s/.qmail", vpw->pw_dir);


> snprintf(NTmpBuf, sizeof(NTmpBuf), "%s/../.qmail-%s", vpw->pw_dir, ActionUser);

The patch is working for me.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2007-07-29 23:15:39 UTC
vpopmail-5.4.19 (which has just been added to portage) only looks in ~vpopmail/domains/{,-ext}, but qmail already checks ~vpopmail/domains/{,-ext} before vdelivermail is called, so i do not really see where the problem is ...
Comment 3 Erik Wasser 2007-07-31 11:34:35 UTC
This is an old-timer bug. AFAIRC you define some alias with qmailadmin and qmail was ignoring it. After the patch everything was fine.

The next time we update the server I'll look at it.

In the meantime I close this thing.

Thanks for looking at it.