IMAP Servers

2005-01-12 Thread W. Andrew Loe III
I'm currently using Courier-IMAP as my IMAP mail server, but the way it 
handles folders is a bit annoying (.FolderName/cur/ .FolderName/new/). 
Is this standard IMAP protocol, or do different servers handle this 
differently? Which other servers should I check out?




Re: IMAP Servers

2005-01-12 Thread Michael F. Sprague
W. Andrew Loe III [EMAIL PROTECTED] wrote:
 I'm currently using Courier-IMAP as my IMAP mail server, but the way it 
 handles folders is a bit annoying (.FolderName/cur/ .FolderName/new/). 
 Is this standard IMAP protocol, or do different servers handle this 
 differently? Which other servers should I check out?

The format you're describing is maildir which Courier happens to implement.
Other apps use maildir too.  If you're looking for something that does IMAP,
you may want to check out Cyrus.  I've used it successfully but it has its
own mailstore.  It's similar to maildir in that each message is stored in its
own file, but it doesn't have the 'new' and 'cur' subdirectories, etc.

thanks,
mikeS

-- 
Michael Sprague  | [EMAIL PROTECTED]
Partner  | System and Network Engineering (SaNE), LLC
use STD::disclaimer;




Re: IMAP Servers

2005-01-12 Thread Michelle Konzack
Am 2005-01-12 16:27:05, schrieb W. Andrew Loe III:
 I'm currently using Courier-IMAP as my IMAP mail server, but the way it 
 handles folders is a bit annoying (.FolderName/cur/ .FolderName/new/). 
 Is this standard IMAP protocol, or do different servers handle this 
 differently? Which other servers should I check out?

This is the NON-BLOCKING Maildir Format.  With Maildir you can
have realy high load on the Server without any Locking of files,
which mean, you can have incoming Messages at the same time,
a client is connected and download files.

Never I will change back to mailbox ! 

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: IMAP Servers

2005-01-12 Thread W. Andrew Loe III
Michael F. Sprague wrote:
W. Andrew Loe III [EMAIL PROTECTED] wrote:
 

I'm currently using Courier-IMAP as my IMAP mail server, but the way it 
handles folders is a bit annoying (.FolderName/cur/ .FolderName/new/). 
Is this standard IMAP protocol, or do different servers handle this 
differently? Which other servers should I check out?
   

The format you're describing is maildir which Courier happens to implement.
Other apps use maildir too.  If you're looking for something that does IMAP,
you may want to check out Cyrus.  I've used it successfully but it has its
own mailstore.  It's similar to maildir in that each message is stored in its
own file, but it doesn't have the 'new' and 'cur' subdirectories, etc.
thanks,
mikeS
 

I'm sorry, I meant to refer to its implementation of Maildir. Is this 
the standard format? I had a lot of trouble getting this format to work 
well with Apple Mail. I'm pretty sure its Mail's issue as thunderbird 
works perfectly.




Re: IMAP Servers

2005-01-12 Thread Philipp Kern
On 13 Jan 2005, at 00:07, W. Andrew Loe III wrote:
I'm sorry, I meant to refer to its implementation of Maildir. Is this 
the standard format? I had a lot of trouble getting this format to 
work well with Apple Mail. I'm pretty sure its Mail's issue as 
thunderbird works perfectly.
Eh... I don't think that this is an issue related to Mail.app. It 
depends on how it is served by the IMAP daemon. But I never experienced 
any problems when using together Courier-IMAPd, Maildir as the storage 
backend and Mail.app as the frontend.

Regards,
Philipp Kern



Re: IMAP Servers

2005-01-12 Thread Eric Jennings
On Jan 12, 2005, at 3:15 PM, Philipp Kern wrote:
On 13 Jan 2005, at 00:07, W. Andrew Loe III wrote:
I'm sorry, I meant to refer to its implementation of Maildir. Is this 
the standard format? I had a lot of trouble getting this format to 
work well with Apple Mail. I'm pretty sure its Mail's issue as 
thunderbird works perfectly.
Eh... I don't think that this is an issue related to Mail.app. It 
depends on how it is served by the IMAP daemon. But I never 
experienced any problems when using together Courier-IMAPd, Maildir as 
the storage backend and Mail.app as the frontend.
We've experienced some issues with courier-imapd and Mail.app, 
specifically where certain IMAP sub-Maildir mailboxes wouldn't display 
within Mail.app.  The mailboxes work great within Thunderbird.

It's been infrequent enough where we haven't really done a thorough 
investigation.  If anybody else has had similar issues, and knows of a 
fix, please share!

Thanks-
Eric



Re: IMAP Servers

2005-01-12 Thread Mark Bucciarelli
On Wednesday 12 January 2005 18:34, Eric Jennings wrote:

 We've experienced some issues with courier-imapd and Mail.app,
 specifically where certain IMAP sub-Maildir mailboxes wouldn't display
 within Mail.app.  The mailboxes work great within Thunderbird.

 It's been infrequent enough where we haven't really done a thorough
 investigation.  If anybody else has had similar issues, and knows of a
 fix, please share!

If you don't have fam setup to automatically notify clients of new mail, 
Mail.app will poll to look for new messages.  It makes a separate IMAP 
connection for each folder [1].  So check your IMAPDAEMONS setting 
in /etc/courier/imapd (100 was recommended for 25 clients).

Another factor is the max # of authdaemons.  I'm pretty sure each IMAP 
connection generates an authentication request.  If the clients 
obsessively check for new mail, you may need to increase the number of 
authdaemons you allow courier to startup.

Regards,

Mark

[1] http://staff.washington.edu/oren/weblog/archives/70.html




Re: IMAP Servers

2005-01-12 Thread Ned Lukies
I do recall at one stage you had to create a symlink back to the base of the 
Maildir called INBOX for Mail.app to work:

ln -s Maildir/ Maildir/.INBOX

Hope that helps

Ned


 We've experienced some issues with courier-imapd and Mail.app,
 specifically where certain IMAP sub-Maildir mailboxes wouldn't display
 within Mail.app.  The mailboxes work great within Thunderbird.

 It's been infrequent enough where we haven't really done a thorough
 investigation.  If anybody else has had similar issues, and knows of a
 fix, please share!

 Thanks-
 Eric




Re: New SSL Certificates for Postfix Courier-imap

2004-12-17 Thread Craig Sanders
On Tue, Dec 14, 2004 at 06:03:23AM +, [EMAIL PROTECTED] wrote:
 Ce jour Mon, 13 Dec 2004, W.Andrew Loe III a dit:
 
  I am trying to figure out how to re-build my SSL certificates for 
  postfix and courier-imap. Right now my certificate for postfix has some 
  errors on it (wrong CN), but I am able to download it and set it to be 
  accepted by OS X (ends pop-ups in Mail.app). My courier-imap 
  certificate does not work in OS X, I've tried using mkimapdcert in 
  /usr/sbin/ but it is not generating certificates that are compatible 
  with OS X. Suggestions on how I can use OpenSSL to generate 
  certificates for both?
 
 i wrote a goofy script to create server certs:

try this one instead.

it makes certificates which can either be used in a postfix-tls server or
in a mail client for encryption and or relay authentication.

(NOTE: i am far from an expert in SSL certificates.  i wrote the script after
reading various HOWTOs and notes on the web.  it may or may not be the best
way, or even a good way, of generating certificates.  i probably wouldn't use
it where identity  authentication was important.  but it works for
opportunistic encryption of mail transport and for client-certificate based
relaying)

---cut here---
#! /bin/sh

# make-postfix-cert.sh
#   Craig Sanders [EMAIL PROTECTED]2000-09-03
# this script is hereby placed in the public domain.

# this script assumes that you already have a CA set up, as the openssl
# default demoCA under the current directory.  if you haven't done it
# already, run /usr/lib/ssl/misc/CA.pl -newca (or where the path to
# openssl's CA.pl script is on your system).
#
# then run this script like so: 
#
#./make-postfix-cert.sh hostname.your.domain.com
#
# it will create the certificate and key files for that host and put
# them into a subdirectory.

site=$1

# edit these values to suit your site.

COUNTRY=AU
PROVINCE=Victoria
LOCALITY=Melbourne
ORGANISATION=
ORG_UNIT=
COMMON_NAME=$site
EMAIL=[EMAIL PROTECTED]

OPTIONAL_COMPANY_NAME=

# leave challenge password blank
CHALLENGE_PASSWORD=

# generate a certificate valid for 10 years
# (probably not a good idea if you care about authentication, but should
# be fine if you only care about encryption of the smtp session)
# comment this out if you want the openssl default (1 year, usually)
DAYS=-days 3652

# create the certificate request
cat __EOF__ | openssl req -new $DAYS -nodes -keyout newreq.pem -out newreq.pem
$COUNTRY
$PROVINCE
$LOCALITY
$ORGANISATION
$ORG_UNIT
$COMMON_NAME
$EMAIL
$CHALLENGE_PASSWORD
$OPTIONAL_COMPANY_NAME
__EOF__

# sign it
openssl ca $DAYS -policy policy_anything -out newcert.pem -infiles newreq.pem

# move it
mkdir -p $site
mv newreq.pem $site/key.pem
chmod 400 $site/key.pem
mv newcert.pem $site/cert.pem
cd $site

# create server.pem for smtpd
cat cert.pem ../demoCA/cacert.pem key.pem server.pem
chmod 400 server.pem

# create fingerprint file
openssl x509 -fingerprint -in cert.pem -noout  fingerprint

# uncomment to  create pkcs12 certificate for netscape 
# (probably not needed)
#openssl pkcs12 -export -in cert.pem -inkey key.pem \
#  -certfile ../demoCA/cacert.pem -name $site -out cert.p12

cd ..
---cut here---

run it like so:

./make-postfix-cert.sh FQDN

you should use the server's announced FQDN host-name as the server name in the
certificate. 


once the cert has been created, copy $site/*.pem and demoCA/cacert.pem into
/etc/postfix on the target system.  and add the following to 
/etc/postfix/main.cf
to enable TLS encryption.

---cut here---
smtpd_tls_cert_file = /etc/postfix/server.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_use_tls = yes
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_CApath = /etc/postfix/certs
smtp_tls_loglevel = 1
smtp_use_tls = yes
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_note_starttls_offer = yes
tls_random_source = dev:/dev/urandom
tls_daemon_random_source = dev:/dev/urandom
---cut here---

then:

  echo .   MAY /etc/postfix/tls_per_site 
  postmap hash:/etc/postfix/tls_per_site
  mkdir /etc/postfix/certs
  /etc/init.d/postfix restart

tls_per_site allows you to control which remote sites are offered TLS and which
are not.  useful because some sites have broken implementations so you need to
disable TLS for them.

if you want postfix to verify remote certs, you can put CA certs for them into
/etc/postfix/certs.  this is not strictly necessary - encryption works fine
without cert verification.


i run this as a matter of routine whenever i create a new mail host in my
domain.  if i'm doing it for a new domain, i copy the script to somewhere else
(usually to somewhere on the target system) and create a new demoCA for that
domain, and then run the script there for all hosts and relay clients in that
domain.




finally, to allow a client with a known cert to relay through postfix, first
generate the cert just as if for a server

New SSL Certificates for Postfix Courier-imap

2004-12-13 Thread W . Andrew Loe III
I am trying to figure out how to re-build my SSL certificates for 
postfix and courier-imap. Right now my certificate for postfix has some 
errors on it (wrong CN), but I am able to download it and set it to be 
accepted by OS X (ends pop-ups in Mail.app). My courier-imap 
certificate does not work in OS X, I've tried using mkimapdcert in 
/usr/sbin/ but it is not generating certificates that are compatible 
with OS X. Suggestions on how I can use OpenSSL to generate 
certificates for both?

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


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: 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]



Re: imap before smtp grace period timeout ???

2004-07-16 Thread Konstantin Kostadinov
 but not practical. btw, you can check courier's config settings for a 
 much more interesting/exotic method, sending mail via imap. if you so 
 desperately want to live (in) interesting times.

I will 
danke

-- 

Konstantin Kostadinov

Public PGP : http://www.fadata.bg/pgp/konstantinpgp.asc
---

Extreme fear can neither fight nor fly.
-- William Shakespeare, The Rape of Lucrece


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



imap before smtp grace period timeout ???

2004-07-15 Thread Konstantin Kostadinov
Hi All

I'v the problem with courier-imapd and pop-before-smtp sync :-)

So my pop-before-smtp give 30m grace period for smtp sending.

Users mail client is set to use IMAP and after login the imap session stays active and 
do not reconnect, pop-before-smtp timeouts after 30m and the client cannot sends email 
until reopen email client and imap reconnect to server.

Is there any resolving for this problem ?

tanx


Konstantin Kostadinov

Public PGP : http://www.fadata.bg/pgp/konstantinpgp.asc
---

BOFH excuse #433:

error: one bad user found in front of screen


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



Re: imap before smtp grace period timeout ???

2004-07-15 Thread Konstantin Kostadinov

 Use authentication for smtp. (username/ password)
 
 Almost all email clients support it.
 
 Regards
 
 Andrew

Oo yes i know this way but the other is interesting ! :)

 
 On 15.07.2004, at 16:09, Konstantin Kostadinov wrote:
 
  Hi All
 
  I'v the problem with courier-imapd and pop-before-smtp sync :-)
 
  So my pop-before-smtp give 30m grace period for smtp sending.
 
  Users mail client is set to use IMAP and after login the imap session 
  stays active and do not reconnect, pop-before-smtp timeouts after 30m 
  and the client cannot sends email until reopen email client and imap 
  reconnect to server.
 


-- 

Konstantin Kostadinov

Public PGP : http://www.fadata.bg/pgp/konstantinpgp.asc
---

Things will be bright in P.M.  A cop will shine a light in your face.


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



Re: imap before smtp grace period timeout ???

2004-07-15 Thread Boris Pavlov
Konstantin Kostadinov wrote:
but not practical. btw, you can check courier's config settings for a 
much more interesting/exotic method, sending mail via imap. if you so 
desperately want to live (in) interesting times.

wwell edi
[cut]
Oo yes i know this way but the other is interesting ! :)
 

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


Courier-imap 3.0.3-1 (testing) IMAP_EMPTYTRASH option

2004-07-13 Thread Dustin Lundquist
How should the IMAP_EMPTYTRASH option be set to completely disable 
automaticly emptying the trash and archiving the sent folders?  I have 
tried IMAP_EMPTYTRASH:0 and it still removes items from the trash folder 
 when the IMAP sessions reconnects. Has anyone else encountered this?

Thanks,
Dustin Lundquist
Optic Fusion
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Cyrus Imap Sieve problems

2004-06-23 Thread Christian Storch
Only a small note:
You mean '... getting SIEVE shell ...' or better the perl module 'managesieve' working!

It's up to you writing sieve scripts directly (check syntax by yourself!) into

/var/spool/sieve/first letter of user/user/default

Christian

- Original Message - 
From: Klaus Schiwinsky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 1:10 AM
Subject: Re: Cyrus Imap Sieve problems


 You have to install libsasl2-modules.
 Then SASL PLAIN will show up.
 
   Been experimenting with Cyrus Imap on Debian/unstable. Any tips on
   getting Sieve working? I'm using ldap to authenticate both Cyrus Imap
   and Postfix. All programs from deb packages. Incoming messages headers
   do have an X-Sieve line.
  
   [EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
   connecting to localhost
   unable to connect to server at /usr/bin/sieveshell line 174.
  
  
   * Sieve is there listening:
  
   [EMAIL PROTECTED]:docs$ telnet localhost sieve
   Trying 127.0.0.1...
   Connected to localhost.
   Escape character is '^]'.
   IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
   SIEVE fileinto reject envelope vacation imapflags notify 
 subaddress  relational regex
   STARTTLS
   OK
  
   .. but seems to be missing the authentication, ie most examples show
   the line:
   SASL PLAIN
 
 
 Best regards
 Klaus Schiwinsky
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


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



Re: Cyrus Imap Sieve problems

2004-06-23 Thread Christian Storch
Only a small note:
You mean '... getting SIEVE shell ...' or better the perl module 'managesieve' 
working!

It's up to you writing sieve scripts directly (check syntax by yourself!) into

/var/spool/sieve/first letter of user/user/default

Christian

- Original Message - 
From: Klaus Schiwinsky [EMAIL PROTECTED]
To: debian-isp@lists.debian.org
Sent: Wednesday, June 23, 2004 1:10 AM
Subject: Re: Cyrus Imap Sieve problems


 You have to install libsasl2-modules.
 Then SASL PLAIN will show up.
 
   Been experimenting with Cyrus Imap on Debian/unstable. Any tips on
   getting Sieve working? I'm using ldap to authenticate both Cyrus Imap
   and Postfix. All programs from deb packages. Incoming messages headers
   do have an X-Sieve line.
  
   [EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
   connecting to localhost
   unable to connect to server at /usr/bin/sieveshell line 174.
  
  
   * Sieve is there listening:
  
   [EMAIL PROTECTED]:docs$ telnet localhost sieve
   Trying 127.0.0.1...
   Connected to localhost.
   Escape character is '^]'.
   IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
   SIEVE fileinto reject envelope vacation imapflags notify 
 subaddress  relational regex
   STARTTLS
   OK
  
   .. but seems to be missing the authentication, ie most examples show
   the line:
   SASL PLAIN
 
 
 Best regards
 Klaus Schiwinsky
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 




Re: Cyrus Imap Sieve problems

2004-06-22 Thread Klaus Schiwinsky
You have to install libsasl2-modules.
Then SASL PLAIN will show up.
 Been experimenting with Cyrus Imap on Debian/unstable. Any tips on
 getting Sieve working? I'm using ldap to authenticate both Cyrus Imap
 and Postfix. All programs from deb packages. Incoming messages headers
 do have an X-Sieve line.

 [EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
 connecting to localhost
 unable to connect to server at /usr/bin/sieveshell line 174.


 * Sieve is there listening:

 [EMAIL PROTECTED]:docs$ telnet localhost sieve
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
 SIEVE fileinto reject envelope vacation imapflags notify 
subaddress  relational regex
 STARTTLS
 OK

 .. but seems to be missing the authentication, ie most examples show
 the line:
 SASL PLAIN

Best regards
Klaus Schiwinsky
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Cyrus Imap Sieve problems

2004-06-22 Thread Klaus Schiwinsky
You have to install libsasl2-modules.
Then SASL PLAIN will show up.
 Been experimenting with Cyrus Imap on Debian/unstable. Any tips on
 getting Sieve working? I'm using ldap to authenticate both Cyrus Imap
 and Postfix. All programs from deb packages. Incoming messages headers
 do have an X-Sieve line.

 [EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
 connecting to localhost
 unable to connect to server at /usr/bin/sieveshell line 174.


 * Sieve is there listening:

 [EMAIL PROTECTED]:docs$ telnet localhost sieve
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
 SIEVE fileinto reject envelope vacation imapflags notify 
subaddress  relational regex
 STARTTLS
 OK

 .. but seems to be missing the authentication, ie most examples show
 the line:
 SASL PLAIN

Best regards
Klaus Schiwinsky



Re: IMAP before relay

2004-06-21 Thread Jérôme Warnier
Le lun 21/06/2004 à 02:31, Conny Brunnkvist a écrit :
 Nate Duehr wrote:
 
  Ward Willats wrote:
  
  Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
  server with few relayers, pop-before-smtp still works very well, thank 
  
  Anyone know of any good way to implement IMAP before relay for those of 
  us that left POP3 in the 80's where it belongs?  ;-)
 
 The recently mentioned pop-before-smtp script works quite good, albeit a 
 bit contradictory, for IMAP-logins as well. And it's already packaged in 
 Debian together with (IIRC) a couple of good examples for well known 
 IMAP-servers.
 
 But just as Jérôme also points out, the nature of IMAP makes this method 
 less fit for control of relaying. You *will* start noticing one or both 
 of the following side-effects after prolonged use:
   * Your users curse loudly and call you up to fix the mail server 
 each time they finish writing a long e-mail
   * Your users, after being educated several times, develop an 
 instictive Save draft, restart mail client, Edit draft, Send-routine, 
 which in the end makes them feel reluctant towards using your system as 
 a whole ;-)
Well, I have a go offline button in Evolution, which does the job. It
is not optimal, though.

 //conny
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net



Re: IMAP before relay (was: pop before smtp relay)

2004-06-21 Thread Marcel Hicking


--Sunday, June 20, 2004 00:26:48 -0600 Nate Duehr [EMAIL PROTECTED]:

 Ward Willats wrote:
 
 Yeah, everyone _should_ use AUTH (and heck, SSL), but for a
 boutique  server with few relayers, pop-before-smtp still works
 very well, thank  you, with no existing client configuration
 changes.
 
 Anyone know of any good way to implement IMAP before relay for
 those of us that left POP3 in the 80's where it belongs?  ;-)

Well, the pop-before-smtp packages just watches for successful
logins in your mail-log. Therefore it should work with IMAP, too.
Although I haven't checked since I never came across a customer
with a MUA that would support IMAP but fail to use SMTP-AUTH...

Cheers, Marcel


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



Re: IMAP before relay (was: pop before smtp relay)

2004-06-21 Thread Dale E Martin
On Sun, Jun 20, 2004 at 12:26:48AM -0600, Nate Duehr wrote:
 Ward Willats wrote:
 
 Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
 server with few relayers, pop-before-smtp still works very well, thank 
 you, with no existing client configuration changes.
 
 Anyone know of any good way to implement IMAP before relay for those of 
 us that left POP3 in the 80's where it belongs?  ;-)

FWIW, I was the original poster and I was only referring to the technique
of grab mail before authentication - we use imap(s) as well.  As myself
and others have said, 'exact' works well for this.  I'm going to look into
smtp auth next, I need to find exim docs that talk about setting it up, but
'exact' is very simple and works easily enough...

My original post was meant to find out what the modern way of doing this is
- esmtp or smtp auth seems to be the answer.

Take care,
 Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
[EMAIL PROTECTED]
http://www.cliftonlabs.com
pgp key available


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



Re: IMAP before relay

2004-06-21 Thread Jérôme Warnier
Le lun 21/06/2004 à 02:31, Conny Brunnkvist a écrit :
 Nate Duehr wrote:
 
  Ward Willats wrote:
  
  Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
  server with few relayers, pop-before-smtp still works very well, thank 
  
  Anyone know of any good way to implement IMAP before relay for those of 
  us that left POP3 in the 80's where it belongs?  ;-)
 
 The recently mentioned pop-before-smtp script works quite good, albeit a 
 bit contradictory, for IMAP-logins as well. And it's already packaged in 
 Debian together with (IIRC) a couple of good examples for well known 
 IMAP-servers.
 
 But just as Jérôme also points out, the nature of IMAP makes this method 
 less fit for control of relaying. You *will* start noticing one or both 
 of the following side-effects after prolonged use:
   * Your users curse loudly and call you up to fix the mail server 
 each time they finish writing a long e-mail
   * Your users, after being educated several times, develop an 
 instictive Save draft, restart mail client, Edit draft, Send-routine, 
 which in the end makes them feel reluctant towards using your system as 
 a whole ;-)
Well, I have a go offline button in Evolution, which does the job. It
is not optimal, though.

 //conny
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net




Re: IMAP before relay (was: pop before smtp relay)

2004-06-21 Thread Marcel Hicking


--Sunday, June 20, 2004 00:26:48 -0600 Nate Duehr [EMAIL PROTECTED]:

 Ward Willats wrote:
 
 Yeah, everyone _should_ use AUTH (and heck, SSL), but for a
 boutique  server with few relayers, pop-before-smtp still works
 very well, thank  you, with no existing client configuration
 changes.
 
 Anyone know of any good way to implement IMAP before relay for
 those of us that left POP3 in the 80's where it belongs?  ;-)

Well, the pop-before-smtp packages just watches for successful
logins in your mail-log. Therefore it should work with IMAP, too.
Although I haven't checked since I never came across a customer
with a MUA that would support IMAP but fail to use SMTP-AUTH...

Cheers, Marcel




Re: IMAP before relay (was: pop before smtp relay)

2004-06-21 Thread Dale E Martin
On Sun, Jun 20, 2004 at 12:26:48AM -0600, Nate Duehr wrote:
 Ward Willats wrote:
 
 Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
 server with few relayers, pop-before-smtp still works very well, thank 
 you, with no existing client configuration changes.
 
 Anyone know of any good way to implement IMAP before relay for those of 
 us that left POP3 in the 80's where it belongs?  ;-)

FWIW, I was the original poster and I was only referring to the technique
of grab mail before authentication - we use imap(s) as well.  As myself
and others have said, 'exact' works well for this.  I'm going to look into
smtp auth next, I need to find exim docs that talk about setting it up, but
'exact' is very simple and works easily enough...

My original post was meant to find out what the modern way of doing this is
- esmtp or smtp auth seems to be the answer.

Take care,
 Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
[EMAIL PROTECTED]
http://www.cliftonlabs.com
pgp key available




IMAP before relay (was: pop before smtp relay)

2004-06-20 Thread Nate Duehr
Ward Willats wrote:
Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
server with few relayers, pop-before-smtp still works very well, thank 
you, with no existing client configuration changes.
Anyone know of any good way to implement IMAP before relay for those of 
us that left POP3 in the 80's where it belongs?  ;-)

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


Re: IMAP before relay (was: pop before smtp relay)

2004-06-20 Thread Jérôme Warnier
Le dim 20/06/2004 à 08:26, Nate Duehr a écrit :
 Ward Willats wrote:
 
  Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
  server with few relayers, pop-before-smtp still works very well, thank 
  you, with no existing client configuration changes.
 
 Anyone know of any good way to implement IMAP before relay for those of 
 us that left POP3 in the 80's where it belongs?  ;-)
I would recommend using EXACT[1] for example. IMAP-before-SMTP will not
work as well as POP-before-SMTP, though. The reason is simple: with
POP3, you connect, download the e-mails and de-connect. With IMAP, you
connect and keep connected until you leave your e-mail client (or your
connection explicitely).

[1] http://www.britishsteal.com/dist/exact/
I have Debian packages if you need so.

 Nate Duehr, [EMAIL PROTECTED]
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net



Re: IMAP before relay

2004-06-20 Thread Conny Brunnkvist
Nate Duehr wrote:
Ward Willats wrote:
Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
server with few relayers, pop-before-smtp still works very well, thank 
Anyone know of any good way to implement IMAP before relay for those of 
us that left POP3 in the 80's where it belongs?  ;-)
The recently mentioned pop-before-smtp script works quite good, albeit a 
bit contradictory, for IMAP-logins as well. And it's already packaged in 
Debian together with (IIRC) a couple of good examples for well known 
IMAP-servers.

But just as Jérôme also points out, the nature of IMAP makes this method 
less fit for control of relaying. You *will* start noticing one or both 
of the following side-effects after prolonged use:
 * Your users curse loudly and call you up to fix the mail server 
each time they finish writing a long e-mail
 * Your users, after being educated several times, develop an 
instictive Save draft, restart mail client, Edit draft, Send-routine, 
which in the end makes them feel reluctant towards using your system as 
a whole ;-)

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


IMAP before relay (was: pop before smtp relay)

2004-06-20 Thread Nate Duehr
Ward Willats wrote:
Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
server with few relayers, pop-before-smtp still works very well, thank 
you, with no existing client configuration changes.
Anyone know of any good way to implement IMAP before relay for those of 
us that left POP3 in the 80's where it belongs?  ;-)

Nate Duehr, [EMAIL PROTECTED]



Re: IMAP before relay (was: pop before smtp relay)

2004-06-20 Thread Jérôme Warnier
Le dim 20/06/2004 à 08:26, Nate Duehr a écrit :
 Ward Willats wrote:
 
  Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
  server with few relayers, pop-before-smtp still works very well, thank 
  you, with no existing client configuration changes.
 
 Anyone know of any good way to implement IMAP before relay for those of 
 us that left POP3 in the 80's where it belongs?  ;-)
I would recommend using EXACT[1] for example. IMAP-before-SMTP will not
work as well as POP-before-SMTP, though. The reason is simple: with
POP3, you connect, download the e-mails and de-connect. With IMAP, you
connect and keep connected until you leave your e-mail client (or your
connection explicitely).

[1] http://www.britishsteal.com/dist/exact/
I have Debian packages if you need so.

 Nate Duehr, [EMAIL PROTECTED]
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net




Re: IMAP before relay

2004-06-20 Thread Conny Brunnkvist
Nate Duehr wrote:
Ward Willats wrote:
Yeah, everyone _should_ use AUTH (and heck, SSL), but for a boutique 
server with few relayers, pop-before-smtp still works very well, thank 
Anyone know of any good way to implement IMAP before relay for those of 
us that left POP3 in the 80's where it belongs?  ;-)
The recently mentioned pop-before-smtp script works quite good, albeit a 
bit contradictory, for IMAP-logins as well. And it's already packaged in 
Debian together with (IIRC) a couple of good examples for well known 
IMAP-servers.

But just as Jérôme also points out, the nature of IMAP makes this method 
less fit for control of relaying. You *will* start noticing one or both 
of the following side-effects after prolonged use:
 * Your users curse loudly and call you up to fix the mail server 
each time they finish writing a long e-mail
 * Your users, after being educated several times, develop an 
instictive Save draft, restart mail client, Edit draft, Send-routine, 
which in the end makes them feel reluctant towards using your system as 
a whole ;-)

//conny



cyrus-imap and active directory

2004-05-03 Thread Timo Veith
Hi list,

I already sent this mail to the info-cyrus list two days ago, but I didn't 
get any answers. I hope someone here can help me.

I want cyrus-imap to authenticate via GSSAPI against our active directory. 
I am using Debian testing (hoping it will become stable soon) with the 
according versions of programs and libraries:

cyrus21-imapd-2.1.16-4
libsasl2-2.1.15-6

I have set this up so far:
- dns is ok, i checked forward and reverse lookup in either way
- cyrus is running, I hardly edited /etc/imapd.conf (see file below)
- created a service account in AD and mapped to the principal with ktpass
- exported a keytab file and transfered it to the Debian box
- placed it at /etc/krb5.keytab with ktutil, readable for cyrus 

Then I wanted to test the auth process with imtest, so I did a kinit with 
my AD user named tv. After this I ran imtest, like so:

[EMAIL PROTECTED] [~] imtest -m GSSAPI -u tv -a tv zwo222-mx.ds.fh-kl.de
S: * OK zwo222-mx Cyrus IMAP4 v2.1.16-IPv6-Debian-2.1.16-4 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=GSSAPI LISTEXT 
LIST-SUBSCRIBED ANNOTATEMORE
S: C01 OK Completed
C: A01 AUTHENTICATE GSSAPI
S: +
C: YIIFJQYJKoZ ... lots of chars ... 34WsclCA==
S: A01 NO generic failure
Authentication failed. generic failure
Security strength factor: 0
 I hit CTRL-C here 
C: Q01 LOGOUT
Connection closed.


The mail.log says:
 zwo222-mx cyrus/imapd[2383]: badlogin: zwo222-mx.ds.fh-kl.de[10.0.4.201] 
GSSAPI [SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure 
(No principal in keytab matches desired name)]

This is in the keytab:
[EMAIL PROTECTED] [~] ktutil
ktutil:  rkt /etc/krb5.keytab
ktutil:  list
slot KVNO Principal
  
-
   13   imap/[EMAIL PROTECTED]
ktutil:  q

This is my imapd.conf (almost default):
[EMAIL PROTECTED] [~] egrep -v '^#.*|^$' /etc/imapd.conf
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
admins: cyrus
allowanonymouslogin: yes
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: GSSAPI
sasl_auto_transition: no
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify

output of klist after the imtest command:
[EMAIL PROTECTED] [~] klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: [EMAIL PROTECTED]

Valid starting ExpiresService principal
04/30/04 19:42:38  05/01/04 05:42:38  krbtgt/[EMAIL PROTECTED]
04/30/04 19:43:04  05/01/04 05:42:38  
imap/[EMAIL PROTECTED]


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

What am I doing wrong? I also wanted to try the sample-client and 
sample-server programs, but I cound manage to compile them yet. 

Desperately and thanks for any reply

Timo


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



cyrus-imap and active directory

2004-05-03 Thread Timo Veith
Hi list,

I already sent this mail to the info-cyrus list two days ago, but I didn't 
get any answers. I hope someone here can help me.

I want cyrus-imap to authenticate via GSSAPI against our active directory. 
I am using Debian testing (hoping it will become stable soon) with the 
according versions of programs and libraries:

cyrus21-imapd-2.1.16-4
libsasl2-2.1.15-6

I have set this up so far:
- dns is ok, i checked forward and reverse lookup in either way
- cyrus is running, I hardly edited /etc/imapd.conf (see file below)
- created a service account in AD and mapped to the principal with ktpass
- exported a keytab file and transfered it to the Debian box
- placed it at /etc/krb5.keytab with ktutil, readable for cyrus 

Then I wanted to test the auth process with imtest, so I did a kinit with 
my AD user named tv. After this I ran imtest, like so:

[EMAIL PROTECTED] [~] imtest -m GSSAPI -u tv -a tv zwo222-mx.ds.fh-kl.de
S: * OK zwo222-mx Cyrus IMAP4 v2.1.16-IPv6-Debian-2.1.16-4 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=GSSAPI LISTEXT 
LIST-SUBSCRIBED ANNOTATEMORE
S: C01 OK Completed
C: A01 AUTHENTICATE GSSAPI
S: +
C: YIIFJQYJKoZ ... lots of chars ... 34WsclCA==
S: A01 NO generic failure
Authentication failed. generic failure
Security strength factor: 0
 I hit CTRL-C here 
C: Q01 LOGOUT
Connection closed.


The mail.log says:
 zwo222-mx cyrus/imapd[2383]: badlogin: zwo222-mx.ds.fh-kl.de[10.0.4.201] 
GSSAPI [SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure 
(No principal in keytab matches desired name)]

This is in the keytab:
[EMAIL PROTECTED] [~] ktutil
ktutil:  rkt /etc/krb5.keytab
ktutil:  list
slot KVNO Principal
  
-
   13   imap/[EMAIL PROTECTED]
ktutil:  q

This is my imapd.conf (almost default):
[EMAIL PROTECTED] [~] egrep -v '^#.*|^$' /etc/imapd.conf
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
admins: cyrus
allowanonymouslogin: yes
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: GSSAPI
sasl_auto_transition: no
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify

output of klist after the imtest command:
[EMAIL PROTECTED] [~] klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: [EMAIL PROTECTED]

Valid starting ExpiresService principal
04/30/04 19:42:38  05/01/04 05:42:38  krbtgt/[EMAIL PROTECTED]
04/30/04 19:43:04  05/01/04 05:42:38  
imap/[EMAIL PROTECTED]


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

What am I doing wrong? I also wanted to try the sample-client and 
sample-server programs, but I cound manage to compile them yet. 

Desperately and thanks for any reply

Timo




Cyrus Imap Sieve problems

2004-04-22 Thread John Hawley
Hi.

Been experimenting with Cyrus Imap on Debian/unstable.  Any tips on 
getting Sieve working?  I'm using ldap to authenticate both Cyrus Imap 
and Postfix.  All programs from deb packages.  Incoming messages headers 
do have an X-Sieve line.

[EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.
* Sieve is there listening:

[EMAIL PROTECTED]:docs$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
SIEVE fileinto reject envelope vacation imapflags notify subaddress 
relational regex
STARTTLS
OK

.. but seems to be missing the authentication, ie most examples show the 
line:
SASL PLAIN

* this give any more clues?  I think the cert messages are just 
warnings, right?:

[EMAIL PROTECTED]:docs$ sivtest -t  -a jhawley -u jhawley localhost
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify 
subaddress relational regex
S: STARTTLS
S: OK
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
verify error:num=7:certificate signature failure
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: CAPABILITY
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify 
subaddress relational regex
S: OK
Authentication failed. generic failure
Security strength factor: 256

* /etc/imap.d:

[EMAIL PROTECTED]:etc$ grep -v '#' imapd.conf | grep -v '^$'
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
munge8bit: no
lmtp_downcase_rcpt: yes
admins: admin cyrus jhawley
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/ldap.cert
tls_key_file: /etc/ssl/certs/ldap.key
tls_ca_file: /etc/ssl/certs/ca.cert
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: HIGH:MEDIUM:+SSLv2
tls_sieve_require_cert: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
[EMAIL PROTECTED]:etc$ cyradm -u cyrus localhost
IMAP Password:
 localhost
localhost version
name   : Cyrus IMAPD
version: v2.1.16-IPv6-Debian-2.1.16-6 2004/02/26 22:56:56
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.24
environment: Cyrus SASL 2.1.15
Sleepycat Software: Berkeley DB 3.2.9: (June 16, 2003)
Built w/OpenSSL 0.9.7c 30 Sep 2003
Running w/OpenSSL 0.9.7d 17 Mar 2004
CMU Sieve 2.2
DRAC
TCP Wrappers
UCD-SNMP 4.2.5
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
mailboxes.db = skiplist
seen.db = skiplist
subs.db = flat
deliver.db = db3-nosync
tls_sessions.db = db3-nosync
localhost
[EMAIL PROTECTED]:etc# dpkg --list |grep cyrus
ii  cyrus21-admin2.1.16-6  Cyrus mail system 
(administration tool)
ii  cyrus21-clients  2.1.16-6  Cyrus mail system (test clients)
ii  cyrus21-common   2.1.16-6  Cyrus mail system (common files)
ii  cyrus21-doc  2.1.16-6  Cyrus mail system 
(documentation files)
ii  cyrus21-imapd2.1.16-6  Cyrus mail system (IMAP support)
ii  libcyrus-imap-perl21 2.1.16-6  Interface to Cyrus imap 
client imclient library
[EMAIL PROTECTED]:etc# dpkg --list |grep ldap
ii  ldap-utils   2.1.29-2  OpenLDAP utilities
ii  libldap2 2.1.29-2  OpenLDAP libraries
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
[EMAIL PROTECTED]:etc# dpkg --list |grep postfix
ii  postfix  2.0.19-1  A high-performance mail 
transport agent
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
ii  postfix-tls  2.0.19-1  TLS and SASL support for Postfix

** Thanks for any insight.

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


RE: Cyrus Imap Sieve problems

2004-04-22 Thread Christian Storch
I havn't tried cyrus+ldap, but with pam you need
a '/etc/pam.d/sieve' beside '/etc/pam.d/pop' and
'/etc/pam.d/imap'.
Probably you have to do something similar with ldap.

Christian


-Original Message-
From: John Hawley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 6:49 PM
To: [EMAIL PROTECTED]
Subject: Cyrus Imap Sieve problems


Hi.

Been experimenting with Cyrus Imap on Debian/unstable.  Any tips on
getting Sieve working?  I'm using ldap to authenticate both Cyrus Imap
and Postfix.  All programs from deb packages.  Incoming messages headers
do have an X-Sieve line.

[EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.


* Sieve is there listening:

[EMAIL PROTECTED]:docs$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
SIEVE fileinto reject envelope vacation imapflags notify subaddress
relational regex
STARTTLS
OK

.. but seems to be missing the authentication, ie most examples show the
line:
SASL PLAIN

* this give any more clues?  I think the cert messages are just
warnings, right?:

[EMAIL PROTECTED]:docs$ sivtest -t  -a jhawley -u jhawley localhost
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify
subaddress relational regex
S: STARTTLS
S: OK
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
verify error:num=7:certificate signature failure
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: CAPABILITY
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify
subaddress relational regex
S: OK
Authentication failed. generic failure
Security strength factor: 256

* /etc/imap.d:

[EMAIL PROTECTED]:etc$ grep -v '#' imapd.conf | grep -v '^$'
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
munge8bit: no
lmtp_downcase_rcpt: yes
admins: admin cyrus jhawley
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/ldap.cert
tls_key_file: /etc/ssl/certs/ldap.key
tls_ca_file: /etc/ssl/certs/ca.cert
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: HIGH:MEDIUM:+SSLv2
tls_sieve_require_cert: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify

[EMAIL PROTECTED]:etc$ cyradm -u cyrus localhost
IMAP Password:
  localhost
localhost version
name   : Cyrus IMAPD
version: v2.1.16-IPv6-Debian-2.1.16-6 2004/02/26 22:56:56
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.24
environment: Cyrus SASL 2.1.15
 Sleepycat Software: Berkeley DB 3.2.9: (June 16, 2003)
 Built w/OpenSSL 0.9.7c 30 Sep 2003
 Running w/OpenSSL 0.9.7d 17 Mar 2004
 CMU Sieve 2.2
 DRAC
 TCP Wrappers
 UCD-SNMP 4.2.5
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 auth = unix
 idle = poll
 mailboxes.db = skiplist
 seen.db = skiplist
 subs.db = flat
 deliver.db = db3-nosync
 tls_sessions.db = db3-nosync
localhost

[EMAIL PROTECTED]:etc# dpkg --list |grep cyrus
ii  cyrus21-admin2.1.16-6  Cyrus mail system
(administration tool)
ii  cyrus21-clients  2.1.16-6  Cyrus mail system (test clients)
ii  cyrus21-common   2.1.16-6  Cyrus mail system (common files)
ii  cyrus21-doc  2.1.16-6  Cyrus mail system
(documentation files)
ii  cyrus21-imapd2.1.16-6  Cyrus mail system (IMAP support)
ii  libcyrus-imap-perl21 2.1.16-6  Interface to Cyrus imap
client imclient library
[EMAIL PROTECTED]:etc# dpkg --list |grep ldap
ii  ldap-utils   2.1.29-2  OpenLDAP utilities
ii  libldap2 2.1.29-2  OpenLDAP libraries
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
[EMAIL PROTECTED]:etc# dpkg --list |grep postfix
ii  postfix  2.0.19-1  A high-performance mail
transport agent
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
ii  postfix-tls  2.0.19-1  TLS and SASL support for Postfix


** Thanks for any insight.

--
John Hawley
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe

Cyrus Imap Sieve problems

2004-04-22 Thread John Hawley
Hi.
Been experimenting with Cyrus Imap on Debian/unstable.  Any tips on 
getting Sieve working?  I'm using ldap to authenticate both Cyrus Imap 
and Postfix.  All programs from deb packages.  Incoming messages headers 
do have an X-Sieve line.

[EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.
* Sieve is there listening:
[EMAIL PROTECTED]:docs$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
SIEVE fileinto reject envelope vacation imapflags notify subaddress 
relational regex
STARTTLS
OK

.. but seems to be missing the authentication, ie most examples show the 
line:
SASL PLAIN

* this give any more clues?  I think the cert messages are just 
warnings, right?:

[EMAIL PROTECTED]:docs$ sivtest -t  -a jhawley -u jhawley localhost
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify 
subaddress relational regex
S: STARTTLS
S: OK
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
verify error:num=7:certificate signature failure
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: CAPABILITY
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify 
subaddress relational regex
S: OK
Authentication failed. generic failure
Security strength factor: 256

* /etc/imap.d:
[EMAIL PROTECTED]:etc$ grep -v '#' imapd.conf | grep -v '^$'
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
munge8bit: no
lmtp_downcase_rcpt: yes
admins: admin cyrus jhawley
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/ldap.cert
tls_key_file: /etc/ssl/certs/ldap.key
tls_ca_file: /etc/ssl/certs/ca.cert
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: HIGH:MEDIUM:+SSLv2
tls_sieve_require_cert: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
[EMAIL PROTECTED]:etc$ cyradm -u cyrus localhost
IMAP Password:
 localhost
localhost version
name   : Cyrus IMAPD
version: v2.1.16-IPv6-Debian-2.1.16-6 2004/02/26 22:56:56
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.24
environment: Cyrus SASL 2.1.15
Sleepycat Software: Berkeley DB 3.2.9: (June 16, 2003)
Built w/OpenSSL 0.9.7c 30 Sep 2003
Running w/OpenSSL 0.9.7d 17 Mar 2004
CMU Sieve 2.2
DRAC
TCP Wrappers
UCD-SNMP 4.2.5
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
mailboxes.db = skiplist
seen.db = skiplist
subs.db = flat
deliver.db = db3-nosync
tls_sessions.db = db3-nosync
localhost
[EMAIL PROTECTED]:etc# dpkg --list |grep cyrus
ii  cyrus21-admin2.1.16-6  Cyrus mail system 
(administration tool)
ii  cyrus21-clients  2.1.16-6  Cyrus mail system (test clients)
ii  cyrus21-common   2.1.16-6  Cyrus mail system (common files)
ii  cyrus21-doc  2.1.16-6  Cyrus mail system 
(documentation files)
ii  cyrus21-imapd2.1.16-6  Cyrus mail system (IMAP support)
ii  libcyrus-imap-perl21 2.1.16-6  Interface to Cyrus imap 
client imclient library
[EMAIL PROTECTED]:etc# dpkg --list |grep ldap
ii  ldap-utils   2.1.29-2  OpenLDAP utilities
ii  libldap2 2.1.29-2  OpenLDAP libraries
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
[EMAIL PROTECTED]:etc# dpkg --list |grep postfix
ii  postfix  2.0.19-1  A high-performance mail 
transport agent
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
ii  postfix-tls  2.0.19-1  TLS and SASL support for Postfix

** Thanks for any insight.
--
John Hawley
[EMAIL PROTECTED]



RE: Cyrus Imap Sieve problems

2004-04-22 Thread Christian Storch
I havn't tried cyrus+ldap, but with pam you need
a '/etc/pam.d/sieve' beside '/etc/pam.d/pop' and
'/etc/pam.d/imap'.
Probably you have to do something similar with ldap.

Christian


-Original Message-
From: John Hawley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 6:49 PM
To: debian-isp@lists.debian.org
Subject: Cyrus Imap Sieve problems


Hi.

Been experimenting with Cyrus Imap on Debian/unstable.  Any tips on
getting Sieve working?  I'm using ldap to authenticate both Cyrus Imap
and Postfix.  All programs from deb packages.  Incoming messages headers
do have an X-Sieve line.

[EMAIL PROTECTED]:docs$ sieveshell -a jhawley -u jhawley localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.


* Sieve is there listening:

[EMAIL PROTECTED]:docs$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
SIEVE fileinto reject envelope vacation imapflags notify subaddress
relational regex
STARTTLS
OK

.. but seems to be missing the authentication, ie most examples show the
line:
SASL PLAIN

* this give any more clues?  I think the cert messages are just
warnings, right?:

[EMAIL PROTECTED]:docs$ sivtest -t  -a jhawley -u jhawley localhost
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify
subaddress relational regex
S: STARTTLS
S: OK
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
verify error:num=7:certificate signature failure
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: CAPABILITY
S: IMPLEMENTATION Cyrus timsieved v2.1.16-IPv6-Debian-2.1.16-6
S: SIEVE fileinto reject envelope vacation imapflags notify
subaddress relational regex
S: OK
Authentication failed. generic failure
Security strength factor: 256

* /etc/imap.d:

[EMAIL PROTECTED]:etc$ grep -v '#' imapd.conf | grep -v '^$'
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
munge8bit: no
lmtp_downcase_rcpt: yes
admins: admin cyrus jhawley
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/ldap.cert
tls_key_file: /etc/ssl/certs/ldap.key
tls_ca_file: /etc/ssl/certs/ca.cert
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: HIGH:MEDIUM:+SSLv2
tls_sieve_require_cert: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify

[EMAIL PROTECTED]:etc$ cyradm -u cyrus localhost
IMAP Password:
  localhost
localhost version
name   : Cyrus IMAPD
version: v2.1.16-IPv6-Debian-2.1.16-6 2004/02/26 22:56:56
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.24
environment: Cyrus SASL 2.1.15
 Sleepycat Software: Berkeley DB 3.2.9: (June 16, 2003)
 Built w/OpenSSL 0.9.7c 30 Sep 2003
 Running w/OpenSSL 0.9.7d 17 Mar 2004
 CMU Sieve 2.2
 DRAC
 TCP Wrappers
 UCD-SNMP 4.2.5
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 auth = unix
 idle = poll
 mailboxes.db = skiplist
 seen.db = skiplist
 subs.db = flat
 deliver.db = db3-nosync
 tls_sessions.db = db3-nosync
localhost

[EMAIL PROTECTED]:etc# dpkg --list |grep cyrus
ii  cyrus21-admin2.1.16-6  Cyrus mail system
(administration tool)
ii  cyrus21-clients  2.1.16-6  Cyrus mail system (test clients)
ii  cyrus21-common   2.1.16-6  Cyrus mail system (common files)
ii  cyrus21-doc  2.1.16-6  Cyrus mail system
(documentation files)
ii  cyrus21-imapd2.1.16-6  Cyrus mail system (IMAP support)
ii  libcyrus-imap-perl21 2.1.16-6  Interface to Cyrus imap
client imclient library
[EMAIL PROTECTED]:etc# dpkg --list |grep ldap
ii  ldap-utils   2.1.29-2  OpenLDAP utilities
ii  libldap2 2.1.29-2  OpenLDAP libraries
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
[EMAIL PROTECTED]:etc# dpkg --list |grep postfix
ii  postfix  2.0.19-1  A high-performance mail
transport agent
ii  postfix-ldap 2.0.19-1  LDAP map support for Postfix
ii  postfix-tls  2.0.19-1  TLS and SASL support for Postfix


** Thanks for any insight.

--
John Hawley
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject

Re: IMAP automagic replication?

2004-03-01 Thread Alex Borges
El sáb, 28-02-2004 a las 18:51, Adam ENDRODI escribió:
 On Sun, Feb 29, 2004 at 01:00:09AM +0100, Kilian Krause wrote:
  
  I came accross the idea of using CODA for replication of the filesys
  even though the slow network connection, but somewhat i doubt it'll be
  performant over internet. Especially more performant than plain IMAP
  replication. Anybody having numbers on these ones?
 
 I guess you don't want to sync at the file system level.  Coda
 won't be an easy battle and is generally agreed not to be
 suitable for real-time applications (read: bloody slow).
 Moreover, apart from the rumours, wou'd definitely need
 to complicate the architect with another layer--some kind
 of encrypting tunnel.

DRBD ... this is what i use, and it works fine. It is very bandwith
sensitive though.

 
 just my gut feelings,
 adam
 
 -- 
 Am I a cleric? | 1024D/37B8D989
 Or maybe a sinner? | 954B 998A E5F5 BA2A 3622
 Unbeliever?| 82DD 54C2 843D 37B8 D989
 Renegade?  | http://sks.dnsalias.net
 


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



Re: IMAP automagic replication?

2004-03-01 Thread Alex Borges
El sáb, 28-02-2004 a las 18:51, Adam ENDRODI escribió:
 On Sun, Feb 29, 2004 at 01:00:09AM +0100, Kilian Krause wrote:
  
  I came accross the idea of using CODA for replication of the filesys
  even though the slow network connection, but somewhat i doubt it'll be
  performant over internet. Especially more performant than plain IMAP
  replication. Anybody having numbers on these ones?
 
 I guess you don't want to sync at the file system level.  Coda
 won't be an easy battle and is generally agreed not to be
 suitable for real-time applications (read: bloody slow).
 Moreover, apart from the rumours, wou'd definitely need
 to complicate the architect with another layer--some kind
 of encrypting tunnel.

DRBD ... this is what i use, and it works fine. It is very bandwith
sensitive though.

 
 just my gut feelings,
 adam
 
 -- 
 Am I a cleric? | 1024D/37B8D989
 Or maybe a sinner? | 954B 998A E5F5 BA2A 3622
 Unbeliever?| 82DD 54C2 843D 37B8 D989
 Renegade?  | http://sks.dnsalias.net
 




IMAP automagic replication?

2004-02-28 Thread Kilian Krause
Hi guys,

i have 2 systems up with Exim+Procmail+Courier-IMAPd serving my
Maildirs.. So far, so easy and working fine. ;)
Synchronization with mailsync does work ok, but takes kinda long (too
long to make it run every few minutes)
However, now i want to add some magic that when i read Mail on one
system it's automagically synced to the other. A friend of mine proposed
Cyrus and murder to setup a load balancer which would sync all imap
requests altering one mailspool to the other. (and mail could be relayed
to the other system thru a procmail recipe with setting an X-Loop
header, so that'd be easy enough)

Has anyone already gotten Courier to replicate or shall i give Cyrus a
try?

Thanks for your oppinion ;)

-- 
Best regards,
 Kilian


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: IMAP automagic replication?

2004-02-28 Thread Kilian Krause
Hi again ;)

maybe to clearify why not simply going NFS or whatever local filesys
replication: the servers are not in one network, but the one is on
768/128 kBit DSL and shall serve for the local net it's in.

I came accross the idea of using CODA for replication of the filesys
even though the slow network connection, but somewhat i doubt it'll be
performant over internet. Especially more performant than plain IMAP
replication. Anybody having numbers on these ones?

-- 
Best regards,
 Kilian


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: IMAP automagic replication?

2004-02-28 Thread Adam ENDRODI
On Sun, Feb 29, 2004 at 01:00:09AM +0100, Kilian Krause wrote:
 
 I came accross the idea of using CODA for replication of the filesys
 even though the slow network connection, but somewhat i doubt it'll be
 performant over internet. Especially more performant than plain IMAP
 replication. Anybody having numbers on these ones?

I guess you don't want to sync at the file system level.  Coda
won't be an easy battle and is generally agreed not to be
suitable for real-time applications (read: bloody slow).
Moreover, apart from the rumours, wou'd definitely need
to complicate the architect with another layer--some kind
of encrypting tunnel.

just my gut feelings,
adam

-- 
Am I a cleric? | 1024D/37B8D989
Or maybe a sinner? | 954B 998A E5F5 BA2A 3622
Unbeliever?| 82DD 54C2 843D 37B8 D989
Renegade?  | http://sks.dnsalias.net


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



Re: Courier-imap Outlook problem - RE: Imap imap-ssl pop3-ssl

2004-02-15 Thread Fraser Campbell
On February 12, 2004 11:31 pm, Debian ISP wrote:

 One problem we keep having involves M$ Outlook clients. It seems that
 something breaks with the communication between the server and Outlook
 clients (or posssible corrupts the pst files created for each maildir).

I haven't heard of that but most clients I have won't let go of pop3.  When 
imap is used Outlook (and other mail clients) like to make quite a few 
connections to the server, it could be that some connections are getting 
refused.  I've run into this and it's not an obvious problem.

I usually increase MAXPERIP to 10, it's default is 4.  The parameter is found 
in /etc/courier/imapd

-- 
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]



Re: Courier-imap Outlook problem - RE: Imap imap-ssl pop3-ssl

2004-02-15 Thread Fraser Campbell
On February 12, 2004 11:31 pm, Debian ISP wrote:

 One problem we keep having involves M$ Outlook clients. It seems that
 something breaks with the communication between the server and Outlook
 clients (or posssible corrupts the pst files created for each maildir).

I haven't heard of that but most clients I have won't let go of pop3.  When 
imap is used Outlook (and other mail clients) like to make quite a few 
connections to the server, it could be that some connections are getting 
refused.  I've run into this and it's not an obvious problem.

I usually increase MAXPERIP to 10, it's default is 4.  The parameter is found 
in /etc/courier/imapd

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




Re: Imap imap-ssl pop3-ssl

2004-02-13 Thread Brian Olivier
Hello,

Have a look at SSLwrap. It enables SSL for the outside world but locally
no encryption is used.

Brian

 [Sorry for the cross-post - I think it's applicable to both -isp and
 -user.]

 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be
 localhost only, but -ssl services would be publically accessible.

 My reading thus far leads me towards Courier-imap with Exim 4
 backported to stable so I can interface with ClamAV, but feel free to
 point out something important that I've missed.

 Do I need to have a different instance of the server running for each
 protocol?  i.e. one listening on each port that the three services use
 as standard?

 Is there a server that would do the job with just one instance listening
  on all three ports?  Would there be any advantages or disadvantages to
 this?  I'm thinking locking/concurrency/that-sorta-thing.

 How do you deal with this situation?  Are there any gotchas I need to
 know about?  I'm guessing that using Maildirs will alleviate many of the
  problems that mboxes would create ...

 Any pointers/suggestions/cluebats appreciated!

 jc

 --
 Have a nice cup of tea and a biscuit. Fifty-five million Britons can't
 be wrong.  Ooo - jammy dodgers!!


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




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



Re: Imap imap-ssl pop3-ssl

2004-02-13 Thread Donovan Baarda
On Thu, Feb 12, 2004 at 07:16:26PM -0600, Jose Alberto Guzman wrote:
 Jonathan Matthews wrote:
[...]
 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
 localhost only, but -ssl services would be publically accessible.
 
 My reading thus far leads me towards Courier-imap with Exim 4 
 backported to stable so I can interface with ClamAV, but feel free to 
 point out something important that I've missed.
 
 Do I need to have a different instance of the server running for each 
 protocol?  i.e. one listening on each port that the three services use 
 as standard?
 
 Is there a server that would do the job with just one instance listening 
 on all three ports?  Would there be any advantages or disadvantages to 
 this?  I'm thinking locking/concurrency/that-sorta-thing.
[...]
  What we run here, is standard uw-imap and popa3d, with stunnel. Works 
 like a charm.

I use postfix+uw-imap+ipopd from testing which supports ssl
directly. We then use shorewall firewalling to limit access to the
non-ssl ports. This uses inetd for the pop and imap servers, and mbox
mailboxes. It works fine, and seems to be the best set up for mbox
mailboxes.

On another machine I use
postfix+courier-imap-ssl+courier-pop-ssl+procmail. Procmail is used
with a global /etc/procmailrc to make postfix deliver into Maildir
mailboxes. Courier uses a heap of it's own daemons for everything,
which I didn't like, but it seems to work OK. This seems to be the
best setup for Maildir (flame suit on), with the possible exception
of using something else instead of procmail for delivery.

The big problem I found with Maildir is everything else seems to
assume mbox (including the you have mail notification at the command
line), and it's hard work to find and configure everything for it.

I documented this stuff ages ago on the debian wiki last time I went
through this;

http://wiki.debian.net/index.cgi?EmailConfiguration

http://wiki.debian.net/index.cgi?MaildirConfiguration

Feel free to update these as you go :-)

-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/



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



Re: Imap imap-ssl pop3-ssl

2004-02-13 Thread Brian Olivier
Hello,

Have a look at SSLwrap. It enables SSL for the outside world but locally
no encryption is used.

Brian

 [Sorry for the cross-post - I think it's applicable to both -isp and
 -user.]

 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be
 localhost only, but -ssl services would be publically accessible.

 My reading thus far leads me towards Courier-imap with Exim 4
 backported to stable so I can interface with ClamAV, but feel free to
 point out something important that I've missed.

 Do I need to have a different instance of the server running for each
 protocol?  i.e. one listening on each port that the three services use
 as standard?

 Is there a server that would do the job with just one instance listening
  on all three ports?  Would there be any advantages or disadvantages to
 this?  I'm thinking locking/concurrency/that-sorta-thing.

 How do you deal with this situation?  Are there any gotchas I need to
 know about?  I'm guessing that using Maildirs will alleviate many of the
  problems that mboxes would create ...

 Any pointers/suggestions/cluebats appreciated!

 jc

 --
 Have a nice cup of tea and a biscuit. Fifty-five million Britons can't
 be wrong.  Ooo - jammy dodgers!!


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






Re: Imap imap-ssl pop3-ssl

2004-02-13 Thread Donovan Baarda
On Thu, Feb 12, 2004 at 07:16:26PM -0600, Jose Alberto Guzman wrote:
 Jonathan Matthews wrote:
[...]
 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
 localhost only, but -ssl services would be publically accessible.
 
 My reading thus far leads me towards Courier-imap with Exim 4 
 backported to stable so I can interface with ClamAV, but feel free to 
 point out something important that I've missed.
 
 Do I need to have a different instance of the server running for each 
 protocol?  i.e. one listening on each port that the three services use 
 as standard?
 
 Is there a server that would do the job with just one instance listening 
 on all three ports?  Would there be any advantages or disadvantages to 
 this?  I'm thinking locking/concurrency/that-sorta-thing.
[...]
  What we run here, is standard uw-imap and popa3d, with stunnel. Works 
 like a charm.

I use postfix+uw-imap+ipopd from testing which supports ssl
directly. We then use shorewall firewalling to limit access to the
non-ssl ports. This uses inetd for the pop and imap servers, and mbox
mailboxes. It works fine, and seems to be the best set up for mbox
mailboxes.

On another machine I use
postfix+courier-imap-ssl+courier-pop-ssl+procmail. Procmail is used
with a global /etc/procmailrc to make postfix deliver into Maildir
mailboxes. Courier uses a heap of it's own daemons for everything,
which I didn't like, but it seems to work OK. This seems to be the
best setup for Maildir (flame suit on), with the possible exception
of using something else instead of procmail for delivery.

The big problem I found with Maildir is everything else seems to
assume mbox (including the you have mail notification at the command
line), and it's hard work to find and configure everything for it.

I documented this stuff ages ago on the debian wiki last time I went
through this;

http://wiki.debian.net/index.cgi?EmailConfiguration

http://wiki.debian.net/index.cgi?MaildirConfiguration

Feel free to update these as you go :-)

-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/





Courier-imap Outlook problem - RE: Imap imap-ssl pop3-ssl

2004-02-12 Thread Debian ISP
We are using courier-imap in the configuration outlined on the marlow.dk
website.

One problem we keep having involves M$ Outlook clients. It seems that
something breaks with the communication between the server and Outlook
clients (or posssible corrupts the pst files created for each maildir).

Has anyone else been faced with this problem? Since we are unable to
convince our clients to move to Debian desktops with KMail or some other OSS
alternative, some workaround for this issue would be greatly appreciated!

Googling has not proven very helpful (only confirmed this as a problem).

Thanks in advance,

Hal

-Original Message-
From: Jose Alberto Guzman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 8:16 PM
To: Jonathan Matthews
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Imap  imap-ssl  pop3-ssl


Jonathan Matthews wrote:
 [Sorry for the cross-post - I think it's applicable to both -isp and
 -user.]

 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be
 localhost only, but -ssl services would be publically accessible.

 My reading thus far leads me towards Courier-imap with Exim 4
 backported to stable so I can interface with ClamAV, but feel free to
 point out something important that I've missed.

 Do I need to have a different instance of the server running for each
 protocol?  i.e. one listening on each port that the three services use
 as standard?

 Is there a server that would do the job with just one instance listening
 on all three ports?  Would there be any advantages or disadvantages to
 this?  I'm thinking locking/concurrency/that-sorta-thing.

 How do you deal with this situation?  Are there any gotchas I need to
 know about?  I'm guessing that using Maildirs will alleviate many of the
 problems that mboxes would create ...

 Any pointers/suggestions/cluebats appreciated!

 jc



  What we run here, is standard uw-imap and popa3d, with stunnel. Works
like a charm.

  I know courier could handle everything with a single hand and half the
overhead, maybe someday I'll migrate every mbox into maildir and set
that up, but in the mean time, it does a pretty job.


  José

PS
  please reply to debian-isp


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



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



Re: Imap imap-ssl pop3-ssl

2004-02-12 Thread Jose Alberto Guzman
Jonathan Matthews wrote:
[Sorry for the cross-post - I think it's applicable to both -isp and 
-user.]

I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
localhost only, but -ssl services would be publically accessible.

My reading thus far leads me towards Courier-imap with Exim 4 
backported to stable so I can interface with ClamAV, but feel free to 
point out something important that I've missed.

Do I need to have a different instance of the server running for each 
protocol?  i.e. one listening on each port that the three services use 
as standard?

Is there a server that would do the job with just one instance listening 
on all three ports?  Would there be any advantages or disadvantages to 
this?  I'm thinking locking/concurrency/that-sorta-thing.

How do you deal with this situation?  Are there any gotchas I need to 
know about?  I'm guessing that using Maildirs will alleviate many of the 
problems that mboxes would create ...

Any pointers/suggestions/cluebats appreciated!

jc



 What we run here, is standard uw-imap and popa3d, with stunnel. Works 
like a charm.

 I know courier could handle everything with a single hand and half the 
overhead, maybe someday I'll migrate every mbox into maildir and set 
that up, but in the mean time, it does a pretty job.

 José

PS
 please reply to debian-isp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Imap imap-ssl pop3-ssl

2004-02-12 Thread Jonathan Matthews
[Sorry for the cross-post - I think it's applicable to both -isp and 
-user.]

I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
localhost only, but -ssl services would be publically accessible.

My reading thus far leads me towards Courier-imap with Exim 4 
backported to stable so I can interface with ClamAV, but feel free to 
point out something important that I've missed.

Do I need to have a different instance of the server running for each 
protocol?  i.e. one listening on each port that the three services use 
as standard?

Is there a server that would do the job with just one instance listening 
on all three ports?  Would there be any advantages or disadvantages to 
this?  I'm thinking locking/concurrency/that-sorta-thing.

How do you deal with this situation?  Are there any gotchas I need to 
know about?  I'm guessing that using Maildirs will alleviate many of the 
problems that mboxes would create ...

Any pointers/suggestions/cluebats appreciated!

jc

-- 
Have a nice cup of tea and a biscuit. Fifty-five million Britons can't 
be wrong.  Ooo - jammy dodgers!!




Re: Imap imap-ssl pop3-ssl

2004-02-12 Thread Jose Alberto Guzman
Jonathan Matthews wrote:
[Sorry for the cross-post - I think it's applicable to both -isp and 
-user.]

I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
localhost only, but -ssl services would be publically accessible.

My reading thus far leads me towards Courier-imap with Exim 4 
backported to stable so I can interface with ClamAV, but feel free to 
point out something important that I've missed.

Do I need to have a different instance of the server running for each 
protocol?  i.e. one listening on each port that the three services use 
as standard?

Is there a server that would do the job with just one instance listening 
on all three ports?  Would there be any advantages or disadvantages to 
this?  I'm thinking locking/concurrency/that-sorta-thing.

How do you deal with this situation?  Are there any gotchas I need to 
know about?  I'm guessing that using Maildirs will alleviate many of the 
problems that mboxes would create ...

Any pointers/suggestions/cluebats appreciated!
jc

 What we run here, is standard uw-imap and popa3d, with stunnel. Works 
like a charm.

 I know courier could handle everything with a single hand and half the 
overhead, maybe someday I'll migrate every mbox into maildir and set 
that up, but in the mean time, it does a pretty job.

 José
PS
 please reply to debian-isp



Courier-imap Outlook problem - RE: Imap imap-ssl pop3-ssl

2004-02-12 Thread Debian ISP
We are using courier-imap in the configuration outlined on the marlow.dk
website.

One problem we keep having involves M$ Outlook clients. It seems that
something breaks with the communication between the server and Outlook
clients (or posssible corrupts the pst files created for each maildir).

Has anyone else been faced with this problem? Since we are unable to
convince our clients to move to Debian desktops with KMail or some other OSS
alternative, some workaround for this issue would be greatly appreciated!

Googling has not proven very helpful (only confirmed this as a problem).

Thanks in advance,

Hal

-Original Message-
From: Jose Alberto Guzman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 8:16 PM
To: Jonathan Matthews
Cc: debian-user@lists.debian.org; debian-isp@lists.debian.org
Subject: Re: Imap  imap-ssl  pop3-ssl


Jonathan Matthews wrote:
 [Sorry for the cross-post - I think it's applicable to both -isp and
 -user.]

 I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be
 localhost only, but -ssl services would be publically accessible.

 My reading thus far leads me towards Courier-imap with Exim 4
 backported to stable so I can interface with ClamAV, but feel free to
 point out something important that I've missed.

 Do I need to have a different instance of the server running for each
 protocol?  i.e. one listening on each port that the three services use
 as standard?

 Is there a server that would do the job with just one instance listening
 on all three ports?  Would there be any advantages or disadvantages to
 this?  I'm thinking locking/concurrency/that-sorta-thing.

 How do you deal with this situation?  Are there any gotchas I need to
 know about?  I'm guessing that using Maildirs will alleviate many of the
 problems that mboxes would create ...

 Any pointers/suggestions/cluebats appreciated!

 jc



  What we run here, is standard uw-imap and popa3d, with stunnel. Works
like a charm.

  I know courier could handle everything with a single hand and half the
overhead, maybe someday I'll migrate every mbox into maildir and set
that up, but in the mean time, it does a pretty job.


  José

PS
  please reply to debian-isp


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





Re: high memory problems with imap

2003-12-06 Thread Russell Coker
On Sat, 6 Dec 2003 12:16, Theodore Knab [EMAIL PROTECTED] wrote:
 I have a courier/postfix maildir IMAP mail server with 10GB of RAM.

 Occasionally, the memory gets all chewed up and it becomes unusable. I
 think it becoming unusable because of buffer bounces.
 However, the documentation tells me that the
 virtual memory allocation and bounce buffer problem was fixed in 2001.

My experience is that the problem you describe was occurring in the latest 
2.4.x kernels in late 2002 and early 2003.

It is fixed in the Red Hat and SUSE kernel trees, at the time I had the 
problem I used a SUSE kernel to fix it.  Today I would probably use a Red Hat 
kernel instead.

For such things instead of trying to patch a Debian kernel source tree or a 
kernel.org tree I recommend taking a working and tested kernel source tree 
such as that from Red Hat (which also fixes other bugs that may affect you in 
future).

-- 
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: high memory problems with imap

2003-12-06 Thread Russell Coker
On Sat, 6 Dec 2003 22:36, [EMAIL PROTECTED] (Donovan Baarda) wrote:
 On Sat, Dec 06, 2003 at 06:19:23PM +1100, Russell Coker wrote:
  For such things instead of trying to patch a Debian kernel source tree or
  a kernel.org tree I recommend taking a working and tested kernel source
  tree such as that from Red Hat (which also fixes other bugs that may
  affect you in future).

 Man, that's sad... a Debian list having to recommend a RedHat kernel...

Look on the bright side.  At least you know that on a Debian list you'll get 
the best answer on technical merits.

Producing a good kernel for serious server use is a lot of work.  Red Hat has 
many good kernel coders working 40+ hours a week on back-porting code from 
2.6, writing drivers for various unsupported hardware, and merging the best 
patches that float by the l-k list.

There's no reason for Debian to try to reproduce this effort, the Red Hat 
kernel source is entirely GPL, there's no reason not to use it.  I've been 
meaning to package it for Debian...

-- 
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: high memory problems with imap

2003-12-06 Thread Donovan Baarda
On Sat, Dec 06, 2003 at 06:19:23PM +1100, Russell Coker wrote:
 On Sat, 6 Dec 2003 12:16, Theodore Knab [EMAIL PROTECTED] wrote:
[...]
 For such things instead of trying to patch a Debian kernel source tree or a 
 kernel.org tree I recommend taking a working and tested kernel source tree 
 such as that from Red Hat (which also fixes other bugs that may affect you in 
 future).

Man, that's sad... a Debian list having to recommend a RedHat kernel...



-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/



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



Re: high memory problems with imap

2003-12-06 Thread Theodore Knab
Thanks, that sounds like a perfectly good way to solve the problem.

I never thought to use another distro's kernel. 

I guess it does not really hurt anything to use the RedHat kernel on a
Debian system. Actually, I forgot that RedHat has been making a big effort to 
create a kernel that would run high memory Oracle systems.

Thus, RedHat probably has the most experienced kernel package developers for
high memory support.

 Producing a good kernel for serious server use is a lot of work.  Red
 Hat has
 many good kernel coders working 40+ hours a week on back-porting code
 from
 2.6, writing drivers for various unsupported hardware, and merging the
 best
 patches that float by the l-k list.

 There's no reason for Debian to try to reproduce this effort, the Red
 Hat
 kernel source is entirely GPL, there's no reason not to use it.  I've
 been
 meaning to package it for Debian...


-- 
--
Ted Knab
Chester, MD 21619

--
940216d6021602a41607166696c656c202778696368602d65616e637
02940226c696e646c69702c6f667560256675627478696e67602a416
0716e6563756e2a0


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



Re: high memory problems with imap

2003-12-06 Thread Russell Coker
On Sat, 6 Dec 2003 12:16, Theodore Knab [EMAIL PROTECTED] wrote:
 I have a courier/postfix maildir IMAP mail server with 10GB of RAM.

 Occasionally, the memory gets all chewed up and it becomes unusable. I
 think it becoming unusable because of buffer bounces.
 However, the documentation tells me that the
 virtual memory allocation and bounce buffer problem was fixed in 2001.

My experience is that the problem you describe was occurring in the latest 
2.4.x kernels in late 2002 and early 2003.

It is fixed in the Red Hat and SUSE kernel trees, at the time I had the 
problem I used a SUSE kernel to fix it.  Today I would probably use a Red Hat 
kernel instead.

For such things instead of trying to patch a Debian kernel source tree or a 
kernel.org tree I recommend taking a working and tested kernel source tree 
such as that from Red Hat (which also fixes other bugs that may affect you in 
future).

-- 
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




Re: high memory problems with imap

2003-12-06 Thread Donovan Baarda
On Sat, Dec 06, 2003 at 06:19:23PM +1100, Russell Coker wrote:
 On Sat, 6 Dec 2003 12:16, Theodore Knab [EMAIL PROTECTED] wrote:
[...]
 For such things instead of trying to patch a Debian kernel source tree or a 
 kernel.org tree I recommend taking a working and tested kernel source tree 
 such as that from Red Hat (which also fixes other bugs that may affect you in 
 future).

Man, that's sad... a Debian list having to recommend a RedHat kernel...



-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/





Re: high memory problems with imap

2003-12-06 Thread Theodore Knab
Thanks, that sounds like a perfectly good way to solve the problem.

I never thought to use another distro's kernel. 

I guess it does not really hurt anything to use the RedHat kernel on a
Debian system. Actually, I forgot that RedHat has been making a big effort to 
create a kernel that would run high memory Oracle systems.

Thus, RedHat probably has the most experienced kernel package developers for
high memory support.

 Producing a good kernel for serious server use is a lot of work.  Red
 Hat has
 many good kernel coders working 40+ hours a week on back-porting code
 from
 2.6, writing drivers for various unsupported hardware, and merging the
 best
 patches that float by the l-k list.

 There's no reason for Debian to try to reproduce this effort, the Red
 Hat
 kernel source is entirely GPL, there's no reason not to use it.  I've
 been
 meaning to package it for Debian...


-- 
--
Ted Knab
Chester, MD 21619

--
940216d6021602a41607166696c656c202778696368602d65616e637
02940226c696e646c69702c6f667560256675627478696e67602a416
0716e6563756e2a0




high memory problems with imap

2003-12-05 Thread Theodore Knab
What Debian Linux Kernel works best for High Memory (  4GB) machines
that are
under heavy io loads ?

I have a courier/postfix maildir IMAP mail server with 10GB of RAM.

Occasionally, the memory gets all chewed up and it becomes unusable. I
think it becoming unusable because of buffer bounces.
However, the documentation tells me that the
virtual memory allocation and bounce buffer problem was fixed in 2001.

http://lwn.net/2001/0607/kernel.php3

Is anyone using high memory on servers with heavy loads ?

I am running a 2.4.22 kernel on a machine with a 4GB. This machine is
also under a heavy load as it servers up web-mail, but I have no
problems with it.

However things seem to turn experimental with more than than 4GB of RAM.


-- 
--
Ted Knab
Chester, MD 21619

--
940216d6021602a41607166696c656c202778696368602d65616e637
02940226c696e646c69702c6f667560256675627478696e67602a416
0716e6563756e2a0


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



Re: [IMAP] [Courier] Change the folder separator?

2003-11-07 Thread Dale E Martin
 The courier-imap IMAP server uses the dot ('.') as a separator for
 IMAP folders and not the slash ('/'). So, IMAP subfolders are not nice
 Unix subdirectories.

I thought that you just had to have, for example:
Maildir/.folder1
Maildir/.folder2
Maildir/.folder3

I.e. the folders are subdirectories, but their names begin with a ..  Has
it changed since woody or something?

Take care,
 Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
[EMAIL PROTECTED]
http://www.cliftonlabs.com
pgp key available


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



Re: [IMAP] [Courier] Change the folder separator?

2003-11-07 Thread Dale E Martin
 And if I create, from an IMAP client, a subfolder foo of folder1, I
 get Maildir/.folder1.foo instead of the more logical Maildir/folder1/foo.

I see.  I hadn't ever tried that, I can see how that is annoying.

Take care,
Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
[EMAIL PROTECTED]
http://www.cliftonlabs.com
pgp key available


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



Re: [IMAP] [Courier] Change the folder separator?

2003-11-07 Thread Stephane Bortzmeyer
On Fri, Nov 07, 2003 at 09:22:40AM -0500,
 Dale E Martin [EMAIL PROTECTED] wrote 
 a message of 25 lines which said:

 I thought that you just had to have, for example:
 Maildir/.folder1

And if I create, from an IMAP client, a subfolder foo of folder1,
I get Maildir/.folder1.foo instead of the more logical
Maildir/folder1/foo.


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



[IMAP] [Courier] Change the folder separator?

2003-11-07 Thread Stephane Bortzmeyer
The courier-imap IMAP server uses the dot ('.') as a separator for
IMAP folders and not the slash ('/'). So, IMAP subfolders are not nice
Unix subdirectories.

Is there a way to change it? Reading the source code, it seems it is
not easy, there is not even a '#define FOLDER_SEP .', rather the
literal dot is used in several places.




Re: [IMAP] [Courier] Change the folder separator?

2003-11-07 Thread Stephane Bortzmeyer
On Fri, Nov 07, 2003 at 09:22:40AM -0500,
 Dale E Martin [EMAIL PROTECTED] wrote 
 a message of 25 lines which said:

 I thought that you just had to have, for example:
 Maildir/.folder1

And if I create, from an IMAP client, a subfolder foo of folder1,
I get Maildir/.folder1.foo instead of the more logical
Maildir/folder1/foo.




perdition - squirrelmail (pop3 and imap)

2003-09-26 Thread Craig
Hi Guys

We have squirrelmail running on our mail gateway for remote users to
access their mail from, however sometimes the users mailboxes reside on
other mailservers throughout the WAN.

Is there a way to configure squirrelmail to use something like perhaps
perdition to point
to the users /var/mail/mbox on another mail server ?

At the moment we are having to creating accounts on the gateway mail
server when the user travels and then re-route their mail once they are
back again.

Thanks
Craig


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



courier imap + ldap + virtual mail domains

2003-08-26 Thread Christopher N. Deckard
Hello,
Hopefully someone can help me.  I'm trying to put together a nice
Exim4 + LDAP + Courier IMAP with Maildir mail server.  I've got
Exim4 delivering mail properly to Maildirs for virtual domains with
the domains existing in LDAP and all virtual mail accounts in LDAP. 
Now I need to be able to retrieve the messages.

Does anyone have an example of Courier IMAP that will work with LDAP
and virtual domains?  If you don't have that, Courier IMAP + LDAP
(non virtual) or Courier IMAP without LDAP but handling virtual
domains would at least get me going in the right direction.  Or
should I use a different IMAP server?

Any help that can be given would be great.

Thanks,
-Chris


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



Courier IMAP - retention policies

2003-08-14 Thread Keith Goettert
I don't see where I can set up retention policies in Courier IMAP.  Is
there a good web reference for this?


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



Squirremail + courier imap not happy :-(

2003-07-29 Thread greg



Squirrel Mail is giving ne this error from my 
courier-imap server

"Unknown response 
from IMAP server: 1.* NO Cannot open message 1 + courier"
and it oly seems to be my one account so 
far.

Anyone got an idea how i can fix it ?

Oh and netscape is not talking to courier-imap 
properly , is the courier-imap woody-debian compiled with netscape 
support..



Courier IMAP/POP

2003-07-16 Thread Craig
Hi Guys

Can anyone tell me how to configure Courier to read mail from user
maildirs
in the path and format /var/spool/mail/[EMAIL PROTECTED] ?

ie /var/spool/mail/[EMAIL PROTECTED]

Any assitance would be appreciated.

Thanks
Craig



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



Re: Courier IMAP/POP

2003-07-16 Thread Fraser Campbell
On July 16, 2003 05:52 am, Craig wrote:

 Can anyone tell me how to configure Courier to read mail from user
 maildirs
 in the path and format /var/spool/mail/[EMAIL PROTECTED] ?

 ie /var/spool/mail/[EMAIL PROTECTED]

Set the user's home to /var/spool/mail/[EMAIL PROTECTED]/ and have their mail 
stored in /var/spool/mail/[EMAIL PROTECTED]/Maildir/ ... that should just 
work.

I have set up a few systems recently where there are no real users on the 
machine, user's are set up in mysql and postfix and courier both do lookups 
into mysql.  All mail is delivered via postfix's virtual delivery agent ... 
perhaps that's what you're looking for?  There's very good documentation on 
how to set it up at http://kirb.insanegenius.net/postfix.html

-- 
Fraser Campbell [EMAIL PROTECTED] http://www.wehave.net/
Halton Hills, Ontario, Canada Debian GNU/Linux


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



Re: quota with courier-imap

2003-07-06 Thread Emmanuel Lacour
On Sat, Jul 05, 2003 at 05:23:57PM +, yves codjia wrote:
 hello all 
 I searched for a way to implement IMAP quota using CourierIMAP + authmysqlrc 
 some one can help me pls !

Two ways:

- use maildrop to deliver, it can search for quota in mysql then deliver
the message and update the maildisize file (which contain the maildir
quotas). Courier-imap will take care of this file.

- If you're using postfix, you could use also the patch to the virtual
delivery agent (http://www.oav.net/vda/), it support maildirs quota
and of course can use a mysql table.

If courier-imap works with mysql like with ldap, it seems it never use
the quota field in authldaprc and just uses the maildirsize file :-(



-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com


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



Re: quota with courier-imap

2003-07-06 Thread Emmanuel Lacour
On Sat, Jul 05, 2003 at 05:23:57PM +, yves codjia wrote:
 hello all 
 I searched for a way to implement IMAP quota using CourierIMAP + authmysqlrc 
 some one can help me pls !

Two ways:

- use maildrop to deliver, it can search for quota in mysql then deliver
the message and update the maildisize file (which contain the maildir
quotas). Courier-imap will take care of this file.

- If you're using postfix, you could use also the patch to the virtual
delivery agent (http://www.oav.net/vda/), it support maildirs quota
and of course can use a mysql table.

If courier-imap works with mysql like with ldap, it seems it never use
the quota field in authldaprc and just uses the maildirsize file :-(



-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com




quota with courier-imap

2003-07-05 Thread yves codjia
hello all 
I searched for a way to implement IMAP quota using CourierIMAP + authmysqlrc 
some one can help me pls !
:)
-- 
linux for the revolution'@'



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



quota with courier-imap

2003-07-05 Thread yves codjia
hello all 
I searched for a way to implement IMAP quota using CourierIMAP + authmysqlrc 
some one can help me pls !
:)
-- 
linux for the revolution'@'





exim + courier-IMAP + MySQL

2003-07-03 Thread Jos Elkink
Hi all,

I am trying to set up a mailserver that can handle virtual mail users
for different domains on one IP / server. For this, I am following the
guide on this page:

http://www.tty1.net/virtual_domains_en.html

I am only halfway - did not start with the Exim part yet - and something
is not working. When I test it through telnet, I get:

flizzle:~# telnet localhost imap
Trying 127.0.0.1...
Connected to flizzle.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
1 login [EMAIL PROTECTED] ***
* BYE [ALERT] Fatal error: Maildir: Permission denied
Connection closed by foreign host.

*** Of course being my password. Now the problem seems obvious - the
wrong permissions to the Maildir folders. However, when I change those
to complete public access (just to test, I know it's not secure), it
doesn't help. Can this error mean something else? In other words, who
has no permission to what exactly? :)

Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

Yours,

Jos Elkink
flizzle.net


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



Re: exim + courier-IMAP + MySQL

2003-07-03 Thread Mario Lopez


Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

I use a similar configuration as yours, concretely Qmail + Vpopmail (virtual users) + 
Courier IMAP and MySQL autenthification, I you need help regarding that configuration 
I could help.

As you have sayd you still dont have exim installed and thats maybe why you cannot 
access Maildirs, because maybe there are no maildirs to access?.

Perhaps if you could start your Courier Imap with strace, you could know what files or 
directories it is trying to open.

Mario.


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



RE: exim + courier-IMAP + MySQL

2003-07-03 Thread Daniel Hooper
May I suggest postfix as an MTA if your keen on doing *sql lookups.

I found the best solution for mass mailing host is postfix + amavisd-new
+ spamassassin + razor + clamd + mysql + courier-imap/pop3 . There's
plenty of howto's around for it.

-Original Message-
From: Jos Elkink [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 3 July 2003 10:18 PM
To: [EMAIL PROTECTED]

Hi all,

I am trying to set up a mailserver that can handle virtual mail users
for different domains on one IP / server. For this, I am following the
guide on this page:

http://www.tty1.net/virtual_domains_en.html

I am only halfway - did not start with the Exim part yet - and something
is not working. When I test it through telnet, I get:

flizzle:~# telnet localhost imap
Trying 127.0.0.1...
Connected to flizzle.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
1 login [EMAIL PROTECTED] ***
* BYE [ALERT] Fatal error: Maildir: Permission denied
Connection closed by foreign host.

*** Of course being my password. Now the problem seems obvious - the
wrong permissions to the Maildir folders. However, when I change those
to complete public access (just to test, I know it's not secure), it
doesn't help. Can this error mean something else? In other words, who
has no permission to what exactly? :)

Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

Yours,

Jos Elkink
flizzle.net


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




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



exim + courier-IMAP + MySQL

2003-07-03 Thread Jos Elkink
Hi all,

I am trying to set up a mailserver that can handle virtual mail users
for different domains on one IP / server. For this, I am following the
guide on this page:

http://www.tty1.net/virtual_domains_en.html

I am only halfway - did not start with the Exim part yet - and something
is not working. When I test it through telnet, I get:

flizzle:~# telnet localhost imap
Trying 127.0.0.1...
Connected to flizzle.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
1 login [EMAIL PROTECTED] ***
* BYE [ALERT] Fatal error: Maildir: Permission denied
Connection closed by foreign host.

*** Of course being my password. Now the problem seems obvious - the
wrong permissions to the Maildir folders. However, when I change those
to complete public access (just to test, I know it's not secure), it
doesn't help. Can this error mean something else? In other words, who
has no permission to what exactly? :)

Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

Yours,

Jos Elkink
flizzle.net




Re: exim + courier-IMAP + MySQL

2003-07-03 Thread Mario Lopez


Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

I use a similar configuration as yours, concretely Qmail + Vpopmail (virtual 
users) + Courier IMAP and MySQL autenthification, I you need help regarding 
that configuration I could help.

As you have sayd you still dont have exim installed and thats maybe why you 
cannot access Maildirs, because maybe there are no maildirs to access?.

Perhaps if you could start your Courier Imap with strace, you could know what 
files or directories it is trying to open.

Mario.




RE: exim + courier-IMAP + MySQL

2003-07-03 Thread Daniel Hooper
May I suggest postfix as an MTA if your keen on doing *sql lookups.

I found the best solution for mass mailing host is postfix + amavisd-new
+ spamassassin + razor + clamd + mysql + courier-imap/pop3 . There's
plenty of howto's around for it.

-Original Message-
From: Jos Elkink [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 3 July 2003 10:18 PM
To: debian-isp@lists.debian.org

Hi all,

I am trying to set up a mailserver that can handle virtual mail users
for different domains on one IP / server. For this, I am following the
guide on this page:

http://www.tty1.net/virtual_domains_en.html

I am only halfway - did not start with the Exim part yet - and something
is not working. When I test it through telnet, I get:

flizzle:~# telnet localhost imap
Trying 127.0.0.1...
Connected to flizzle.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
1 login [EMAIL PROTECTED] ***
* BYE [ALERT] Fatal error: Maildir: Permission denied
Connection closed by foreign host.

*** Of course being my password. Now the problem seems obvious - the
wrong permissions to the Maildir folders. However, when I change those
to complete public access (just to test, I know it's not secure), it
doesn't help. Can this error mean something else? In other words, who
has no permission to what exactly? :)

Any help would be very welcome - also if the suggestion is to have a
completely different setup. What I need is virtual users, webmail, and
pop access. And mySQL seemed the easiest, as I work a lot with mySQL, so
I know how to handle it.

Yours,

Jos Elkink
flizzle.net


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






courier-imap und fprot

2003-06-13 Thread Michelle Konzack
Hello, 

because I will get in arround 2-4 month my ADSL-Line with fixed 
IP-Address I like to install the whole courier-imap server (with 
webmail, pop3, mta... and fetchmail)

Now I do not know, how to intergrate fprot or McAffee in my Server. 

(I have no experience with courier-imap) 

Note:   The Mailserver must server one domain and catch mails from 
56 foreign Mail-Accounts (and put it into different User-
Boxes). 

So can anyone help me ???

Thanks
Michelle


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



courier-imap und fprot

2003-06-13 Thread Michelle Konzack
Hello, 

because I will get in arround 2-4 month my ADSL-Line with fixed 
IP-Address I like to install the whole courier-imap server (with 
webmail, pop3, mta... and fetchmail)

Now I do not know, how to intergrate fprot or McAffee in my Server. 

(I have no experience with courier-imap) 

Note:   The Mailserver must server one domain and catch mails from 
56 foreign Mail-Accounts (and put it into different User-
Boxes). 

So can anyone help me ???

Thanks
Michelle




can't compile courier-imap with authmysql *G*

2003-05-11 Thread Gregory Machin
I can't compile with authmysql on debian 3 woody...

yes i do have all the require lib's for mysql got a full server install
and libmysqlclient10 installed.

I have tried the following as sergested by the faq and in mailing list...

CPPFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib
export CPPFLAGS
export LDFLAGS

./configure \
--with-mysql-libs=/usr/local/mysql/lib/mysql \
--with-mysql-includes=/usr/local/mysql/include/mysql \
--with-authmysql \ --with-authmysql=yes ...

and i still get .
configure: error: --with-authmysql specified but no mysqlclient.so
configure: error: /bin/sh ' .configure' failed for authlib

Please help
many thanks
greg




Re: can't compile courier-imap with authmysql *G*

2003-05-11 Thread Emmanuel Lacour
On Sun, May 11, 2003 at 12:57:30PM -, Gregory Machin wrote:
 I can't compile with authmysql on debian 3 woody...
 
Do you really need self compiled courier-authmysql and mysql ... both
exists in woody...

-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com




Re: can't compile courier-imap with authmysql *G*

2003-05-11 Thread Thomas Lamy
Gregory Machin wrote:
 
 I can't compile with authmysql on debian 3 woody...
 
 yes i do have all the require lib's for mysql got a full 
 server install
 and libmysqlclient10 installed.
 
 I have tried the following as sergested by the faq and in 
 mailing list...
 
 CPPFLAGS=-I/usr/local/ssl/include
 LDFLAGS=-L/usr/local/ssl/lib
 export CPPFLAGS
 export LDFLAGS
 
 ./configure \
 --with-mysql-libs=/usr/local/mysql/lib/mysql \
 --with-mysql-includes=/usr/local/mysql/include/mysql \
 --with-authmysql \ --with-authmysql=yes ...
 
 and i still get .
 configure: error: --with-authmysql specified but no mysqlclient.so
 configure: error: /bin/sh ' .configure' failed for authlib
You need libmysqlclient10-dev to compile packages using the mysql client.
You also have to specify --with-mysql-{libs,includes} to point to
/usr/include/mysql and /usr/lib respectively.

I also think that there's no need to compile it yourself, since courier-imap
and authmysql are in stable (Woody). If you realyy want to compile your own,
then get the debianized sources with build dependencies and satisfy them. In
most cases backporting to woody is easier than building from un-debianized
sources.

In general, me (and most debian using people I know of) prefer to (in this
order):
- use the maintainer debs (from woody or sarge)
- backport (or use) debs from sid
- build own debs (merge fresh mainstream sources and the debianized stuff
from the maintainer)
- use mainstream sources only

Most of us are in the ISP business or work for medium to large sized
companies, and IMHO in this position it's wise to benefit from a packet
maintainer's work. If you need a software with no deb maintainer, give back
to the community and actually _become_ a maintainer for that software
package.

Just my 0.02 Euros.

  Thomas

 
 Please help
 many thanks
 greg
 




PLEASE HELP compiling courier-imap on woody

2003-05-10 Thread Gregory Machin
Please advise me on where i can tell the ./configure where to find the
libraries it requires ...

I keep getting errors  indicating that it needs that it cant find
libraries that i know are installed ..

the latest

 cannont find either gdbm or the db libraries 

and any advice on setting up authmysql ??

as this is the only authentication i require ..

Many thanks

greg





Re: PLEASE HELP compiling courier-imap on woody

2003-05-10 Thread Konstantin Kostadinov

try this:

remove all sources that you are downloaded and trying to compile.

apt-get update
apt-cache show courier - select your packages - example :

apt-get install courier-authdaemon courier-pop - this will add you courier auth 
daemon and courier pop3 daemon

edit the courer auth daemon config file and select your primary auth metod: 

vi /etc/courier/authdaemonrc 


 Please advise me on where i can tell the ./configure where to find the
 libraries it requires ...
 
 I keep getting errors  indicating that it needs that it cant find
 libraries that i know are installed ..
 
 the latest
 
  cannont find either gdbm or the db libraries 
 
 and any advice on setting up authmysql ??
 
 as this is the only authentication i require ..
 
 Many thanks
 
 greg
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


-- 

Konstantin Kostadinov
Fadata Ltd.

---
Public PGP : http://www.fadata.bg/pgp/kostaspgp.asc
---


pgpaWkgPKotfu.pgp
Description: PGP signature


IMAP

2003-04-23 Thread Craig
Hi Guys

Can anyone recommend a good, solid, fast IMAP daemon that uses
mbox format ?

..Craig




Re: IMAP

2003-04-23 Thread Shawn Wallbridge
 Hi Guys

 Can anyone recommend a good, solid, fast IMAP daemon that uses
 mbox format ?

 ..Craig


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

I used uw-imap until I decided to move to Maildir and now I use
courier-imap. I found both to be quite solid and stable.

shawn





Re: IMAP

2003-04-23 Thread Andrzej Dalasinski
Dnia Wed, Apr 23, 2003 at 02:13:16AM -0500 Shawn Wallbridge napisa/a:
 I used uw-imap until I decided to move to Maildir and now I use
 courier-imap. I found both to be quite solid and stable.
I use uw-imap on one of my servers, it works nice with mboxes.
On another box i had to install imap with mysql users database, I tried 
courier-imap. It should work with mboxes, but it didn't, so i converted 
mboxes to Maildirs and made changes in db. It works fine for now...

bye, 
/yanek

-- 
Andrzej Dalasiski  | We are Microsoft. 
http://www.ocelotl.eu.org   | What you are experiencing 
JID:[EMAIL PROTECTED] | is not a problem;
ICQ:149147731 GG:2327061| it is an undocumented feature. 




Courier-IMAP+Postfix+LDAP

2003-04-08 Thread Carlos L.M.
Hi all,

 Next week, we have to install a new server with
Courier IMAP, Postfix and OpenLDAP for 200 users.

 Are there any site with documentation about this ??

 And another question: How can I migrate mailbox
accounts to Maildir boxes ???

Thank you very much for your help and sorry for my bad english.

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es




  1   2   3   >