Bugs item #2557658, was opened at 2009-02-02 18:35
Message generated for change (Comment added) made by ilyaruprecht
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2557658&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: v 2.2
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ilya Ruprecht (ilyaruprecht)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't create mail-aliases that point to other users domains
Initial Comment:
Hi all!
Following situation:
Admin1 owns the domain domain1.com (in the postfixadmin, i mean).
Admin1 creates a mailbox
"som...@do..."
Admin2 wants to add an mail-alias for a
"som...@do..."
in his interface.
So Admin2 is trying to add an alias via "create-alias.php".
Alias: bl...@do...
To/Recipient: som...@do...
so he could mail to bl...@do... and the mail
should go to
som...@do...
But this fails because of some logic inside of the script with an error.
(and as i understand because the "domain1.com"
belongs to Admin1. Pretty sure...)
This error is reproduceable anytime.
Greetings
Ilya
----------------------------------------------------------------------
>Comment By: Ilya Ruprecht (ilyaruprecht)
Date: 2009-02-04 11:55
Message:
Indeed, that was a DNS-resolution problem for this domain
on the server.
As soon as i fixed it, the interface worked flawlessly.
I even do not touched the config-file.
Thanks for the hint!
Case closed.
----------------------------------------------------------------------
Comment By: Christian Boltz (christian_boltz)
Date: 2009-02-03 21:38
Message:
> "The TO is not valid!"
This sounds like the infamous problem with DNS resolution - most probably
the DNS resolution of the domain in TO fails.
Set $CONF['emailcheck_resolve_domain']='NO'; in config.inc.php (or
confic.local.php) and try again - I'm quite sure it will work then. (And
fix the DNS problem of the target domain nevertheless - otherwise it will
hit you sooner or later.)
BTW: The newest version has a separate error message for this problem.
----------------------------------------------------------------------
Comment By: Ilya Ruprecht (ilyaruprecht)
Date: 2009-02-03 08:57
Message:
Hi Christian,
thanks for the quick answer.
The exact error message is see is "The TO is not valid!"
The version used is the 2.2.1.1; sorry, i can't quick upgrade to 2.3
beta/svn trunk.
I think you misunderstood my the question/*ich* habe mich zu undeutlich
ausgedrückt:
both domains in my example ^^ are using the same ^ host as an mx-server.
So both domains - domain1.com and domain2.com - aren't "external".
Once again:
The domain1.com is owned and administered by "admin1"-user.
The domain2.com ist owned and administered by "admin2"-user.
Both admins are "simple" admins, not superadmins.
i.e. admin2 can create an alias bl...@do... (his own domain) and
forward all mails that are "caught" by this mail-address to some external
domain -
like gmx.net, zum Beispiel. Sure, that's possible, you are totally right.
But, if admin2 will try to create an alias "bl...@do..." ->
"som...@do..." -
this action will fail.
Why this happens i do not know exaktly (yet), but i think it's because of
the "logic" inside
the scripts, so the act like:
"ow, admin2 is not permitted to create aliases for domain1.com;
quitting/forbidding action".
Thats the point.
Thanks!
----------------------------------------------------------------------
Comment By: Christian Boltz (christian_boltz)
Date: 2009-02-02 23:20
Message:
I have no idea what is going wrong on your system - usually this should be
possible. It should also be possible to create aliases that forward mails
to external adresses (like @gmx.net).
Two questions to narrow down the problem:
- What is the exact error message you see?
- Can you reproduce the error with the latest version of postfixadmin (2.3
beta or SVN trunk)?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2557658&group_id=191583
|