----- Original Message ----- 
From: "Peter Samuel" <[EMAIL PROTECTED]>
To: "Nick Warr" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 7:13 PM
Subject: Re: [e-smith-devinfo] The Qmail 1.03 src.rpm


> Quoting Nick Warr <[EMAIL PROTECTED]>:
>
> > > Gordon Rowell writes
> > > Commenting out the entire %prep section should be fine. But, I'd
> > > still recommend using the updated smtpfront-qmail instead.
> >
> > If smtpfront doesn't cut it, I may end up doing this.. thanks for the
> > information.
>
> Modifying smtpfront-qmail will almost certainly be easier than modifying
the
> qmail source code.
>
> However, if you are planning on building a patched qmail binary be aware
of
> these points:
>
> - the UID and GID values used at build time MUST match the UID and
>   GID values of the target system. These values are calculated at
>   build time based on the existing values already in /etc/passwd
>   and /etc/group. If you want to build qmail without creating the
>   qmail users and groups, you'll need to hand craft auto_uids.c and
>   possibly modify the Makefile. (Simply having the same names in
>   /etc/passwd and /etc/group on the target system is not enough -
>   the numerical values MUST also match).
>
> - you cannot distribute your modified binaries (assuming you modify
>   them to do the message recording you desire) to anyone outside your
>   own organisation/family etc. Doing so is a violation of Dan
>   Bernstein's distribution conditions. You are free to distribute your
>   patches in source code form.

Actually I'm not patching it.

It's a simple modification, listed in the FAQs on Djb's site:

Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h then
recompile qmail......

As far as I know, that doesn't qualify as patching.


Is there any particular reason why the GIDs and UIDs have to be there? As I
stated in an earlier mail I compiled a later version (patched,
qmail1.03+patches19.src.rpm from another site) which made no such
requirements of me. Which is why I was so confused when the e-smith versions
started throwing errors like this at me.

>
> -- 
> Regards
> Peter
> ---------- 
> Peter Samuel                                [EMAIL PROTECTED]
> +1 613 729 7964



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to