On 2007-12-10 06:09:41 -0800, [EMAIL PROTECTED] wrote: > Has anyone an idea how a plug-in can find out if the mail it currently > handles is a incoming (local delivery) or outgoing (routed to the > world) mail? Right now, I solved this by setting a connection-note in > another plug-in that check if the remote IP is a relay client.
Why set an additional connection-note and not use relay_client() directly? I think that's what it is for. (not really "incoming" vs. "outgoing" but "authorized to send mail to anybody" vs. "not authorized to send mail to anybody") hp -- _ | Peter J. Holzer | It took a genius to create [TeX], |_|_) | Sysadmin WSR | and it takes a genius to maintain it. | | | [EMAIL PROTECTED] | That's not engineering, that's art. __/ | http://www.hjp.at/ | -- David Kastrup in comp.text.tex
signature.asc
Description: Digital signature