Hi Michael,
well, the first cause i checked before i wrote to the list.
But the second hint was the solution... OMG i didn't know that C-NAMES
are THAT EVIL!
Thanx again Michael!
Greetz
Roman
On Thu, 2007-04-05 at 11:17 +0100, Michael Stauber wrote:
> Hi Roman,
>
> > i just set up another new BQ-server, set up a new site, set up a new
> > user ("roman") , gave him an alias ("rob").
> >
> > Sending mails to the user roman works, but sending mails to user rob
> > results in "user unknown".
>
> There are two possible causes:
>
> 1.) Sendmail config:
> ================
>
> The map files of Sendmail either weren't updated properly (by makemap) or
> Sendmail wasn't restarted so that the change couldn't take effect. Usually
> the GUI will do this automatically for you, but there are known cases where
> this may fail.
>
> Fix: Run these two commands from SSH as root and see if you get errors:
>
> makemap hash /etc/mail/aliases.db < /etc/mail/aliases
> makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
>
> If you get errors, then the error message will tell you in which line of which
> config file the problem is. So it's usually easy to fix.
>
> Once you get no more errors, restart Sendmail:
>
> /etc/init.d/sendmail stop
> killall -9 sendmail
> /etc/init.d/sendmail start
>
> Then try again to email to "rob" and see if it gets through.
>
> 2.) DNS issue:
> ============
>
> If you are using C-Names in your DNS for the domain in question, then the
> Sendmail on BlueQuartz will not accept emails for aliases, as it's unable to
> resolve the domain part of the recipients email address and can't therefore
> map the alias to the real user. Do NOT use C-Names! C-Names are evil.
>