Re: Horde webmail, FreeBSD, Imap or Smtp server outgoing authentication error

Michael J Rubinsky <[email protected]> Mon, 26 Feb 2018 14:55:14 +0000
Newsgroups gmane.comp.horde.imp
Message-ID <20180226145514.Horde.GLmH6Nvd43MSN861SEJd0tR@tarn.theupstairsroom.com>
Quoting David Mehler <[email protected]>:

> Hello,
>
>  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 [email protected] 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 [email protected] the full address,
>  and this time the message sending went through.

Just because you told Dovecot (your IMAP server) to append the domain,  
doesn't mean that Postfix will know about it. You need to do one of  
the following: (A) configure Horde to automatically append the domain,  
(B) Configure a proper From address in the user's identity, or  
possibly (C) configure Postfix to append a domain.

As an aside, allowing both user and [email protected] to login can lead  
to unexpected problems related to things like the preference system is  
you are not careful and use an appropriate username hook.


>
> 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.
>
> Thanks.
> Dave.
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 9.1 KB) - not displayed
signature.asc (application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4

iQIcBAABAgAGBQJalB/SAAoJEJGSgkbRsxbbBJUP/jd4d0cioxEABUI4Yzn5eJec
useBCeS1lkb4PU5fBeKGGB9DPG53dZlwsMoAhlOAzwekP3rCNxiZElfDJrysaFHw
X7xo3kblsFJcPsMIt+FUEGTtmu2l4pgVpPJAF+X7ssuY6V2/ABRPUv+K5QL7YXbr
ekGoXW93IcjkrIXc54Oifyiq+Cxm09d9UTU7/bZO0cN6vvEjeYDBTck1iNMDd8IK
QymnuSvaxpdNr9ocjrAzAFyaAi9ahiAJZjAuclJxk+mzEg+5yTqp7nPErN8Ca9s4
K7iUNf7g3wXQOhLszBBHy8GGGAox/b5f6RzPTRRxzg8QIBjZC+i/2I8hfBk9KA7G
JzzfmA1HSngGdXtOGIsbkv3eFCdAmv096pis7M2k1a6HDuP9UTets3h6t9zH8Fus
S/V2XgkmB+2NBCl/4RncVtmiac6kh914pAJbh5B+Q/Ns65XLiXlBrNjMvrvQeRb2
SFCU4GGqfz4N2OoOVU8+4LTUSnVZ+KHQucr2RS/Y7lDQU0RxqLaejHFTnbWFfy/B
uAXW3A6VVr/MebHacmLRcqLnGdfZOuMnio99rG3szILHP1qm6Xmmg4MsXQ20opO9
qOdTKyzPGJGO3F6bkOu26OkmkQO0VIICDYAaG3ci5HbDaIdMm/4E2UmQ+7TrWQ3/
Y54n8izkVMIiGOERujld
=CBa8
-----END PGP SIGNATURE-----