[horde] Horde webmail, FreeBSD, Imap or Smtp server outgoing authentication error virtual hosts

Simon B simon.buongiorno at gmail.com
Sat Feb 24 22:29:54 UTC 2018


On 24 Feb 2018 21:40, "David Mehler" <dave.mehler at gmail.com> wrote:
>
> Hello,
>
> Thanks for your reply. What are you running on your system and how do
> you have it configured? Maybe I could compare your configs to mine.

Hi Dave.

Please keep replies on the mailing list

Implied in my previous reply, everything on my system requires a full,
valid and unique email address as a login.  To avoid any complexity on
horde, I enforce the use of lower-case.

Cheers.

Simon


> On 2/24/18, Simon B <simon.buongiorno at gmail.com> wrote:
> > On 24 Feb 2018 4:55 p.m., "David Mehler" <dave.mehler at gmail.com> wrote:
> >>
> >> Hello,
> >>
> >> I've tried asking this one on the imp mailing list and didn't hear
> >> back. Is that list still active? I'm hoping someone can help me.
> >>
> >>   I've got a new horde webmail install going on a FreeBSD 11.1 jail.
> >>   I've got Dovecot set up so that it appends a domain name if one is
not
> >>   given, so that user and user at example.com can both log in. The Dovecot
> >>  server handles imap authentication as well as smtp authentication from
> >>  postfix. Dovecot in turn gets its authentication via a MySQL database.
> >>
> >>   When I logged in with horde webmail I used for the first attempt
> >>   username with no @example.com suffix. I logged in ok, but couldn't
> >>   send an email, gave me a weird error no address associated with host.
> >>   I logged out, logged back in using user at example.com the full address,
> >>   and this time the message sending went through.
> >>
> >>  I could provide Dovecot, Postfix, and/or Horde Webmail configurations,
> >>  but didn't want to include them all without knowing where this issue
> >>  most likely resided. If it matters the web server is Apache 2.4. I've
> >> been told by the dovecot list that this is most likely a horde issue.
> >>
> >> The url I've gone to is example.com/horde then I changed that in to a
> >> virtual host thinking that might resolve the situation which made it
> >> webmail2.example.com this didn't. That's with the vhost setting off
> >> and on. These sites are all being served over ssl.
> >>
> >> Finally, my goal eventually is to have two separate domains
> >> example.com and example2.com both with it's own separate users, so I'm
> >> hoping this has an easy fix.
> >
> > The easy fix is require your system to require username at domain.tld as a
> > username :)
> >
> > I didn't answer on the imp list because a) it's the weekend and b) I
can't
> > really suggest the fix.
> >
> > But... configuring dovecot to add the domain.tld without doing the same
in
> > horde means two issues.
> >
> > 1. You will create two users in horde
> >
> > 2. Your actual problem is that when you log in without the domain and
> > dovecot knows to add a domain for authentication, horde doesn't know for
> > SMTP..
> >
> > Simon
> >


More information about the horde mailing list