Re: Unsure how to install further apps into Horde Groupware 5.2.22
Michae Z Freeman <[email protected]>
| Newsgroups | gmane.comp.horde.user |
|---|---|
| Message-ID | <[email protected]> |
Quoting Ralf Lang <[email protected]>: > Hallo Michael, Hi. > > > Am 26.09.2018 um 21:49 schrieb Michael Z Freeman: >> Cheers. All installed now. >> >> I'm now examining the "backends" php file but I can't see if it's possible >> to use remote IMAP for incoming and a remote SMTP for outgoing mail. This >> is due to the way my web host is setup (it makes me wonder why they do it >> this way now) ... >> >> Incoming Server: mail.xxxx.org >> >> IMAP Port: 993 POP3 Port: 995 >> >> Outgoing Server: mail.xxxx.org >> >> SMTP Port: 465 >> >> Michael > > Yes, you can use remote IMAP and SMTP servers. Create a > backends.local.php and overwrite the default imap server using > > $servers['imap']['disabled'] = true; > > now create your own server profile in backends.local.php > > $servers['myservice'] = array( > 'disabled' => false, > 'name' => "My Imap Service', > 'hostspec' => 'imap.something.else', > ... > 'smtp' => array( > 'host' => 'smtp.something.else', > ... > ) > ) > > ... means omissions, see the $servers['advanced'] example for a complete > and extensive list of options > You should have good results with a mix of the "advanced" and the "imap" > profile and your remote server names mixed in. Thanks. That's working now. Here's the working setup for anyone who gets the same problems ... <?php // Disable default profile in "backends.php" $servers['imap']['disabled'] = true; $servers['michaelzfreeman-imap'] = array( // Webhostingbuzz IMAP server (incoming). 'disabled' => false, 'name' => 'michaelzfreeman.org IMAP Server', 'hostspec' => 'michaelzfreeman.org', 'maildomain' => 'michaelzfreeman.org', 'hordeauth' => false, 'protocol' => 'imap', 'port' => 993, 'username' => '[email protected]', 'password' => 'xxxx', // Plaintext logins are disabled by default on IMAP servers (see RFC 3501 // [6.2.3]), so TLS is the only guaranteed authentication available by // default. 'secure' => 'ssl', 'smtp' => array( // Webhostingbuzz SMTP server (outgoing). //'debug' => '/var/www/html/smtp_log', 'auth' => true, 'hordeauth' => false, 'protocol' => 'smtp', // Note "host" NOT "hostspec" ! 'host' => 'michaelzfreeman.org', 'maildomain' => 'michaelzfreeman.org', 'username' => '[email protected]', 'password' => 'xxxx', 'port' => 465, 'secure' => 'ssl', ) ); I had the SMTP server settings as "hostspec" when it should be "host". Not very consistent naming. I also discovered, which no one mentioned, that Imp has ability to add extra external email servers in the Mail preferences. There is also a SMTP setup tab "Mailer" in the Horde admin config. Of course you can't add an external email server in the Imp web interface without a working "backends.php" (and/or local file) otherwise the interface does not come up. The "Mailer" tab does not seem to do anything for the mail Imp part of Horde. I assume it's for things like calendar and tasks notifications. So I find the PHP file approach to email setup here very fiddly. It's too easy to make mistakes. The PHP "backend" files may be useful for more advanced email config, but I don't see why the "external email server" part of the Imp interface and then SMTP setup form in the "Mailer" tab can't be reused to present an upfront email server setup form for Imp with incoming and outgoing servers. Otherwise Horde is great ! > > Regards > > Ralf Cheers Michael -- Horde mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]