[exim-dev] [Bug 1141] remote_smtp reuse when should not be

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1141] remote_smtp reuse when should not be
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Phil Pennock <pdp@???> 2011-10-04 10:59:22 ---
For clarity: the interface field in the address_item would be the expanded
string, whereas that in the transport definition is not expanded.

Part of my concern is about ensuring that all expansion variables potentially
needed for evaluating the interface are defined at the point where we take a
copy for capture. Fortunately, "interface" _has_ to be expanded before we make
a connection, so at least it can't rely upon transient properties of one given
remote connection. If someone makes it depend upon $tod_log, then they have
brought problems upon themselves.

One issue is if someone configures the interface and the value is no longer
valid at delivery time. Thus I think that rather than use the expanded copy in
the address_item, we would just let it be re-expanded exactly where it is now,
each time it's used.

I don't think we should touch the wait-* DB storage keys.


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