Mailing List Archive

[Bug 643] Enhance exim -bP to read the value of macros, or similar
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=643




--- Comment #1 from Nigel Metheringham <nigel@exim.org> 2008-01-18 12:34:46 ---
Assuming we implement this should it be:-

1. Extend -bP to expand macros

2. Add a new -b? option which only expands macros


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 643] Enhance exim -bP to read the value of macros, or similar [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=643




--- Comment #2 from Brad "anomie" Jorsch <anomie@users.sourceforge.net> 2008-01-18 13:49:48 ---
On Fri, Jan 18, 2008 at 12:34:46PM +0000, Nigel Metheringham wrote:
> Assuming we implement this should it be:-
>
> 1. Extend -bP to expand macros
>
> 2. Add a new -b? option which only expands macros

Either way, we would need to consider the same issues that lead to the
"hide" qualifier for options. Since macros are not currently output,
suddenly allowing this might expose information that should be hidden.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 643] Enhance exim -bP to read the value of macros, or similar [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=643

Peter Bowyer <peter@bowyer.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter@bowyer.org




--- Comment #3 from Peter Bowyer <peter@bowyer.org> 2008-01-18 14:08:55 ---
(In reply to comment #2)
> On Fri, Jan 18, 2008 at 12:34:46PM +0000, Nigel Metheringham wrote:
> > Assuming we implement this should it be:-
> >
> > 1. Extend -bP to expand macros
> >
> > 2. Add a new -b? option which only expands macros
>
> Either way, we would need to consider the same issues that lead to the
> "hide" qualifier for options. Since macros are not currently output,
> suddenly allowing this might expose information that should be hidden.
>

Hmmm...

MYSQL_USER = username
MYSQL_PASSWORD = bigsecret

hide mysql_servers = localhost/database/MYSQL_USER/MYSQL_PASSWORD

In an existing installation, the 'hide' is effective for non-admin users. To
maintain this, the new -b? option should not operate for non-admin users, I
suggest.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 643] Enhance exim -bP to read the value of macros, or similar [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=643

Phil Pennock <exim-dev@spodhuis.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |exim-dev@spodhuis.org




--- Comment #4 from Phil Pennock <exim-dev@spodhuis.org> 2008-01-18 20:53:19 ---
As the person who made the comments which led to the bug-report being filed:

Since -bP already takes sub-options for transport/transport_list, etc, it makes
sense to have macro/macro_list. But to have these be admin-only, resulting in
a stderr message and failure exit for non-admin users.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##