Hi, I've got a few questions:
1. where can I find out what all the variables like uri, myself, etc., mean? 2. how come is_domain_local($ruri) has a different result than uri==myself? In particular, I have my external IP address defined as an alias. I.e.: alias=4.2.2.2 When I say if( ! is_domain_local($ruri) ) when $ruri = user@4.2.2.2, the check succeeds. When I say if( ! uri==myself ), the check fails (correctly, I think).
Thanks, Mark Price
Mark Price writes:
- where can I find out what all the variables like uri, myself,
- etc., mean?
for uri and myself, see http://www.openser.org/dokuwiki/doku.php/core-cookbook:devel
- how come is_domain_local($ruri) has a different result than
- uri==myself?
is_domain_local checks if host part of ruri is one of the domains defined in openser/domain table.
-- juha