Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Russell Coker
I get the above error from imp3 running with PHP4 and Apache2.  Any idea what 
the cause might be?

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Jan Wagner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

On Wednesday 11 August 2004 14:11, Russell Coker wrote:
> I get the above error from imp3 running with PHP4 and Apache2.  Any idea
> what the cause might be?

# grep imap /etc/php4/apache2/php.ini
extension=imap.so
# grep imap /etc/php4/apache/php.ini
extension=imap.so

This should do the trick!

Regards, Jan.
- -- 
- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT d-- s+: a-- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w---
O M-- V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++
G++ e++ h-- r+++ y+++
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBGhDU9u6Dud+QFyQRArsUAJ4qN0U14x4lP6hkDHEItFVM9ZigNgCgzkLP
f7tAhbCEbMufe1j0PfgI0Y4=
=ffis
-END PGP SIGNATURE-



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Russell Coker
On Wed, 11 Aug 2004 22:28, Jan Wagner <[EMAIL PROTECTED]> wrote:
> # grep imap /etc/php4/apache2/php.ini
> extension=imap.so
> # grep imap /etc/php4/apache/php.ini
> extension=imap.so

Thanks for that!

Upgrading from php3 to php4 while upgrading from Apache 1.x to Apache 2.x 
seemed to have missed those extension lines.  I now have IMP working again.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Brett Parker
On Wed, Aug 11, 2004 at 10:11:29PM +1000, Russell Coker wrote:
> I get the above error from imp3 running with PHP4 and Apache2.  Any idea what 
> the cause might be?

php as a module or a cgi? but basically, what's missing is...

extension=imap.so

in either /etc/php4/cgi/php.ini or /etc/php4/apache/php.ini

assuming that you have php4-imap installed, of course.

Cheers,
-- 
Brett Parker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Jan Wagner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 11 August 2004 14:40, Russell Coker wrote:
> On Wed, 11 Aug 2004 22:28, Jan Wagner <[EMAIL PROTECTED]> wrote:
> > # grep imap /etc/php4/apache2/php.ini
> > extension=imap.so
> > # grep imap /etc/php4/apache/php.ini
> > extension=imap.so
>
> Thanks for that!
>
> Upgrading from php3 to php4 while upgrading from Apache 1.x to Apache 2.x
> seemed to have missed those extension lines.  I now have IMP working again.

I did ran into this issue 1 week ago. It happened when I was updating from 
Apache 1.3 to Apache 2.0.
Maybe anybody should fill a bugreport. :D

With kind regards, Jan.
- -- 
- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT d-- s+: a-- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w---
O M-- V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++
G++ e++ h-- r+++ y+++
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBGhdo9u6Dud+QFyQRAvHPAJ93sortNo2BTdmwtJ422GLxWXkxfQCeMrRF
i9qTOAI63FqJ6cQ3tFmKTng=
=npE/
-END PGP SIGNATURE-



Re: ssh and root logins

2004-08-11 Thread Paul Hink
Russell Coker <[EMAIL PROTECTED]> wrote:

> Ideally we would be able to specify a list of acceptable IP addresses
> for each account, both in a central file and in per-user config
> files.  It would be really great if someone would write code to do
> this!

It is already possible to specify such a list in a system-wide
configuration file (sshd_config):

| AllowUsers

| [...]

| If the pattern takes the form [EMAIL PROTECTED] then USER and
| HOST are separately checked, restricting logins to
| particular users from particular hosts.

sshd_config(5)

And when using keypair authentication, ordinary users can restrict the
hosts their keys may be used from as well:

| AUTHORIZED_KEYS FILE FORMAT

| [...]

| from="pattern-list"
| Specifies that in addition to RSA authentication, the
| canonical name of the remote host must be present in the
| comma-separated list of patterns

sshd(8)

Paul


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Jan Wagner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 11 August 2004 14:56, Jan Wagner wrote:
> On Wednesday 11 August 2004 14:40, Russell Coker wrote:
> > On Wed, 11 Aug 2004 22:28, Jan Wagner <[EMAIL PROTECTED]> wrote:
> > > # grep imap /etc/php4/apache2/php.ini
> > > extension=imap.so
> > > # grep imap /etc/php4/apache/php.ini
> > > extension=imap.so
> >
> > Thanks for that!
> >
> > Upgrading from php3 to php4 while upgrading from Apache 1.x to Apache 2.x
> > seemed to have missed those extension lines.  I now have IMP working
> > again. 
> 
> I did ran into this issue 1 week ago. It happened when I was updating from
> Apache 1.3 to Apache 2.0.
> Maybe anybody should fill a bugreport. :D

Thanks Russel for filling bugreport #265064 :D

With kind regards, Jan.
- -- 
- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT d-- s+: a-- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w---
O M-- V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++
G++ e++ h-- r+++ y+++
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBGkT19u6Dud+QFyQRAjB5AJ9ycuhBDiedZF+JT5IwQ6hQ8Wri8QCfc2z3
9cOCohMcSMn3tFh1ZIMbXqU=
=0OJK
-END PGP SIGNATURE-



Re: Auth_imap: Required IMAP functions were not found.

2004-08-11 Thread Russell Coker
On Wed, 11 Aug 2004 22:56, Jan Wagner <[EMAIL PROTECTED]> wrote:
> > Upgrading from php3 to php4 while upgrading from Apache 1.x to Apache 2.x
> > seemed to have missed those extension lines.  I now have IMP working
> > again.
>
> I did ran into this issue 1 week ago. It happened when I was updating from
> Apache 1.3 to Apache 2.0.
> Maybe anybody should fill a bugreport. :D

Done.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



LDAP & postfix

2004-08-11 Thread Fraser Campbell
Hi,

Does anyone know of a step-by-step howto of setting up LDAP for use with 
postfix?  I have users in LDAP and now I want to define aliases & virtual 
domains within LDAP.  I'd be happy to write the howto once I get the basics 
down ...

Thanks
-- 
Fraser Campbell <[EMAIL PROTECTED]> http://www.wehave.net/
Georgetown, Ontario, Canada   Debian GNU/Linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]