Chris Siebenmann <[email protected]> (Fr 07 Apr 2017 17:16:34 CEST): > > how does verify = sender work. I can't find anything that says what > > it does exactly in the docs. I'm seeing a valid sender get rejected > > several times before being finally accepted. > > As Jeremy Harris covered, 'verify = sender' attempts to route the > sender address and uses the result. One consequence of this is that > you can manually test whether a sender address will route and why > it's failing with 'exim -bt <address>', possibly adding debug flags > as necessary to extract things like DNS failure information.
I believe, it's not 100% correct. The *verifcation* can be simulated by
using `exim -bv <address>` for recipient addresses, and `exim -bvs
<address>` for sender addresses.
The distinction is important, since there might be routers that are not
responsible for one or the other kind of address.
`exim -bt <address>` does a routing test, not a verification test,
though in most cases the tests are almost identical (modulo permission
issues, if I remember well. -bt runs with root permissions, as -bv
doesn't, or the other way round. There was some kind of logic, but just
now I do not recall…)
Yes, I think, -bt uses root permissions, as the real routing runs with
root permissions too, because it might need access to ~/.forward files
and such. The root/non-root isn't important, as long as no external
files are involved.
But as always, I may be wrong.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
signature.asc
Description: PGP signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
