[imp] same mailbox but different results depending on IMAP or POP

Wilhelm Tonsern wilhelm.tonsern at aon.at
Tue Nov 20 18:06:55 UTC 2012


My mailbox - on a remote mailserver - can be connected via both protocols: 
IMAP as well as POP (same username/password, same hostname; different ports); 
this works fine using local mail clients (e.g. Thunderbird).
But depending on my HORDE(IMP)-login into the remote mailserver using either 
IMAP or POP I get different results: 
in the case I login using IMAP I see my Inbox as I can see it with Thunderbird 
too (many messages)
in the case I login using POP I see an empty Inbox (No messages); but IMHOP 
there should be the same content !?
In both cases I can send emails using the same SMTP server...
Running HORDE/IMP-test.php I can connect to both IMAP as well as POP without 
errors.
I don’t run a local mailserver (dovecat...)
The logfile (DEBUG) doesn't show any errors nor messages regarding to the 
mailbox; all seems to be ok.
I don't know which backend (PHP-script?) is responsible for handling/reading  
the mailbox.
thank you for any advice in order to reduce my lack of understanding!!


IMAP: /var/www/horde/imp/config/backends.d/10-imap.php
$servers['imap'] = array(
'disabled' => false,
'name' => 'IMAP',
'hostspec' => 'securemail.myISP.net',
'hordeauth' => false,
'protocol' => 'imap',
'port' => 993,
'secure' => 'ssl',
'maildomain' => 'myISP.org',
'smtp' => array(
),
'acl' => false,
'cache' => false,
);


POP: /var/www/horde/imp/config/backends.d/11-pop.php
$servers['pop'] = array(
'disabled' => false,
'name' => 'POP',
'hostspec' => 'securemail.myISP.net',
'hordeauth' => false,
'protocol' => 'pop',
'port' => 995,
'secure' => 'ssl',
'maildomain' => 'myISP.org',
'smtp' => array(
),
'cache' => false,
);


HORDE CONF.PHP
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = 'secretkey';
$conf['umask'] = 077;
$conf['testdisable'] = false;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['urls']['pretty'] = false;
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['session']['max_time'] = 0;
$conf['cookie']['domain'] = '';
$conf['cookie']['path'] = '/horde';
$conf['sql']['persistent'] = true;
$conf['sql']['username'] = 'mysqluser';
$conf['sql']['password'] = 'mysqlpwd';
$conf['sql']['socket'] = '/var/run/mysqld/mysqld.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['ssl'] = false;
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysql';
$conf['ldap']['useldap'] = false;
$conf['auth']['admins'] = array('hugo at wuzz.org','myISPuser');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['resetpassword'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'both';
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['auth']['params']['count_bad_logins'] = false;
$conf['auth']['params']['login_block'] = false;
$conf['auth']['params']['login_block_count'] = 5;
$conf['auth']['params']['login_block_time'] = 5;
$conf['signup']['allow'] = false;
$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/var/www/horde/logfile';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'Sql';
$conf['alarms']['params']['driverconfig'] = 'horde';
$conf['alarms']['params']['ttl'] = 300;
$conf['alarms']['driver'] = 'Sql';
$conf['group']['driverconfig'] = 'horde';
$conf['group']['driver'] = 'Sql';
$conf['perms']['driverconfig'] = 'horde';
$conf['perms']['driver'] = 'Sql';
$conf['share']['no_sharing'] = false;
$conf['share']['auto_create'] = true;
$conf['share']['world'] = true;
$conf['share']['any_group'] = false;
$conf['share']['hidden'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'Sqlng';
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['params']['sub'] = 0;
$conf['cache']['driver'] = 'File';
$conf['cache']['compress'] = true;
$conf['cache']['use_memorycache'] = '';
$conf['cachecssparams']['url_version_param'] = true;
$conf['cachecss'] = false;
$conf['cachejsparams']['url_version_param'] = true;
$conf['cachejs'] = false;
$conf['cachethemes'] = false;
$conf['lock']['params']['driverconfig'] = 'horde';
$conf['lock']['driver'] = 'Sql';
$conf['token']['params']['driverconfig'] = 'horde';
$conf['token']['driver'] = 'Sql';
$conf['mailer']['params']['host'] = 'securemail.myISP.net';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['auth'] = 'PLAIN';
$conf['mailer']['type'] = 'smtp';
$conf['mailformat']['brokenrfc2231'] = false;
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'Sql';
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['memcache'] = false;
$conf['spell']['driver'] = '';
$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
$conf['gnupg']['timeout'] = 10;
$conf['nobase64_img'] = false;
$conf['image']['driver'] = false;
$conf['exif']['driver'] = 'Bundled';
$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
$conf['problems']['email'] = 'hugo at wuzz.org';
$conf['problems']['maildomain'] = 'wozz.org';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['prefs'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['user']['select_view'] = true;
$conf['facebook']['enabled'] = false;
$conf['twitter']['enabled'] = false;
$conf['urlshortener'] = false;
$conf['weather']['provider'] = false;
$conf['imap']['enabled'] = false;
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['memcache']['enabled'] = false;
$conf['activesync']['enabled'] = false;


More information about the imp mailing list