Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113509 - qmail-1.03-r16 chkuser-2.0.8b patch
Summary: qmail-1.03-r16 chkuser-2.0.8b patch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 95892
  Show dependency tree
 
Reported: 2005-11-24 13:39 UTC by Jan Lange
Modified: 2007-01-03 02:58 UTC (History)
2 users (show)

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


Attachments
chkuser patch for the qmail-1.03-r16.ebuild (chkuser-2.0.8b-gentoo.tar.bz2,10.31 KB, application/octet-stream)
2005-11-24 13:40 UTC, Jan Lange
Details
qmail-1.03-r16_chkuser-2.0.8b.patch (qmail-1.03-r16_chkuser-2.0.8b.patch,36.50 KB, patch)
2005-11-24 13:50 UTC, Jan Lange
Details | Diff
qmail-1.03-r16_chkuser-2.0.8b_ebuild.patch (qmail-1.03-r16_chkuser-2.0.8b_ebuild.patch,702 bytes, patch)
2005-11-24 13:50 UTC, Jan Lange
Details | Diff
chkuser_settings.h (chkuser_settings.h,11.26 KB, text/plain)
2005-11-24 13:51 UTC, Jan Lange
Details
install.sh (install.sh,555 bytes, text/plain)
2005-11-24 13:52 UTC, Jan Lange
Details
alternative chkuser patch (chkuser-2.0.8b.patch,51.76 KB, patch)
2006-01-03 22:38 UTC, Jeff Thompson
Details | Diff
alternative ebuild patch (qmail-1.03-r16-chkuser-2.0.8b.patch,420 bytes, patch)
2006-01-03 22:39 UTC, Jeff Thompson
Details | Diff
qmail+chkuser-2.0 (qmail-1.03-r16.ebuild,21.93 KB, text/plain)
2006-06-23 07:27 UTC, Elgi
Details
path for qmail-chkuser (qmail-chkuser-gentoo.patch,1.73 KB, patch)
2006-06-23 07:27 UTC, Elgi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lange 2005-11-24 13:39:09 UTC
I have added to this feature-request my chkuser version 2.08b patch. Rediffed
for the actual qmail-1.03-r16.ebuild that is marked as stable.

to install:
1) download the tar file and extract it to a seperate folder
2) edit the chkuser_settings.h for your needs.
(the file is modified by me to activate the mx lookup and the mail adress format
checker. Also I have activated the environment var's CHKUSER_START and
SENDER_NOCHECK)
3) run ./install.sh
4) install qmail with emerge -pv qmail as usual
5) add at your tcp.smtp CHKUSER_START="ALWAYS" after :allow to activate chkuser
for all domains.
6) do an echo "0" > /var/control/mfcheck
because the sender is checked now by chkuser. So a double check isn't usefull.
(or not recommanded)


I would prefer it when any qmail-ebuild developer add my patches to the -r17
release and add a use-flag "vpopmail" or "chkuser" to activate the patch.
Because at first vpopmail must be installed.

I like chkuser since version 2 very much. Better than any of the qmail-spp programs.

Greetings from Germany
Jan Lange

Reproducible: Always
Steps to Reproduce:
Comment 1 Jan Lange 2005-11-24 13:40:22 UTC
Created attachment 73520 [details]
chkuser patch for the qmail-1.03-r16.ebuild

here the patch as tar file
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 13:46:27 UTC
Please, attach a plaintext patch.
Comment 3 Jan Lange 2005-11-24 13:50:06 UTC
Created attachment 73521 [details, diff]
qmail-1.03-r16_chkuser-2.0.8b.patch
Comment 4 Jan Lange 2005-11-24 13:50:57 UTC
Created attachment 73522 [details, diff]
qmail-1.03-r16_chkuser-2.0.8b_ebuild.patch

patch for the qmail-1.03-r16.ebuild
Comment 5 Jan Lange 2005-11-24 13:51:21 UTC
Created attachment 73523 [details]
chkuser_settings.h
Comment 6 Jan Lange 2005-11-24 13:52:22 UTC
Created attachment 73524 [details]
install.sh

a small installer, to make it easier to install the patch for beginner-testers
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 13:55:49 UTC
.
Comment 8 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-11-25 00:48:47 UTC
Thanks for providing the patch. Blocking to the -r17 bug, so we don't forget it.
Comment 9 Jason Carlson 2006-01-03 15:56:46 UTC
I applied this patch and it is giving me problems.  

The first problem I noticed is I have a POP account that simply forwards email sent to it to another POP account (was a full account and will be again but user is on system that does not have access to external pop servers right now).  This CHKUSER patch immediately causes the smtp server to reject these with an error saying this account does not exist.

However, now what has me really stumped is I then noticed a couple of aliases that do not work, but others do which are configured the exact same way.  For example, I set up aliases when I register at a site and these all forward to a POP account.  Some will work and others won't even though they all exist and point to the same POP account.

I've set it to not activate until I get this sorted out.  Any thoughts on how to debug this would be great.  Thanks.
Comment 10 Jeff Thompson 2006-01-03 22:38:00 UTC
Hi, I was going to submit my own patch to qmail for chkuser support but I found this item a few days ago... My patched qmail is working fine for me and I too use aliases, forwards, and just about every other feature that qmail/vpopmail offer... :)

I briefly looked at the original patch submission and I didn't see anything substantially different than my patch. I'll upload the patches I'm using and you can try this alternate version to see if you get the same results, etc.

--
jthomps
Comment 11 Jeff Thompson 2006-01-03 22:38:45 UTC
Created attachment 76133 [details, diff]
alternative chkuser patch
Comment 12 Jeff Thompson 2006-01-03 22:39:51 UTC
Created attachment 76134 [details, diff]
alternative ebuild patch
Comment 13 Elgi 2006-06-23 07:27:04 UTC
Created attachment 89915 [details]
qmail+chkuser-2.0
Comment 14 Elgi 2006-06-23 07:27:57 UTC
Created attachment 89916 [details, diff]
path for qmail-chkuser
Comment 15 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-01-03 02:58:55 UTC
We won't add custom patches to mail-mta/netqmail. Please use QMAIL_PATCH_DIR.