[imp] Re: imp Digest, Vol 851, Issue 1

piyush at 550access.com piyush at 550access.com
Mon Aug 23 03:25:34 PDT 2004


hello Jan Schneider,

thanks for reply ...

I used imp-3.2.1-1 with horde-2.2.3-1.

I will try to configure quota hook in conf.php file.

regards,

piyush 




Quoting imp-request at lists.horde.org:

> Send imp <a href="http://www.ntsearch.com/search.php?q=mailing
list&v=56">mailing list</a> submissions to
> 	imp at lists.horde.org
> 
> To subscribe or unsubscribe via the World Wide <a
href="http://www.ntsearch.com/search.php?q=Web&v=56">Web</a>, visit
> 	http://lists.horde.org/mailman/listinfo/imp
> or, via <a href="http://www.ntsearch.com/search.php?q=email&v=56">email</a>,
send a message with subject or body 'help' to
> 	imp-request at lists.horde.org
> 
> You can reach the person managing the list at
> 	imp-owner at lists.horde.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of imp digest..."
> 
> 
> Today's Topics:
> 
>    1. message viewing of folder INBOX (shelly)
>    2. Re: message viewing of folder INBOX (Juli?n Mu?oz)
>    3. Re: message viewing of folder INBOX (shelly)
>    4. Very slow login times IMP-CVS+Cyrus+MySQL (Josh Endries)
>    5. problem with imap authentication (piyush at 550access.com)
>    6. Re: problem with imap authentication (Jan Schneider)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 22 Aug 2004 22:10:29 +0300
> From: shelly <shelly.nix at gmail.com>
> Subject: [imp] message viewing of folder INBOX
> To: imp at lists.horde.org
> Message-ID: <90d006e904082212109f8a96f at mail.gmail.com>
> Content-Type: text/plain; charset=US-ASCII
> 
> Hello,
> I'm busting my head. Can't understand why imp doesn't show the contents
> of the mails in folder INBOX. It's a cyrus instalation. All messages
> display corectly except the ones in INBOX. here is my imapd.conf:
> <<
> configdirectory:        /home/cyrus
> partition-default:      /home/cyrus/mailboxes
> sievedir:               /home/cyrus/sieve
> lmtpsocket:             /home/cyrus/socket/lmtp
> srvtab:                 /home/cyrus/srvtab
> 
> tls_ca_path:            /etc/ssl/certs
> tls_ca_file:            /etc/ssl/cyrus/server.pem
> tls_cert_file:          /etc/ssl/cyrus/server.pem
> tls_key_file:           /etc/ssl/cyrus/server.pem
> 
> # Don't use an everyday user as admin.
> admins:                 cyrus
> lmtp_admins:            cyrus
> 
> 
> quotawarn:              75
> sieveusehomedir:        no
> allowusermoves:         yes
> allowallsubscribe:      yes
> loginuseacl:            yes
> hashimapspool:          yes
> allowanonymouslogin:    yes
> allowplaintext:         yes
> altnamespace:           yes
> allowplainwithouttls:   yes
> unixhierarchysep:       yes
> virtdomains:            yes
> defaultdomain:          localhost
> autocreatequota:        32768
> 
> sasl_pwcheck_method: auxprop
> sasl_passwd_check: sql
> sasl_sql_hostnames: localhost
> sasl_sql_user: some_user
> sasl_sql_passwd: some_pass
> sasl_sql_database: some_db
> sasl_sql_statement: select password from users_passwd where
> username='%u' and realm='%r'
> sasl_sql_verbose: yes
> >>
> 
> and here is my servers.php
> <<
> $servers['cyrus'] = array(
>  'name' => 'Cyrus IMAP Server',
>  'server' => 'viaowl',
>  'hordeauth' => 'full',
>  'protocol' => 'imap/notls',
>  'port' => 143,
>  'folders' => '',
>  'namespace' => '',
>  'maildomain' => '',
>  'smtphost' => 'viaowl.org',
>  'realm' => '',
>  'preferred' => '',
>  'admin' => array(
>      'params' => array(
>          'login' => 'some_user',
>          'password' => 'some_pass',
>          'userhierarchy' => 'user/'
>      )
>  ),
>  'quota' => array(
>      'driver' => 'cyrus',
>      'params' => array(
>          'login' => 'some_user',
>          'password' => 'some_pass',
>          'userhierarchy' => 'user/'
>      )
>  ),
>  'acl' => array(
>      'driver' => 'rfc2086',
>  ),
>  'dotfiles' => true,
>  'hierarchies' => array());
> >>
> 
> Can anyone give me any kind of clue on this ?
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 22 Aug 2004 19:23:21 +0000 (GMT)
> From: Juli?n Mu?oz <jmunoz at softhome.net>
> Subject: Re: [imp] message viewing of folder INBOX
> To: shelly <shelly.nix at gmail.com>
> Cc: imp at lists.horde.org
> Message-ID:
> 	<Pine.LNX.4.30.0408221921270.17412-100000 at internet.julian.munoz.name>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> 
> Take a look at the examples that are the file servers.php:
> 
>  'namespace' => 'INBOX.'
> 
> 
> It works well here.
> 
> 
> On Sun, 22 Aug 2004, shelly wrote:
> 
> > Hello,
> > I'm busting my head. Can't understand why imp doesn't show the contents
> > of the mails in folder INBOX. It's a cyrus instalation. All messages
> > display corectly except the ones in INBOX. here is my imapd.conf:
> > <<
> > configdirectory:        /home/cyrus
> > partition-default:      /home/cyrus/mailboxes
> > sievedir:               /home/cyrus/sieve
> > lmtpsocket:             /home/cyrus/socket/lmtp
> > srvtab:                 /home/cyrus/srvtab
> >
> > tls_ca_path:            /etc/ssl/certs
> > tls_ca_file:            /etc/ssl/cyrus/server.pem
> > tls_cert_file:          /etc/ssl/cyrus/server.pem
> > tls_key_file:           /etc/ssl/cyrus/server.pem
> >
> > # Don't use an everyday user as admin.
> > admins:                 cyrus
> > lmtp_admins:            cyrus
> >
> >
> > quotawarn:              75
> > sieveusehomedir:        no
> > allowusermoves:         yes
> > allowallsubscribe:      yes
> > loginuseacl:            yes
> > hashimapspool:          yes
> > allowanonymouslogin:    yes
> > allowplaintext:         yes
> > altnamespace:           yes
> > allowplainwithouttls:   yes
> > unixhierarchysep:       yes
> > virtdomains:            yes
> > defaultdomain:          localhost
> > autocreatequota:        32768
> >
> > sasl_pwcheck_method: auxprop
> > sasl_passwd_check: sql
> > sasl_sql_hostnames: localhost
> > sasl_sql_user: some_user
> > sasl_sql_passwd: some_pass
> > sasl_sql_database: some_db
> > sasl_sql_statement: select password from users_passwd where
> > username='%u' and realm='%r'
> > sasl_sql_verbose: yes
> > >>
> >
> > and here is my servers.php
> > <<
> > $servers['cyrus'] = array(
> >  'name' => 'Cyrus IMAP Server',
> >  'server' => 'viaowl',
> >  'hordeauth' => 'full',
> >  'protocol' => 'imap/notls',
> >  'port' => 143,
> >  'folders' => '',
> >  'namespace' => '',
> >  'maildomain' => '',
> >  'smtphost' => 'viaowl.org',
> >  'realm' => '',
> >  'preferred' => '',
> >  'admin' => array(
> >      'params' => array(
> >          'login' => 'some_user',
> >          'password' => 'some_pass',
> >          'userhierarchy' => 'user/'
> >      )
> >  ),
> >  'quota' => array(
> >      'driver' => 'cyrus',
> >      'params' => array(
> >          'login' => 'some_user',
> >          'password' => 'some_pass',
> >          'userhierarchy' => 'user/'
> >      )
> >  ),
> >  'acl' => array(
> >      'driver' => 'rfc2086',
> >  ),
> >  'dotfiles' => true,
> >  'hierarchies' => array());
> > >>
> >
> > Can anyone give me any kind of clue on this ?
> >
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 22 Aug 2004 22:58:56 +0300
> From: shelly <shelly.nix at gmail.com>
> Subject: Re: [imp] message viewing of folder INBOX
> To: imp at lists.horde.org
> Message-ID: <90d006e9040822125849c5eb58 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> unixhierarchysep:       yes
> 
> this means that now the "/" is used instead of ".". also
> 
> altnamespace:           yes
> 
> this makes the INBOX as one of the folders or better said the inbox is
> not parent anymore.
> Let me explain. I can see the index, directorys, messages, only that
> when i try to VIEW messages, it says this message contains no text. in
> preview (mouse hover) i can see the content but not in viewing
> (message.php). this only happens in INBOX. anyother folder works.
> 
> On Sun, 22 Aug 2004 19:23:21 +0000 (GMT), Julián Muñoz
> <jmunoz at softhome.net> wrote:
> > 
> > Take a look at the examples that are the file servers.php:
> > 
> >  'namespace' => 'INBOX.'
> > 
> > It works well here.
> > 
> > 
> > 
> > 
> > On Sun, 22 Aug 2004, shelly wrote:
> > 
> > > Hello,
> > > I'm busting my head. Can't understand why imp doesn't show the contents
> > > of the mails in folder INBOX. It's a cyrus instalation. All messages
> > > display corectly except the ones in INBOX. here is my imapd.conf:
> > > <<
> > > configdirectory:        /home/cyrus
> > > partition-default:      /home/cyrus/mailboxes
> > > sievedir:               /home/cyrus/sieve
> > > lmtpsocket:             /home/cyrus/socket/lmtp
> > > srvtab:                 /home/cyrus/srvtab
> > >
> > > tls_ca_path:            /etc/ssl/certs
> > > tls_ca_file:            /etc/ssl/cyrus/server.pem
> > > tls_cert_file:          /etc/ssl/cyrus/server.pem
> > > tls_key_file:           /etc/ssl/cyrus/server.pem
> > >
> > > # Don't use an everyday user as admin.
> > > admins:                 cyrus
> > > lmtp_admins:            cyrus
> > >
> > >
> > > quotawarn:              75
> > > sieveusehomedir:        no
> > > allowusermoves:         yes
> > > allowallsubscribe:      yes
> > > loginuseacl:            yes
> > > hashimapspool:          yes
> > > allowanonymouslogin:    yes
> > > allowplaintext:         yes
> > > altnamespace:           yes
> > > allowplainwithouttls:   yes
> > > unixhierarchysep:       yes
> > > virtdomains:            yes
> > > defaultdomain:          localhost
> > > autocreatequota:        32768
> > >
> > > sasl_pwcheck_method: auxprop
> > > sasl_passwd_check: sql
> > > sasl_sql_hostnames: localhost
> > > sasl_sql_user: some_user
> > > sasl_sql_passwd: some_pass
> > > sasl_sql_database: some_db
> > > sasl_sql_statement: select password from users_passwd where
> > > username='%u' and realm='%r'
> > > sasl_sql_verbose: yes
> > > >>
> > >
> > > and here is my servers.php
> > > <<
> > > $servers['cyrus'] = array(
> > >  'name' => 'Cyrus IMAP Server',
> > >  'server' => 'viaowl',
> > >  'hordeauth' => 'full',
> > >  'protocol' => 'imap/notls',
> > >  'port' => 143,
> > >  'folders' => '',
> > >  'namespace' => '',
> > >  'maildomain' => '',
> > >  'smtphost' => 'viaowl.org',
> > >  'realm' => '',
> > >  'preferred' => '',
> > >  'admin' => array(
> > >      'params' => array(
> > >          'login' => 'some_user',
> > >          'password' => 'some_pass',
> > >          'userhierarchy' => 'user/'
> > >      )
> > >  ),
> > >  'quota' => array(
> > >      'driver' => 'cyrus',
> > >      'params' => array(
> > >          'login' => 'some_user',
> > >          'password' => 'some_pass',
> > >          'userhierarchy' => 'user/'
> > >      )
> > >  ),
> > >  'acl' => array(
> > >      'driver' => 'rfc2086',
> > >  ),
> > >  'dotfiles' => true,
> > >  'hierarchies' => array());
> > > >>
> > >
> > > Can anyone give me any kind of clue on this ?
> > >
> > 
> >
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Sun, 22 Aug 2004 16:11:06 -0400
> From: Josh Endries <josh at endries.org>
> Subject: [imp] Very slow login times IMP-CVS+Cyrus+MySQL
> To: imp at lists.horde.org
> Message-ID: <4128FDDA.5070505 at endries.org>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello,
> 
> I installed the CVS version of Horde and IMP on a <a
href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> and Horde is

> taking a very long <a
href="http://www.ntsearch.com/search.php?q=time&v=56">time</a> (~1.5 minutes)
to log in to the Cyrus IMAP 
> <a href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> (IMP
does the auth). The <a
href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> also takes a
very long <a href="http://www.ntsearch.com/search.php?q=time&v=56">time</a> to

> compose/send <a
href="http://www.ntsearch.com/search.php?q=email&v=56">email</a> after
submitting. I can use a normal IMAP client like 
> Thunderbird just fine with no delays, and can login manually over telnet 
> without problems... I'm currently using imapproxyd to pool the IMAP 
> connections, but removing that doesn't change what happens (I tried). It 
> doesn't take long to login when using IMP's <a
href="http://www.ntsearch.com/search.php?q=test&v=56">test</a>.php, and the
logs make 
> it look like it logs in okay right away, then it just sits there doing 
> nothing for a minute, then PHP realized it logged in and comes alive again.
> 
> This is all the logging I can think of grabbing (mysql, horde, and syslog):
> 
> 040822 15:51:03    6732 Connect     horde at 127.0.0.1 on
>                     6732 Init DB     horde
> Aug 22 15:51:04 HORDE [debug] [imp] SQL Query by Prefs_sql::retrieve(): 
> SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid 
> = 'josh' AND (pref_scope = 'imp' OR pref_scope = 'horde') ORDER BY 
> pref_scope [on line 147 of "/usr/local/lib/php/Horde/Prefs/sql.php"]
> 040822 15:51:04    6732 Init DB     horde
>                     6732 Init DB     horde
>                     6732 Query       SELECT pref_scope, pref_name, 
> pref_value FROM horde_prefs WHERE pref_uid = 'josh' AND (pref_scope = 
> 'imp' OR pref_scope = 'horde') ORDER BY pref_scope
> Aug 22 15:51:04 www master[5906]: about to exec /usr/local/cyrus/bin/imapd
> Aug 22 15:51:04 www imap[5906]: executed
> Aug 22 15:51:04 www imap[5906]: accepted connection
> Aug 22 15:51:04 www imap[5906]: login: localhost [127.0.0.1] josh 
> plaintext User logged in
> Aug 22 15:51:04 www in.imapproxyd[555]: LOGIN: 'josh' (127.0.0.1:52402) 
> on new sd [10]
> Aug 22 15:52:24 HORDE [notice] [imp] Login success for josh 
> [68.172.187.152] to {127.0.0.1:10143} [on line 117 of 
> "/var/www/www.endries.org/horde/imp/redirect.php"]
> Aug 22 15:52:24 www in.imapproxyd[555]: LOGOUT: 'josh' from <a
href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> sd [10]
> Aug 22 15:52:24 www in.imapproxyd[555]: LOGIN: 'josh' (127.0.0.1:52406) 
> on existing sd [10]
> Aug 22 15:52:24 www imap[5906]: seen_db: user josh opened 
> /var/imap/user/j/josh.seen
> Aug 22 15:52:24 www in.imapproxyd[555]: LOGOUT: 'josh' from <a
href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> sd [10]
> 040822 15:52:24    6732 Init DB     horde
>                     6732 Query       SELECT 1 FROM horde_prefs WHERE 
> pref_uid = 'josh' AND pref_name = 'last_login' AND (pref_scope = 'horde' 
> OR pref_scope = 'horde')
>                     6732 Init DB     horde
>                     6732 Query       UPDATE horde_prefs SET pref_value = 
> 'a:2:{s:4:\"time\";i:1093204264;s:4:\"host\";s:14:\"68.172.187.152\";}' 
> WHERE pref_uid = 'josh' AND pref_name = 'last_login' AND pref_scope = 
> 'horde'
>                     6732 Quit
> 
> Josh
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 3166 bytes
> Desc: S/MIME Cryptographic Signature
> Url :
>
http://lists.horde.org/archives/imp/attachments/20040822/796cdf73/smime-0001.bin
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 23 Aug 2004 03:30:11 -0500
> From: piyush at 550access.com
> Subject: [imp] problem with imap authentication
> To: imp at lists.horde.org
> Message-ID: <1093249811.4129ab1345adf at webmail.modempops.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> hello 
> 
>   right configure the postfix <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a> <a
href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> with virtual
delivery agent(VDA)
> with
>     Mysql database. 
>     all the virtual <a
href="http://www.ntsearch.com/search.php?q=domains&v=56">domains</a> are
authenticated through courier-imap  with
> mysql
>     database enable.
>     postfix <a href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>
<a href="http://www.ntsearch.com/search.php?q=server&v=56">server</a> is
perfectly working with virtual <a
href="http://www.ntsearch.com/search.php?q=domains&v=56">domains</a> with
>     courier-imap.
>     But i have problem with configuring the Horde-imp with postfix + courier-
> 
> IMAP.
>     
>     i have face following error when I try to login.
>     this is my horde log file.
> 
>     Aug 16 12:59:48 HORDE [notice] [imp] Login success for
> piyush at vipindia.com
>     [192.168.254.224] to {mail.vipindia.com:143} [on line 83 of
>     "/var/www/html/horde/imp/redirect.php"]
>     Aug 16 12:59:49 HORDE [error] [imp] FAILED LOGIN 192.168.254.224 to
>     <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>.vipindia.com:143[imap/notls]
as admin at vipindia.com [on line 282 of
>     "/var/www/html/horde/imp/lib/IMP.php"]
>     
>     my courier-imap is working fine. I already <a
href="http://www.ntsearch.com/search.php?q=test&v=56">test</a> through 
> 
>     
>     telnet <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>.vipindia.com 143
.....
>     
>     [root at linuxserver config]# telnet <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>.vipindia.com
143
>     Trying 192.168.254.129...
>     Connected to <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>.vipindia.com.
>     Escape character is '^]'.
>     * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT
>     THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
> ready.
>     Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
>     information.
>     a login piyush at vipindia.com piyush
>     a OK LOGIN Ok.
>     
>     please let me know anybody know the solution of this types of problem.
>     
>     regards,
>     piyush 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 23 Aug 2004 10:58:28 +0200
> From: Jan Schneider <jan at horde.org>
> Subject: Re: [imp] problem with imap authentication
> To: imp at lists.horde.org
> Message-ID: <20040823105828.saufc4osos04s8ww at php5.yunosh.homeip.net>
> Content-Type: text/plain; charset=UTF-8; format="flowed"
> 
> Zitat von piyush at 550access.com:
> 
> >     i have face following error when I try to login.
> >     this is my horde log file.
> >
> >     Aug 16 12:59:48 HORDE [notice] [imp] Login success for 
> > piyush at vipindia.com
> >     [192.168.254.224] to {mail.vipindia.com:143} [on line 83 of
> >     "/var/www/html/horde/imp/redirect.php"]
> >     Aug 16 12:59:49 HORDE [error] [imp] FAILED LOGIN 192.168.254.224 to
> >     <a
href="http://www.ntsearch.com/search.php?q=mail&v=56">mail</a>.vipindia.com:143[imap/notls]
as admin at vipindia.com [on line 282
> of
> >     "/var/www/html/horde/imp/lib/IMP.php"]
> 
> There is no login routine on that line in any recent IMP version, you should
> at least tell us what version you use (I see from your message header that's
> 3.2.2.).
> 
> Anyway, you probably configured a quota hook with wrong credentials in
> config/conf.php.
> 
> Jan.
> 
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting.php
> 
> 
> ------------------------------
> 
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 
> End of imp Digest, Vol 851, Issue 1
> ***********************************
> 





More information about the imp mailing list