Mailing List Archive

[Bug 386] exim -v -bv misleading output
http://www.exim.org/bugzilla/show_bug.cgi?id=386


ph10@hermes.cam.ac.uk changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER




------- Additional Comments From ph10@hermes.cam.ac.uk 2006-09-12 10:40 -------
(In reply to comment #0)
> When alias is verified and one of child recipients is missing but anonther
> exist, then with -v message is: alias verified. But with -v -bv message is:
> alias not verified instead od wrong-user is not verified.

This is as documented, but perhaps the documentation should be clearer. The
documentation for the -bv option contains this paragraph:

If the -v option is not set, the output consists of a single line for each
address, stating whether it was verified or not, and giving a reason in the
latter case. Otherwise, more details are given of how the address has been
handled, and in the case of address redirection, all the generated
addresses are also considered. Without -v, generating more than one address
by redirection causes verification to end successfully.

I will try to make this clearer when I next revise the manual.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

--
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
Re: [Bug 386] exim -v -bv misleading output [ In reply to ]
On Tue, 12 Sep 2006, bugzilla-daemon@sesame.csx.cam.ac.uk wrote:

>This is as documented, but perhaps the documentation should be clearer. The
>documentation for the -bv option contains this paragraph:
>
> If the -v option is not set, the output consists of a single line for each
> address, stating whether it was verified or not, and giving a reason in the
> latter case. Otherwise, more details are given of how the address has been
> handled, and in the case of address redirection, all the generated
> addresses are also considered. Without -v, generating more than one address
> by redirection causes verification to end successfully.
>
>I will try to make this clearer when I next revise the manual.

I understand this. Maybe a try to explain by example where is my point:

[root@beast ~]# grep test-bv /etc/aliases
test-bv: darek,alamakota
[root@beast ~]# exim -bv alamakota
alamakota@my.domain failed to verify:
Unknown user
[root@beast ~]# exim -bv darek
darek@my.domain verified
[root@beast ~]# exim -bv test-bv
test-bv@my.domain verified
[root@beast ~]# exim -v -bv test-bv
test-bv@my.domain failed to verify:
Unknown user
darek@my.domain
<-- test-bv@my.domain
router = localuser_maildir, transport = ld_maildir

I think in the case of exim -v -bv test-bv last one should be like this:

[root@beast ~]# exim -v -bv test-bv
test-bv@my.domain failed to verify:
alamakota@my.domain
Unknown user
darek@my.domain
<-- test-bv@my.domain
router = localuser_maildir, transport = ld_maildir

I think information what exactly address failed is very important and
should not be missing with -v.

--
Dariusz Sznajder

--
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
Re: [Bug 386] exim -v -bv misleading output [ In reply to ]
On Tue, 12 Sep 2006, Dariusz Sznajder wrote:

> [root@beast ~]# exim -v -bv test-bv
> test-bv@my.domain failed to verify:
> Unknown user
> darek@my.domain
> <-- test-bv@my.domain
> router = localuser_maildir, transport = ld_maildir
>
> I think in the case of exim -v -bv test-bv last one should be like this:
>
> [root@beast ~]# exim -v -bv test-bv
> test-bv@my.domain failed to verify:
> alamakota@my.domain
> Unknown user
> darek@my.domain
> <-- test-bv@my.domain
> router = localuser_maildir, transport = ld_maildir

Aha! I now see what you are complaining about. OK, I'll take a look at
that and see if I can reproduce (and then fix) the effect.

--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book

--
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
Re: [Bug 386] exim -v -bv misleading output [ In reply to ]
On Tue, 2006-09-12 at 11:51 +0200, Dariusz Sznajder wrote:
> I think in the case of exim -v -bv test-bv last one should be like this:
>
> [root@beast ~]# exim -v -bv test-bv
> test-bv@my.domain failed to verify:
> alamakota@my.domain
> Unknown user
> darek@my.domain
> <-- test-bv@my.domain
> router = localuser_maildir, transport = ld_maildir

test-bv _did_ verify successfully in this case, since there was at least
one valid recipient. this is quite important to report correctly, since
it mimics the truth value of "verify = recipient" in an ACL.

in other words, I agree with your original complaint in Subject :-)
--
Kjetil T.



--
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
Re: [Bug 386] exim -v -bv misleading output [ In reply to ]
On Tue, 12 Sep 2006, Kjetil Torgrim Homme wrote:

> > I think in the case of exim -v -bv test-bv last one should be like this:
> >
> > [root@beast ~]# exim -v -bv test-bv
> > test-bv@my.domain failed to verify:
> > alamakota@my.domain
> > Unknown user
> > darek@my.domain
> > <-- test-bv@my.domain
> > router = localuser_maildir, transport = ld_maildir
>
> test-bv _did_ verify successfully in this case, since there was at least
> one valid recipient. this is quite important to report correctly, since
> it mimics the truth value of "verify = recipient" in an ACL.

I can argue against that because "verify = recipient" in an ACL is
equivalent to "exim -bv" NOT "exim -v -bv". When only -bv is used, it
*does* succeed. However, I agree that in the example above, it should
show the actual unknown user and the detail of the redirection.

--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book

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