[imp] multiple imap servers
greetings list, been running version 3 for a long while and i must be missing something obvious as i was reading http://wiki.horde.org/ImapSelect and have the following in my setup : horde/imp/config/conf.php $curServer) { if (!empty($curServer['realm']) && $server == $curServer['realm']) { // We found an entry, now set IMAP server values. foreach (array('server', 'folders', 'namespace', 'protocol', 'port', 'smtphost', 'smtpport', 'maildomain') as $key) { if (isset($servers[$serverkey][$key])) { $_SESSION['imp'][$key] = $servers[$serverkey][$key]; } } // Now use only the stripped version of the userID to logon to the server $_SESSION['imp']['user'] = $userID; // Setup the correct base_protocol $_SESSION['imp']['base_protocol'] = $_SESSION['imp']['protocol']; if (($pos = strpos($_SESSION['imp']['protocol'], '/'))) { $_SESSION['imp']['base_protocol'] = substr($_SESSION['imp']['protocol'], 0, $pos); } } } } } return true; } } ... horde/imp/config/servers.php $servers['svr1'] = array( 'name' => 'SVR1', 'server' => 'SVR1.ece.ufl.edu', 'hordeauth' => true, 'protocol' => 'imap/ssl/novalidate-cert', 'port' => 993, 'maildomain' => 'one.ece.ufl.edu', 'smtphost' => 'smtp1.ece.ufl.edu', 'smtpport' => 25, 'realm' => '', 'preferred' => 'true', ); $servers['svr2'] = array( 'name' => 'SVR2', 'server' => 'SVR2.ece.ufl.edu', 'hordeauth' => true, 'protocol' => 'imap/ssl/novalidate-cert', 'port' => 993, 'maildomain' => 'two.ece.ufl.edu', 'smtphost' => 'smtp2.ece.ufl.edu', 'smtpport' => 25, 'realm' => 'two.ece.ufl.edu', 'preferred' => '', ); i can login a user on svr1 but only if i do not include the domain part (@svr1.ece.ufl.edu) and when i try to include the domain part for svr2 there is no logon attempt on the svr2 server from webmail, so its not even trying...let me know what else to post to assist, thanks in advance...id like to put in a few different domains that are selected automatically depending on @domain.tld in the username. -- Jason Kawaja, 2-4568 UF Dept of ECE -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
[imp] Message Viewing
Hi, I cant't see the option "For messages with alternative representations of the text part, which part should we display?" in message viewing options for imp. It is already showing advanced preferences. The section for this option in prefs.php is the default: $_prefs['alternative_display'] = array( 'value' => 'html', 'advanced' => true, 'type' => 'enum', 'enum' => array( 'html' => _("HTML part"), 'text' => _("Plaintext part") ), 'desc' => _("For messages with alternative representations of the text part, which part should we display?") ); Thanks -- Rodrigo Abrantes Antunes Técnico em Tecnologia da Informação Coordenadoria de Manutenção e Redes Instituto Federal Sul-rio-grandense - Campus Pelotas -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
[imp] Disable thumbnails
Hello: Is it possible to turn off thumbnails preview in IMP (horde 4.0.15, imp 5.0.22)? I´m running a low RAM memory system (590MB) and everytime a person clicks on a email with a lot pdf attachments, my system kills mysql service and everything else crashes... Thanks a lot. Luis Felipe -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] Disable thumbnails
Quoting Luis Felipe Marzagao : Is it possible to turn off thumbnails preview in IMP (horde 4.0.15, imp 5.0.22)? You will need to manually edit imp/lib/Mime/Viewer/Images.php. Or else disable image support in Horde's config (although this will disable all image features in all Horde apps). michael ___ Michael Slusarz [slus...@horde.org] -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] Disable thumbnails
Quoting Michael M Slusarz : Quoting Luis Felipe Marzagao : Is it possible to turn off thumbnails preview in IMP (horde 4.0.15, imp 5.0.22)? You will need to manually edit imp/lib/Mime/Viewer/Images.php. Or else disable image support in Horde's config (although this will disable all image features in all Horde apps). You will also need to look at imp/lib/Mime/Viewer/Pdf.php for PDF files. michael ___ Michael Slusarz [slus...@horde.org] -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] multiple imap servers
Zitat von jason kawaja : greetings list, been running version 3 for a long while and i must be missing something obvious as i was reading http://wiki.horde.org/ImapSelect and have the following in my setup : horde/imp/config/conf.php $curServer) { if (!empty($curServer['realm']) && $server == $curServer['realm']) { // We found an entry, now set IMAP server values. foreach (array('server', 'folders', 'namespace', 'protocol', 'port', 'smtphost', 'smtpport', 'maildomain') as $key) { if (isset($servers[$serverkey][$key])) { $_SESSION['imp'][$key] = $servers[$serverkey][$key]; } } // Now use only the stripped version of the userID to logon to the server $_SESSION['imp']['user'] = $userID; // Setup the correct base_protocol $_SESSION['imp']['base_protocol'] = $_SESSION['imp']['protocol']; if (($pos = strpos($_SESSION['imp']['protocol'], '/'))) { $_SESSION['imp']['base_protocol'] = substr($_SESSION['imp']['protocol'], 0, $pos); } } } } } return true; } } ... horde/imp/config/servers.php $servers['svr1'] = array( 'name' => 'SVR1', 'server' => 'SVR1.ece.ufl.edu', 'hordeauth' => true, 'protocol' => 'imap/ssl/novalidate-cert', 'port' => 993, 'maildomain' => 'one.ece.ufl.edu', 'smtphost' => 'smtp1.ece.ufl.edu', 'smtpport' => 25, 'realm' => '', 'preferred' => 'true', ); $servers['svr2'] = array( 'name' => 'SVR2', 'server' => 'SVR2.ece.ufl.edu', 'hordeauth' => true, 'protocol' => 'imap/ssl/novalidate-cert', 'port' => 993, 'maildomain' => 'two.ece.ufl.edu', 'smtphost' => 'smtp2.ece.ufl.edu', 'smtpport' => 25, 'realm' => 'two.ece.ufl.edu', 'preferred' => '', ); i can login a user on svr1 but only if i do not include the domain part (@svr1.ece.ufl.edu) and when i try to include the domain part for svr2 there is no logon attempt on the svr2 server from webmail, so its not even trying...let me know what else to post to assist, thanks in advance...id like to put in a few different domains that are selected automatically depending on @domain.tld in the username. And what exactly is the problem? Is the code not reached where $_SESSION is overwritten, or does it not write the correct values? -- Jan Schneider The Horde Project http://www.horde.org/ -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] multiple imap servers
Quoting Jan Schneider : Zitat von jason kawaja : greetings list, been running version 3 for a long while and i must be missing something obvious as i was reading http://wiki.horde.org/ImapSelect and have the following in my setup : horde/imp/config/conf.php [snip] And what exactly is the problem? Is the code not reached where $_SESSION is overwritten, or does it not write the correct values? And what version are you using? None of this works with IMP 5 if that is what you have upgraded to. michael ___ Michael Slusarz [slus...@horde.org] -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] Disable thumbnails
Em 10/07/12 18:10, Michael M Slusarz escreveu: Quoting Michael M Slusarz : Quoting Luis Felipe Marzagao : Is it possible to turn off thumbnails preview in IMP (horde 4.0.15, imp 5.0.22)? You will need to manually edit imp/lib/Mime/Viewer/Images.php. Or else disable image support in Horde's config (although this will disable all image features in all Horde apps). You will also need to look at imp/lib/Mime/Viewer/Pdf.php for PDF files. Thanks a lot for the directions. michael ___ Michael Slusarz [slus...@horde.org] -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org