On 01/18/01(13:49) I wrote in <_A966@delegate-en.ML_>
|>For example if you use the option
|>and then when you telnet DeleGate's pop port and send
|>then DeleGate will send
|>to the pop server.
|>I am using SunOS 5.8 and DeleGate 6.1.22.
|This will be done in these versions with parameters like this:
| SERVER=pop MOUNT="[^@]* pop://YourPopServer/*[%0@titi..]"
|Yes, I must correct or write something about this in "Manual.htm"...
I noticed that above "[^@]" is not necessary, that is just like
SERVER=pop MOUNT="* pop://YourPopServer/*[%0@titi..]"
will work too.
|>Though if you send
|>to DeleGate, then Delegate will not modify the user, because my patch modify the user only if there is no '@' in it.
|The pattern "[^@]*" means the MOUNT will be applied only if a
|candidate string, POP user name in this case, does not contain
The reason why a user name with "@host" is not rewriten by MOUNT="* ..."
is that such user name is rewriten to a canonical form like "//host/user"
before applied MOUNT, and MOUNT="//* = default" (which means don't rewrite
user if server host name is specified by a client) is defined by default
for a DeleGate with SERVER=pop.
>Example: POP MOUNT
> "pop://user@server" is represented as "pop://server/user" internally
> thus it can be controlled by MOUNT as follows:
> MOUNT="//* =" ... don't rewrite if a server is specified by the user
> MOUNT="* pop://defaultHost/*" ... specify default POP server
> MOUNT="user1 pop://host1/*" ... let the "host1" be the server of "user1"
> MOUNT="//pop2/* pop://host2/*" ... hide real hostname "host2"
Yutaka Sato <firstname.lastname@example.org> http://www.delegate.org/~ysato/ @ @
Computer Science Division, Electrotechnical Laboratory ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan _< >_