Summary: | [relay-ctrl new feature] made relay-ctrl-check read additional env settings from a file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Perolo Silantico <per.sil> |
Component: | [OLD] Server | Assignee: | Qmail Team (OBSOLETE) <qmail-bugs+disabled> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | per.sil |
Priority: | Normal | Keywords: | Inclusion |
Version: | 2004.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | relay-ctrl-3.1.1-r2.package.diff |
Description
Perolo Silantico
2004-11-17 14:49:09 UTC
Created attachment 44189 [details, diff]
relay-ctrl-3.1.1-r2.package.diff
a patch to relay-ctrl-3.1.1-r2.ebuild that includes a new enhancement to
relay-ctrl-check. Necessary additional files are created and digests modified.
Apply the patch within the ebuild package dir.
Moving this to qmail-bugs proper, I'll deal with it a bit later. I see you already have a patch, but maybe this could be useful. relay-ctrl-check already does what you want: it will read the contents of the 'ip file' in /var/spool/relay-ctrl/allow/W.X.Y.Z and parse it looking for environment variables (NULL-terminated list, eg: "A=one\0B=two\0" and so on). relay-ctrl-allow use this feature to add USER and DOMAIN variables, per-ip. since luckyluke points out that relay-ctrl already does what you want, I'm closing this bug. |