|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: virtual maps: again
From: Michael Tokarev (mjt
tls.msk.ru)Date: Wed Sep 20 2000 - 11:54:45 CDT
- Next message: Yves VIOT: "RE: PATH Problem = warning message ???"
- Previous message: Bennett Todd: "Re: unknown_client_reject_code = 5xx?"
- Next in thread: Wietse Venema: "Re: virtual maps: again"
- Reply: Wietse Venema: "Re: virtual maps: again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello!
Just found another bunch of funny problems with virtual maps.
Should things be so that them are now?
aliases:
some1: mjt
some2: mjt
$ mail some1 some2 mjt <...
mjt will receive three copies of mail. Ok, this was discussed and
looks like a right thing to do.
virtual (some1 and some2 removed from aliases):
some1 mjt
some2 mjt
$ mail some1 some2 mjt
mjt will get only one copy.
So: why aliases does not remove duplicates while virtual
"global aliases" does?
Also, and this one is rather interesting:
virtual:
dom1.com virtual
dom2.com virtual
dom1.cop
dom2.com
user1
dom2.com someaddr1
user2
dom2.com someaddr2
Mail sent to other
dom2.com will be rejected by smtpd.
But mail sent to other
dom1.com will not, but will be bounced
instead with "unknown user other
dom2.com" error.
So: why _smtpd_'s virtual lookup is not recursive as stated in
man virtual?
This example can be rewtitten equivalently with repeated
user1
and user2
entries for both domains, and all will be
ok. But it should (?) be ok in the first place, isn't it?
Also, and this was a real trouble until I figured it
myself:
I have a unix "user", named "virtual.dom.ain" (yes, with
dots et al) to receive all mails for that domain into one
mailbox (target is a dial-up windoze machine, but domain
really needed; also I know headaches about receiving domain->mbox).
Ok, I wrote in virtual:
virtual.dom.ain virtual
virtual.dom.ain virtual.dom.ain
$mydestination
And any mail sent to some
virtual.dom.ain bounces with
"unknown user virtual" error! :)
I changed virtual table so that it shows:
virtual.dom.ain virtual.dom.ain
virtual.dom.ain virtual.dom.ain
$mydestination
and only so set it up the way I expected. This was a
trick, mostly dody one (that should introduce loop),
but it works.
So, -- does "anything" in "virtual.dom.ain anything"
as unimportant as stated in virtual man page ?! :)
Regards,
Michael.
- Next message: Yves VIOT: "RE: PATH Problem = warning message ???"
- Previous message: Bennett Todd: "Re: unknown_client_reject_code = 5xx?"
- Next in thread: Wietse Venema: "Re: virtual maps: again"
- Reply: Wietse Venema: "Re: virtual maps: again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]