Re: [courier-users] Getting secure authentication to work with IMAP and Thunderbird/Mozilla

2004-12-06 Thread Alexander Skwar
Sam Varshavchik wrote:
 Alexander Skwar writes:

What do I need to configure, so that CRAM-MD5 login works with
IMAP?

Change the imapd configuration file to announce the CRAM-MD5 capability.

Ah! This works just fine.

Thanks a lot,

Alexander Skwar
-- 
Don't tell me what you dreamed last night for I've been reading Freud.
-


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Getting secure authentication to work with IMAP and Thunderbird/Mozilla

2004-12-05 Thread Alexander Skwar
Sam Varshavchik schrieb:
 Alexander Skwar writes:
 
 Hello!
 
 In Mozilla/Thunderbird, I can set in the account options,
 that secure authentication is to be used when authenticating
 against a server. When I enable this, I cannot login to 
 my courier 0.47 / courier imap 3.08 server. In the log, I then
 get such a message:
 
 Dec  5 14:47:08 alturo imapd: Connection, ip=[82.207.218.196]
 
 I suppose, that secure authentication means TLS? Well,
 
 No, it probably means CRAM-MD5 authentication.

Hmm, okay. Do the requirements for CRAM-MD5 in IMAP differ
from those of CRAM-MD5 in SMTP?

If I set SMTP to use TLS in Mozilla and then send a mail, I get this
in the headers of the mail I sent:

Received: from [82.207.218.196] (muedsl-82-207-218-196.citykom.de 
[82.207.218.196])
  (AUTH: CRAM-MD5 [EMAIL PROTECTED], TLS: TLSv1/SSLv3,256bits,AES256-SHA)
  by DOMAIN with esmtp; Sun, 05 Dec 2004 14:27:33 +0100
  id 0911.41B30CDB.2E4A

Note, that it says: AUTH: CRAM-MD5.

So, obviously CRAM-MD5 is working and I am able to use it - on
SMTP.

What do I need to configure, so that CRAM-MD5 login works with
IMAP?

Thanks again,

Alexander Skwar
-- 
What's a cult?  It just means not enough people to make a minority.
-- Robert Altman



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: FAM: Failed to create cache file

2004-12-05 Thread Alexander Skwar
· Alexander Skwar [EMAIL PROTECTED]:

 I'm currently setting up a courier server (smtp + pop + imap) on
 a Gentoo Linux system with kernel2.6.9. 
 
 Whenever I access an imap folder, I get error messages like this:
 
 Dec  5 14:30:27 alturo imapd-ssl: Failed to create cache file: maildirwatch 
 ([EMAIL PROTECTED])
 Dec  5 14:30:27 alturo imapd-ssl: Error: Input/output error
 Dec  5 14:30:27 alturo imapd-ssl: Check for proper operation and configuration
 Dec  5 14:30:27 alturo imapd-ssl: of the File Access Monitor daemon (famd).
 
 How to fix this?

I fixed this (I suppose), by deinstalling fam and installing gamin.
Well, at least I don't get those error messages ánymore :)

Alexander Skwar
-- 
You know you're using the computer too much when:
you look for an undo button while sketching anime.
 -- Pwnz3r





---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Webadmin not working? Always Error 500

2004-11-18 Thread Alexander Skwar
Hi!

I'm having trouble getting the webadmin to work.

Whenever I try to change a setting (any setting, doesn't matter
which one) and click on Ok, I'm getting an Error 500 and the
message Premature end of script headers: webadmin.

I'm using apache 2.0.52 with vhosts. The error_log contains:

[Thu Nov 18 22:06:08 2004] [error] [client 82.207.192.45] Premature end of 
script headers: webadmin, referer:
http://example.net/webmail/webadmin/10password

To be able to use webadmin without SSL, I set a password
in /etc/courier/webadmin/password and touched /etc/courier/webadmin/unsecureok.

Apache2 is configured like this:

##
NameVirtualHost *:80

VirtualHost *:80
ServerName example.net
ServerAlias *.example.net

CustomLog /var/www/example.net/logs/access_log combined
ErrorLog /var/www/example.net/logs/error_log

DocumentRoot /var/www/example.net/htdocs
Directory /var/www/example.net/htdocs
AllowOverride All
Options -Indexes FollowSymLinks MultiViews
IfModule mod_access.c
Order allow,deny
Allow from all
/IfModule
/Directory

ScriptAlias webmail /usr/lib/courier/courier/webmail/
Directory /usr/lib/courier/courier/webmail/
AllowOverride All
Options -Indexes FollowSymLinks ExecCGI
IfModule mod_access.c
Order allow,deny
Allow from all
/IfModule
/Directory
/VirtualHost
##

I'd suppose that this is some sort of permissions problem; that
the webadmin CGI cannot write to some place? As which user/group might
it be trying to write where?

I'm using the courier-0.47 ebuild of Gentoo Linux.

Thanks for any help whatsoever!

Alexander Skwar
-- 
Love thy neighbor, tune thy piano.



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Log analyzer for imap?

2003-01-05 Thread Alexander Skwar
Hi!

I'm looking for a log analyzer for courier imap.  On the courier-mta.org 
page, I found a link Greg Johnstone's log analyzer for Courier, however 
this analyzer doesn't seem to work, as it doesn't produce any output at all.

What other analyzers do you use?

Thanks,

Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.biz  |  Jabber: [EMAIL PROTECTED]
   iso-top.biz - Die günstige Art an Linux Distributionen zu kommen



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Cannot subscribe to some folders

2002-07-18 Thread Alexander Skwar

So sprach Alexander Skwar am 2002-07-06 um 15:15:07 +0200 :
 Hi!
 
 I'm using courier-imap 1.5.0 from the Mandrake Cooker RPMs on a
 MandrakeLinux Cooker PC with Mozilla 1.0, also from Mandrake.
 
 When I try to subscribe to some folders, I always get this message:
 
 The current command did not succeed. The mail server responded: Cannot 
 subscribe to this folder...
 
 The folder I tried to subscribe is listed in the available folders
 when clicking on Subscribe in the folder list of Mozilla.  The
 folder is named AA and is a subfolder of MLs.  In ~/Maildir I've
 got .MLs.AA:
 
 [askwar@teich Maildir]$ ls -la /home/askwar/Maildir/.MLs.AA/
 insgesamt 16
 drwx--5 askwar   askwar 36 Jul  1 11:25 ./
 drwxr-xr-x  151 askwar   askwar  12288 Jul  6 15:06 ../
 drwx--2 askwar   askwar  6 Jul  1 11:25 cur/
 drwx--2 askwar   askwar 64 Jul  1 11:25 new/
 drwx--2 askwar   askwar  6 Jul  1 11:25 tmp/
 
 However, other subfolders of MLs are subscribable, eg. there's
 a subfolder COURIER-USERS:
 
 [askwar@teich Maildir]$ ls -la /home/askwar/Maildir/.MLs.COURIER-USERS/
 insgesamt 308
 drwx--5 askwar   askwar 59 Jul  6 15:07 ./
 drwxr-xr-x  151 askwar   askwar  12288 Jul  6 15:06 ../
 -rw-r--r--1 askwar   askwar 112135 Jul  6 15:07 courierimapuiddb
 drwx--2 askwar   askwar 147456 Jul  6 15:07 cur/
 drwx--2 askwar   askwar  6 Jul  6 15:07 new/
 drwx--2 askwar   askwar  6 Jul  6 12:57 tmp/
 
 These folders have both been created by some procmail rule which
 stores mails in ~/Maildir/.MLs.AA or ~/Maildir/.MLs.COURIER-USERS
 
 Any ideas why I can't subscribe to some folders?

Hm, which additional information should I supply to track down the
problem?  I'd really like to know what I did do wrong...

Thanks a lot for any help!

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.biz |Jabber: [EMAIL PROTECTED]
   iso-top.biz - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 1 hour 54 minutes


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: pop-before-smtp

2002-07-14 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-07-14 um 13:22:17 -0400 :
 Really? Qmail's POP3 server supports POP-before-SMTP? 

With the help of relay-ctrl by Bruce Guenther it does.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 7 days 12 hours 59 minutes


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Not require SSL/TLS for certain IPs?

2002-07-09 Thread Alexander Skwar

Hello.

Is it possible to NOT require SSL/TLS for certain source IPs?

Explanation:

I'm using courier-imap 1.5.0 and set IMAPDSSLSTART=YES,
IMAPDSTARTTLS=YES and IMAP_TLS_REQUIRED=1 in the imapd-ssl config file.
Now I'd also like to have a webmail system (IMP) which will run on the
same host and will only be accessible via https.  Thus the traffic from
the (web-)server to the client is already encrypted and another
encryption layer in the IMAP traffic would only harm (CPU wise and it
would drain entropy).

That's why I'd like to setup courier-imap so, that it allows non-SSL/TLS
connections and logins from 127.0.0.1 but require SSL/TLS from any other
IP.

Can this be done?  Or are there any strong reasons why I should use SSL
even from the webmail systems (ie. reasons other than that courier might
not support what I want)?

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 12 hours 1 minute


---
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Question (or possibly late to the party)

2002-07-09 Thread Alexander Skwar

So sprach f. Andrew Lawton am 2002-07-09 um 15:58:17 + :
 Does anyone have any ideas as to what he's talking about? I'm really not
 sure what run file he's referring to.

/usr/lib/courier-imap/libexec/imapd.rc:

/usr/bin/env - /bin/sh -c  set -a ; . /usr/lib/courier-imap/etc/imapd ; \
. /usr/lib/courier-imap/etc/imapd-ssl ; \
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
/usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/libexec/logger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT \
/usr/bin/envdir /etc/relay-ctrl 
relay-ctrl-chdir \
/usr/lib/courier-imap/sbin/imaplogin $LIBAUTHMODULES \
/usr/lib/courier-imap/bin/imapd Maildir

Same for imapd-ssl.rc and the pop3d's.

PS: A more descriptive subject wouldn't have been that bad...

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 13 hours 23 minutes


---
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap-ssl vs. Outlook Express

2002-07-07 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am 2002-07-07 um 11:06:24 +0300 :
 This just means that OE 6 don't like certificate that Courier IMAP gives
 him. OE 6 by default accept only trusted certificates.

Ah!

Do I need to copy the whole imapd.pem file to Windows, or should I first
remove the -BEGIN RSA PRIVATE KEY- ... -END RSA PRIVATE
KEY- section, so that only -BEGIN CERTIFICATE- ...
-END CERTIFICATE- and -BEGIN DH PARAMETERS- ...
-END DH PARAMETERS- are left in the pem file?

Thanks again,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 0 hours 6 minutes


---
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imap-ssl vs. Outlook Express

2002-07-07 Thread Alexander Skwar

[EMAIL PROTECTED] wrote:
 I use only from -BEGIN CERTIFICATE- to -END 

Yes, this works!  Thanks a lot!

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.de   |  Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 hour 58 minutes



---
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Cannot subscribe to some folders

2002-07-06 Thread Alexander Skwar

Hi!

I'm using courier-imap 1.5.0 from the Mandrake Cooker RPMs on a
MandrakeLinux Cooker PC with Mozilla 1.0, also from Mandrake.

When I try to subscribe to some folders, I always get this message:

The current command did not succeed. The mail server responded: Cannot 
subscribe to this folder...

The folder I tried to subscribe is listed in the available folders
when clicking on Subscribe in the folder list of Mozilla.  The
folder is named AA and is a subfolder of MLs.  In ~/Maildir I've
got .MLs.AA:

[askwar@teich Maildir]$ ls -la /home/askwar/Maildir/.MLs.AA/
insgesamt 16
drwx--5 askwar   askwar 36 Jul  1 11:25 ./
drwxr-xr-x  151 askwar   askwar  12288 Jul  6 15:06 ../
drwx--2 askwar   askwar  6 Jul  1 11:25 cur/
drwx--2 askwar   askwar 64 Jul  1 11:25 new/
drwx--2 askwar   askwar  6 Jul  1 11:25 tmp/

However, other subfolders of MLs are subscribable, eg. there's
a subfolder COURIER-USERS:

[askwar@teich Maildir]$ ls -la /home/askwar/Maildir/.MLs.COURIER-USERS/
insgesamt 308
drwx--5 askwar   askwar 59 Jul  6 15:07 ./
drwxr-xr-x  151 askwar   askwar  12288 Jul  6 15:06 ../
-rw-r--r--1 askwar   askwar 112135 Jul  6 15:07 courierimapuiddb
drwx--2 askwar   askwar 147456 Jul  6 15:07 cur/
drwx--2 askwar   askwar  6 Jul  6 15:07 new/
drwx--2 askwar   askwar  6 Jul  6 12:57 tmp/

These folders have both been created by some procmail rule which
stores mails in ~/Maildir/.MLs.AA or ~/Maildir/.MLs.COURIER-USERS

Any ideas why I can't subscribe to some folders?

Thanks,

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.de   |  Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 days 22 hours 26 minutes



---
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] imap-ssl vs. Outlook Express

2002-07-06 Thread Alexander Skwar

Hi!

I'm running courier-imap 1.5.0 on a SuSE 7.2 server.  I've installed 
courier-imap using the RPM spec file from the .tar.gz file of courier-imap.

I'd like to be able to also use Outlook Express with imap-ssl.  I've 
enabled IMAPDSSLSTART and IMAPDSTARTTLS in 
/usr/lib/courier-imap/etc/imapd-ssl.

In Outlook Express 6.0, I've enabled This server requires a secure 
connection (SSL) for the IMAP server.  Doing so changed the port to 993.

When I try to connect to the server, I get this error message in Outlook 
Express:

Konfiguration:
Konto: mci IMAP
Server: message-center.info
Benutzername: [EMAIL PROTECTED]
Protokoll: IMAP
Port: 993
Secure (SSL): 1
Code: 800ccc03

The logs on the server don't show anything.

Well, any ideas about what I'm doing wrong?  Or how can I make Outlook 
Express use STARTTLS?

(No, not using Outlook Express is not an option - I myself don't use 
this .  But I'd like to offer a solution to my users who are stuck 
with this software.)

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.de   |  Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 7 days 9 hours 17 minutes



---
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: webmail and webadmin require %{cgibindir}

2002-06-25 Thread Alexander Skwar

On Mon, 24 Jun 2002 18:47:52 -0400
Sam Varshavchik [EMAIL PROTECTED] wrote:

 This is a packaging bug.  Apache is the primary owner of

Ok, agreed.

 so it should install this directory, instead of having it implicitly

Yes

 That's incorrect.  Because the packages explicitly install this
 directory, any package will satisfy this dependency. 

So you mean, that every package has a

%dir /usr/.../font

line in %files?  Okay, but then we are talking about different things.
I was talking about the way /var/www/cgi-bin is created right now in
the Mandrake apache RPM.  It is created, because it contains files
which are in /var/www/cgi-bin, and that's why I brought up the
/usr/bin example.  Many packages have files in /usr/bin, but on
Mandrake exactly one package provides this directory: basesystem.

So I don't get what you wanted to say with the X font packages
example.  But that's OT here.

 I'll accept a patch that checks for a Mandrake distro, and makes the
 necessary adjustments.  You should be able to come up with something
 that does not depend on an external flag, and detects a Mandrake
 distro automatically. 

What do you mean by external flag?  I thought about checking for the
existance of /etc/mandrake-release, and if this file is present, I
would have assumed that this is a Mandrake distro.  Or I might do a
rpm -q --queryformat '%{RELEASE}' rpm | grep -q mdk  echo TRUE (or
something like that).  Would these be external flags?

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.de   |   Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: webmail and webadmin require %{cgibindir}

2002-06-25 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-25 um 07:26:15 -0400 :
 Either one will work fine. 

Attached.  It also sets the %courier_release to mdk and further replaces
the obsolete Copyright: tag with License:

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 8 hours 59 minutes


--- courier.spec.in 2002-06-23 13:17:04.0 -0400
+++ courier.spec.in.mdk 2002-06-25 15:13:59.0 -0400
@@ -6,8 +6,14 @@
 #  Need to version-upgrade RH builds due to different directory locations.
 #
 
-%define courier_release %(release=`rpm -q --queryformat='.%{VERSION}' redhat-release 
2/dev/null` ; if test $? != 0 ; then release= ; fi ; echo $release)
 %define alternatives %(test -x /usr/sbin/alternatives  echo 1 || echo 0)
+%define is_not_mandrake %(test ! -x /etc/mandrake-release  echo 0 || echo 1)
+
+%if %is_not_mandrake
+%define courier_release %(release=`rpm -q --queryformat='.%{VERSION}' redhat-release 
+2/dev/null` ; if test $? != 0 ; then release= ; fi ; echo $release)
+%else
+%define courier_release mdk
+%endif
 
 %define __libtoolize /bin/true
 
@@ -15,7 +21,7 @@
 Name: courier
 Version: @VERSION@
 Release: 1%{courier_release}
-Copyright: GPL
+License: GPL
 Group: Applications/Mail
 Source: http://download.sourceforge.net/courier/courier-@VERSION@.tar.gz
 Packager: %{PACKAGER}
@@ -29,7 +35,10 @@
 Requires: courier-sendmail-wrapper
 %endif
 
-BuildPreReq: rpm = 4.0.2 fileutils binutils sed perl make openssl gdbm-devel 
openssl-perl openssl-devel pam-devel gnupg = 1.0.5 expect
+BuildPreReq: rpm = 4.0.2 fileutils binutils sed perl make openssl gdbm-devel 
+openssl-devel pam-devel gnupg = 1.0.5 expect
+%if %is_not_mandrake
+BuildPreReq: openssl-perl
+%endif
 
 #
 #  RH custom locations.
@@ -79,12 +88,18 @@
 %package webmail
 Summary: Courier @VERSION@ Integrated HTTP (webmail) server
 Group: Applications/Mail
-Requires: courier = @VERSION@ %{_cgibindir} %{_documentrootdir} vixie-cron gnupg = 
1.0.5 expect fileutils
+Requires: courier = @VERSION@ %{_documentrootdir} vixie-cron gnupg = 1.0.5 expect 
+fileutils
+%if %is_not_mandrake
+Requires: %{_cgibindir}
+%endif
 
 %package webadmin
 Summary: Courier @VERSION@ web-based administration tool
 Group: Applications/Mail
-Requires: courier = @VERSION@ %{_cgibindir} %{_documentrootdir}
+Requires: courier = @VERSION@ %{_documentrootdir}
+%if %is_not_mandrake
+Requires: %{_cgibindir}
+%endif
 
 %package mlm
 Summary: Courier @VERSION@ Integrated Mailing List Manager



Re: [courier-users] Web based configuration utility?

2002-06-24 Thread Alexander Skwar

So sprach MH - Entwicklung am 2002-06-24 um 10:20:53 +0200 :
 Didn't try it out. Maybe it's of help:
 
 http://www.probusiness-cis.de/courieradmin/

Thanks, I'll have a look at it!

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 21 hours 42 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: webmail and webadmin require %{cgibindir}

2002-06-24 Thread Alexander Skwar

So sprach Juha Saarinen am 2002-06-24 um 21:21:52 +1200 :
 As I said in an earlier off-list email to you, I think you're looking at a 
 Mandrake bug (ie. that no package owns /var/www/cgi-bin even though it 
 appears that apache-common created it).

And as I said, it doesn't matter if a package creates a directory.  It
only matters if it provides it, by either explicitly stating Proivdes:
/var/www/cgi-bin or by having %{dir} /var/www/cgi-bin in the %files
list.

Besides: What's the value in requiring /var/www/cgi-bin?  The package
already Requires: apache by requiring /var/www/html.

 I don't see the value in dropping openssl-perl either, as the package 

The value is, that there's no openssl-perl package.

 Sam probably hasn't the time to provide SPEC files for other RPM-based 
 distributions like Mandrake and SuSE. If you do, go for it.

Well, the SPEC can easily be adopted for Mandrake by dropping the
Requires: for /var/www/cgi-bin and openssl-perl.  This way, it will work
for RedHat and Mandrake.  Don't know about SuSE.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 22 hours 50 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] webmail and webadmin require %{cgibindir}

2002-06-24 Thread Alexander Skwar

So sprach Juha Saarinen am 2002-06-24 um 22:01:39 +1200 :
 I think there's a strong argument for that, so it still looks like a 
 Mandrake bug. :-)

Okay, maybe it's a bug in the SPEC of the Mandrake apache RPM.  However,
we're not going to be able to change that.  It might be possible to get
Mandrake to make upcoming apache RPMs provide that directory.  But
there'll still be a large number of users using Mandrake =8.2 who don't
have a apache RPM that provides this.

So the easiest fix is to drop the Requires: from courier.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 23 hours 27 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: webmail and webadmin require %{cgibindir}

2002-06-24 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-24 um 10:19:51 -0400 :
 Nope.  If the package installs /var/www/cgi-bin, then the package will 
 satisfy a dependency on /var/www/cgi-bin. 

That's wrong.  Else every package would satisfy a dependency on
/usr/bin.  And that's not true - and it also shouldn't be true.

 If the apache package provides /var/www/html, it should provide the cgi-bin 
 directory as well. 

Yes, it should.  However, it doesn't.  And there are a lot of
installations where this won't be.  New packages *MIGHT* satisfy this,
but that's not guaranteed.  However, it's easy to make courier be
Mandrake compatible.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 1 day 6 hours 43 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: webmail and webadmin require %{cgibindir}

2002-06-24 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-24 um 17:11:41 -0400 :
 Only if /usr/bin, the directory itself, is created by the package, in 
 addition to whatever the package installs in /usr/bin. 

Yes, exactly.  And the apache RPM does not create the /var/www/cgi-bin
directory directly by having %dir /var/www/cgi-bin.  It's only created,
because it contains files which are in /var/www/cgi-bin.

 packages.  This way, removing the last font package that installs some font 
 subdirectory of /usr/X11R6/lib/X11/fonts will also remove the font 
 subdirectory itself. 

Yes, and this makes sense.  However, because of this, there can be no
package which has a Requires: /usr/X11R6/lib/X11/fonts, because this
directory isn't provided or owned by a package.  Yes, many packages
might create this directory.  But that's not important as far as RPM's
dependencies are concerned.

I do agree that this might/is a bug in the Mandrake apache RPM.  But as
I already said, there's nothing that can be done about it - at least not
as far as the the current and older packages of apache are concerned.

Would you accept a patch to the spec which makes this a conditional
requirement, so that packages built on a Mandrake machine do not have
this?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 1 day 11 hours 25 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Web based configuration utility?

2002-06-23 Thread Alexander Skwar

Hello.

I'm thinking about installing the courier mta package on a server which
will host multiple virtual domains.  Right now I'm looking for a web
based configuration utility which will allow me to create new domains
and new users for these domains.  It should also allow the domain users
to change their passwords and maybe also other goodies (like setting
up dot-courier files and such).

As I currently don't have anything, I don't care if the user data will
be stored in LDAP, MySQL or whatever.

Is there such a thing?

I already found UI for Courier Administration
(http://sf.net/projects/uica) and PHP Mysql Courier Admin
(http://sf.net/projects/pmcadmin).  However, both projects don't seem to
be active.

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 hours 17 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Building courier with gcc 3.1

2002-06-23 Thread Alexander Skwar

Hi.

I just tried to build courier-0.38.2.20020619.tar.gz with gcc 3.1.1 on a
MandrakeLinux Cooker system.  The courier install.html file says, that
courier cannot be build with gcc 3.0.

The compilation went on with no errors.  Is the note in the install.html
file outdated?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 hours 36 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] file perl is not owned by any package

2002-06-23 Thread Alexander Skwar

Hi.

I just rebuild courier-0.38.2.20020619.tar.gz as a RPM on a
MandrakeLinux Cooker system.

When the RPMs are created, I see this as the Requires: line:

Requires: courier = 0.38.2.20020619 ld-linux.so.2 libc.so.6 libcrypt.so.1 libdl.so.2 
libgdbm.so.2 libm.so.6 libmysqlclient.so.10 libnsl.so.1 libpam.so.0 libz.so.1 file 
perl is not owned by any package libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
libcrypt.so.1(GLIBC_2.0)

Strange is the part file perl is not owned by any package.

Now, when I try to install these packages, I get:

is   wird von courier-webmail-0.38.2.20020619-1 gebraucht
not   wird von courier-webmail-0.38.2.20020619-1 gebraucht
owned   wird von courier-webmail-0.38.2.20020619-1 gebraucht
by   wird von courier-webmail-0.38.2.20020619-1 gebraucht
any   wird von courier-webmail-0.38.2.20020619-1 gebraucht
package   wird von courier-webmail-0.38.2.20020619-1 gebraucht

Any ideas about why RPM adds file perl is not owned by any package to
the Requires:?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 4 hours 3 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Building courier with gcc 3.1

2002-06-23 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-23 um 10:57:24 -0400 :
 No.  gcc 3.0 is definitely foobared. 

Okay, fine.  Maybe the sentence should be clearified:

# NOTE: At this time, Courier cannot be compiled by gcc 3.0, however
# later or earlier versions of gcc work fine.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 4 hours 50 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Cannot login to webadmin

2002-06-23 Thread Alexander Skwar

Hi.

While I still had all the courier packages installed, I tried
to access the webadmin CGI program.  Well, I don't seem to be
able to login.  I tried changing the password in 
/etc/courier/webadmin/password to something easy and entering
it in the form.  But the program always denies access.

Any ideas about why this is so?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 8 hours 32 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] file perl is not owned by any package

2002-06-23 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-23 um 13:07:16 -0400 :
 This is wrong.  You probably have an old version of RPM which exhibits 
 this anomaly.

[askwar@teich courier]$ rpm --version
RPM Version 4.0.4

That's the latest, isn't it?  I think the issue is, that no package
provides a file perl (no path here).  The error seems to be either in
the .pl files or in RPM.  And fixing the .pl files is a lot easier and
faster.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 10 hours 45 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] webmail and webadmin require %{cgibindir}

2002-06-23 Thread Alexander Skwar

Hi.

The webmail and webadmin RPM subpackages require %{cgibindir}.

Could this please be removed?  Not every distribution seems to have
this - at least Mandrake doesn't.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 11 hours 54 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Error when trying to send mail with mail

2002-06-23 Thread Alexander Skwar

Hi.

I'm now using courier 0.39.0.  When I try to send mail with the plain
old mail command, I get the follwoing error message:

[askwar@teich tmp]$ date|mail -s courier test [EMAIL PROTECTED]
[askwar@teich tmp]$ sendmail: ERR: Permission denied
432 Service temporarily unavailable.

Further, I cannot send mail with mutt anymore.  It dies silently; I
think it dies, because it calles /usr/sbin/sendmail -oem -oi to send
the mail.

What do I need to tweak?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 12 hours 34 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Making the SMTP server use SMTP AUTH for outbound connections?

2002-06-23 Thread Alexander Skwar

Hi.

Can I somehow make the SMTP server use SMTP AUTH to authenticate itself
to remote servers? 

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 12 hours 42 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: file perl is not owned by any package

2002-06-23 Thread Alexander Skwar

So sprach Sam Varshavchik am 2002-06-23 um 18:18:41 -0400 :
 $ rpm -q --whatprovides perl
 perl-5.6.1-34.99.6
 perl-5.6.1-34.99.6 

[askwar@klama SPECS]$ rpm -q --whatprovides perl
perl-5.601-14mdk

However, I'm not able to reproduce the bug anymore.  But I nonetheless
still think that it would be a good idea to specify /usr/bin/perl, so
that exactly this perl is used.  And ./webmail/cleancache.pl is also
using the full path to perl: /usr/bin/perl5.

EIther of the two should be fixed - remove the /usr/bin/perl5 from
cleancache, or add /usr/bin/perl5 to the webadmin scripts, I'd think.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 12 hours 48 minutes


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Created folders are owned by root

2002-06-18 Thread Alexander Skwar

 --- Alexander Skwar [EMAIL PROTECTED] schrieb:

 When a user connects to the server and creates a new
 subfolder, this folder is owned by root:root and not by the
 user running this domain.

The (virtual-)users Maildir has these permissions:

drwx--9 u-3pl-online-de u-3pl-online-de  141 Jun 17
14:52 testing/

That's allright, isn't it?

=
Yours,
Alexander Skwar
-- 
My Site: http://www.digitalprojects.com

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Yahoo! präsentiert als offizieller Sponsor das Fußball-Highlight des
Jahres: - http://www.FIFAworldcup.com


   Bringing you mounds of caffeinated joy
   http://thinkgeek.com/sf

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Two separate lists for courier

2002-04-17 Thread Alexander Skwar

»Aly S.P Dharshi« sagte am 2002-04-17 um 10:39:22 -0600 :
 Why ? Courier is a whole suite, it isn't like Exim just an MTA.

However, quite some people only use the IMAP part of the suite.

Besides - why is there a seperate SqWebMail mailing list?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 22 hours 35 minutes

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users