Re: Frontends to administer servers

2004-04-22 Thread Markus Schabel
Dan Ros wrote:
-Original Message- From: Adrian 'Dagurashibanipal' von
Bidder
(personal note: I'd not use mysql, but postgresql instead. YMMV.)
Generally: use whatever technology you know already. This means I
have a heavy anti-LDAP bias, but I know SQL quite well. For others,
this may mean that they'll use LDAP since they know how to set it
up and run it.
I think for what you want, both technologies can be used without
big problems, so it really comes down on how much time do you spend
 learning the tools. (As for authentication: yes, there are many
LDAP backends for server applications. But there are many sql
backends for server applications, too.)


I am also trying to decide between ldap and [my]sql for a centralised
 authentication and management system.
Seems to be that on the plus side for ldap, it has fairly mature
application interfaces and pre-existing data structures for things
like bind zonefiles. On the minus side i don't know anything about it
and it may be inflexible.
on the plus side you can also add the simplicity of database
replication and that you can use your ldap user directory also for your
mail clients (addressbook).
Mysql has the obvious advantage that coding up a php interface to it
all is very easy and I can write scripts to grab data out of the
database and create local config files from that.
there's no difference to LDAP. the php-ldap interface is pretty good and
well documented, the perl interface is also good, and it's no problem
to generate all things you like out of ldap.
On the minus side thats prone to flakiness and inconsistencies and
the pam_mysql module is woefully devoid of nss support and some other
nice features.
I'm wavering towards the path of putting a bit of time in to learn
LDAP and going for a proper solution (instead of bunch-of-scripts
mysql solution) which should be more extensible and scalable in the
long term. Personally though I don't see why LDAP is any better than
a properly constructed database, other than the application
interfaces that already exist.
i guess there must be some reason why eDirectory, ADS and Domino use
LDAP ;-)
I personally like the replication process and ldap _is_ optimized for
search access. LDAP authentication and other things (mail aliases, ...)
are pretty easy to implement in almost any software...
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Frontends to administer servers

2004-04-22 Thread Markus Schabel
Dan Ros wrote:
-Original Message- From: Adrian 'Dagurashibanipal' von
Bidder
(personal note: I'd not use mysql, but postgresql instead. YMMV.)
Generally: use whatever technology you know already. This means I
have a heavy anti-LDAP bias, but I know SQL quite well. For others,
this may mean that they'll use LDAP since they know how to set it
up and run it.
I think for what you want, both technologies can be used without
big problems, so it really comes down on how much time do you spend
 learning the tools. (As for authentication: yes, there are many
LDAP backends for server applications. But there are many sql
backends for server applications, too.)

I am also trying to decide between ldap and [my]sql for a centralised
 authentication and management system.
Seems to be that on the plus side for ldap, it has fairly mature
application interfaces and pre-existing data structures for things
like bind zonefiles. On the minus side i don't know anything about it
and it may be inflexible.
on the plus side you can also add the simplicity of database
replication and that you can use your ldap user directory also for your
mail clients (addressbook).
Mysql has the obvious advantage that coding up a php interface to it
all is very easy and I can write scripts to grab data out of the
database and create local config files from that.
there's no difference to LDAP. the php-ldap interface is pretty good and
well documented, the perl interface is also good, and it's no problem
to generate all things you like out of ldap.
On the minus side thats prone to flakiness and inconsistencies and
the pam_mysql module is woefully devoid of nss support and some other
nice features.
I'm wavering towards the path of putting a bit of time in to learn
LDAP and going for a proper solution (instead of bunch-of-scripts
mysql solution) which should be more extensible and scalable in the
long term. Personally though I don't see why LDAP is any better than
a properly constructed database, other than the application
interfaces that already exist.
i guess there must be some reason why eDirectory, ADS and Domino use
LDAP ;-)
I personally like the replication process and ldap _is_ optimized for
search access. LDAP authentication and other things (mail aliases, ...)
are pretty easy to implement in almost any software...
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.



Re: RaiserFS via NFS

2004-04-20 Thread Markus Schabel
Donovan Baarda wrote:
On Tue, 2004-04-20 at 05:07, Markus Schabel wrote:

Marcel Hicking wrote:

--Saturday, April 17, 2004 11:38:56 -0700 Chad Cranston
[EMAIL PROTECTED]:
I chose ext3 for it's reliablity over ReiserFS.
I found ext3 too slow (although rock solid) for large amounts of
mail.  Since Reiser was no option (too much data loss in the
past) we opted for XFS.
well, i see the same problem as everybody here: i've had some
corrupted reiserfs systems, and it wasn't possible to restore the
data (except
How long ago? Was this a recent kernel/reiserfs-tools?
2.4.18 / stable - and on multiple different machines.

backups of coures ;)). We're still running reiserfs on our proxy
servers (squid), but we have the phenomenon that the machines get
slower and slower while squid is running, and if you stop squid and
wait some time and start it again it all goes fine again. but the
problem isn't squid, it seems to be reiserfs which seems to be not
able get all data written to disk in time and slows the computer
down. (sure this also depends on the harddisks, but we played
around with hdparm and the situation was exactly the same with DMA
enabled (140MB/s) and disabled (4MB/s), so it cannot be the HDD).
Sounds strange... have you mounted the squid partition with '-o 
noatime'? This is a standard recommendation for squid as it reads
lots of little files and the updated atime writes can be a slowdown.
yes.

It sounds to me more like you have squid slowly running out of
memory. Check 'free' before and after you restart squid. Depending on
how you have configured your squid, it can start thrashing when the
memory cache fills up. It could be that reiser uses a little more
memory, pushing your squid over the edge.
there's always plenty of free memory available (somewhere around 50 MB,
and squid uses about 120 MB).
the interesting thing is that the machine keeps slow if i restart squid
immediatly, but if i wait a few minutes before starting again all is
fine again.
I remember reading a report that tested Linux/squid on a heap of 
different filesystems that concluded that the best was reiser... this
 was some time ago though so things might have changed, and perhaps
the noatime was critical.
well, as long as it runs with XFS without problems, i'll keep it that
way ;)
best regards, Markus
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: RaiserFS via NFS

2004-04-20 Thread Markus Schabel
Donovan Baarda wrote:
On Tue, 2004-04-20 at 05:07, Markus Schabel wrote:
Marcel Hicking wrote:
--Saturday, April 17, 2004 11:38:56 -0700 Chad Cranston
[EMAIL PROTECTED]:
I chose ext3 for it's reliablity over ReiserFS.
I found ext3 too slow (although rock solid) for large amounts of
mail.  Since Reiser was no option (too much data loss in the
past) we opted for XFS.
well, i see the same problem as everybody here: i've had some
corrupted reiserfs systems, and it wasn't possible to restore the
data (except
How long ago? Was this a recent kernel/reiserfs-tools?
2.4.18 / stable - and on multiple different machines.
backups of coures ;)). We're still running reiserfs on our proxy
servers (squid), but we have the phenomenon that the machines get
slower and slower while squid is running, and if you stop squid and
wait some time and start it again it all goes fine again. but the
problem isn't squid, it seems to be reiserfs which seems to be not
able get all data written to disk in time and slows the computer
down. (sure this also depends on the harddisks, but we played
around with hdparm and the situation was exactly the same with DMA
enabled (140MB/s) and disabled (4MB/s), so it cannot be the HDD).
Sounds strange... have you mounted the squid partition with '-o 
noatime'? This is a standard recommendation for squid as it reads
lots of little files and the updated atime writes can be a slowdown.
yes.
It sounds to me more like you have squid slowly running out of
memory. Check 'free' before and after you restart squid. Depending on
how you have configured your squid, it can start thrashing when the
memory cache fills up. It could be that reiser uses a little more
memory, pushing your squid over the edge.
there's always plenty of free memory available (somewhere around 50 MB,
and squid uses about 120 MB).
the interesting thing is that the machine keeps slow if i restart squid
immediatly, but if i wait a few minutes before starting again all is
fine again.
I remember reading a report that tested Linux/squid on a heap of 
different filesystems that concluded that the best was reiser... this
 was some time ago though so things might have changed, and perhaps
the noatime was critical.
well, as long as it runs with XFS without problems, i'll keep it that
way ;)
best regards, Markus
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.



Re: RaiserFS via NFS

2004-04-19 Thread Markus Schabel
Marcel Hicking wrote:
--Saturday, April 17, 2004 11:38:56 -0700 Chad Cranston [EMAIL PROTECTED]:

I chose ext3 for it's reliablity over ReiserFS.
I found ext3 too slow (although rock solid) for large
amounts of mail.  Since Reiser was no option (too much
data loss in the past) we opted for XFS.
well, i see the same problem as everybody here: i've had some corrupted
reiserfs systems, and it wasn't possible to restore the data (except
backups of coures ;)). We're still running reiserfs on our proxy servers
(squid), but we have the phenomenon that the machines get slower and
slower while squid is running, and if you stop squid and wait some time
and start it again it all goes fine again. but the problem isn't squid,
it seems to be reiserfs which seems to be not able get all data written
to disk in time and slows the computer down. (sure this also depends on
the harddisks, but we played around with hdparm and the situation was
exactly the same with DMA enabled (140MB/s) and disabled (4MB/s), so it
cannot be the HDD).
ext3 is better, but lacks a bit performance with the spool directory
since there are many files and directores...
we currently switch all proxies to XFS, where this problem doesn't exist
(at least at the moment).
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: RaiserFS via NFS

2004-04-19 Thread Markus Schabel
Jeremy Zawodny wrote:
On Monday, April 19, 2004, at 03:07 PM, Markus Schabel wrote:

well, i see the same problem as everybody here: i've had some
corrupted reiserfs systems, and it wasn't possible to restore the
data (except backups of coures ;)). We're still running reiserfs on
our proxy servers (squid), but we have the phenomenon that the
machines get slower and slower while squid is running, and if you
stop squid and wait some time and start it again it all goes fine
again. but the problem isn't squid, it seems to be reiserfs which
seems to be not able get all data written to disk in time and slows
the computer down. (sure this also depends on the harddisks, but we
played around with hdparm and the situation was exactly the same
with DMA enabled (140MB/s) and disabled (4MB/s), so it cannot be
the HDD).
I'm confused.  How does measuring sequential read/write performance
map to squid performance?  Doesn't squid usually do lots of little 
read/write ops, with lots of seeks too?
well, the idea was to check if system performance would be influenced
by HDD speed. sure sequential read/write is not really the best test
for this, but i thougth we would see some changes, and since we didn't
the idea was that the HDD isn't the bottleneck. and since the system
behavior is better with ext3 than with reiserfs, the bottleneck may be
the filesystem.
is it possible to log HDD access (e.g. open, close, read, write, seek,
etc. operations)?
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: RaiserFS via NFS

2004-04-19 Thread Markus Schabel
Marcel Hicking wrote:
--Saturday, April 17, 2004 11:38:56 -0700 Chad Cranston [EMAIL PROTECTED]:
I chose ext3 for it's reliablity over ReiserFS.
I found ext3 too slow (although rock solid) for large
amounts of mail.  Since Reiser was no option (too much
data loss in the past) we opted for XFS.
well, i see the same problem as everybody here: i've had some corrupted
reiserfs systems, and it wasn't possible to restore the data (except
backups of coures ;)). We're still running reiserfs on our proxy servers
(squid), but we have the phenomenon that the machines get slower and
slower while squid is running, and if you stop squid and wait some time
and start it again it all goes fine again. but the problem isn't squid,
it seems to be reiserfs which seems to be not able get all data written
to disk in time and slows the computer down. (sure this also depends on
the harddisks, but we played around with hdparm and the situation was
exactly the same with DMA enabled (140MB/s) and disabled (4MB/s), so it
cannot be the HDD).
ext3 is better, but lacks a bit performance with the spool directory
since there are many files and directores...
we currently switch all proxies to XFS, where this problem doesn't exist
(at least at the moment).
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.



Re: RaiserFS via NFS

2004-04-19 Thread Markus Schabel
Jeremy Zawodny wrote:
On Monday, April 19, 2004, at 03:07 PM, Markus Schabel wrote:
well, i see the same problem as everybody here: i've had some
corrupted reiserfs systems, and it wasn't possible to restore the
data (except backups of coures ;)). We're still running reiserfs on
our proxy servers (squid), but we have the phenomenon that the
machines get slower and slower while squid is running, and if you
stop squid and wait some time and start it again it all goes fine
again. but the problem isn't squid, it seems to be reiserfs which
seems to be not able get all data written to disk in time and slows
the computer down. (sure this also depends on the harddisks, but we
played around with hdparm and the situation was exactly the same
with DMA enabled (140MB/s) and disabled (4MB/s), so it cannot be
the HDD).
I'm confused.  How does measuring sequential read/write performance
map to squid performance?  Doesn't squid usually do lots of little 
read/write ops, with lots of seeks too?
well, the idea was to check if system performance would be influenced
by HDD speed. sure sequential read/write is not really the best test
for this, but i thougth we would see some changes, and since we didn't
the idea was that the HDD isn't the bottleneck. and since the system
behavior is better with ext3 than with reiserfs, the bottleneck may be
the filesystem.
is it possible to log HDD access (e.g. open, close, read, write, seek,
etc. operations)?
best regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.



Re: Which SATA RAID controller?

2004-03-24 Thread Markus Schabel
Craig Sanders wrote:
On Tue, Mar 23, 2004 at 07:08:57PM +0100, Marc Schiffbauer wrote:
snip/
anyone have any opinions about the adaptec 2400 (ATA) or 2410 (SATA)?
we're running an 2400 as fileserver for almost a year as RAID5 with an
2.4.18 without any problems, and we're running the 2410 as fileserver
(RAID5, 2.4.22 to 2.4.25) for two months without problems.
The performance is good, and we have no problems.

best regards, Markus

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


Re: Which SATA RAID controller?

2004-03-24 Thread Markus Schabel
Craig Sanders wrote:
On Tue, Mar 23, 2004 at 07:08:57PM +0100, Marc Schiffbauer wrote:
snip/
anyone have any opinions about the adaptec 2400 (ATA) or 2410 (SATA)?
we're running an 2400 as fileserver for almost a year as RAID5 with an
2.4.18 without any problems, and we're running the 2410 as fileserver
(RAID5, 2.4.22 to 2.4.25) for two months without problems.
The performance is good, and we have no problems.
best regards, Markus



Re: FS performace with lots of files, was: ..fixing ext3 fs going read-only, was : Sendmail or Qmail ? ..

2003-09-11 Thread Markus Schabel
Cameron Moore wrote:
* [EMAIL PROTECTED] (Russell Coker) [2003.09.10 20:16]:
Also you can't have a ReiserFS file system mounted read-only while fsck'ing 
it.  Which makes recovering errors on the root FS very interesting to say the 
least.


What I hate about ext3 is that it doesn't poorly handles dirs with 1000+
files.  Haven't seen if they've fixed that yet.
There exists a patch (hhttp://people.nl.linux.org/~phillips/htree/ - i
think there are other resources out there somewhere ;)) for 2.4.x, but
the code should be in the kernel since 2.4.20 for ext2 and for ext3 it
seems that it was available before (but there are some 2.4.19-patches
out there: http://lwn.net/Articles/11330/) - hopefully somebody can
bring some light into this...
regards
Markus
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: SMTP Auth - Ldap server

2003-05-10 Thread Markus Schabel

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi
 I'm trying to SMTP Auth, but the incoming mail server and the outgoing
 mail
 server are two different machines, that is, if I want the pop pass and the
 smtp pass to be the same, I need to sync the two passwd files. Mantaining
 the
 two different passwd files on the machines could lead to inconsistency, so
 I've thought the only way is installing a Ldap server.

 Do you know any other way to share passwd?

yp, nis, ... (but never used that)

 Do you know a howto to auth pop3 and smtp with ldap?

There are some possibilities: Use a pop and smtp server which works with
PAM, then you just have to drop your pam_ldap.so into the pam.d/ files..

If you use courier for pop/imap it can handle ldap natively, and postfix
for smtp can do this via sasl...

 And a howto transfer the passwd file to a ldap server?

I guess there are some existing scripts, but if you can't find one, it
should be a very short perl-script, some kind of splitting passwd-lines
and assigning rows to ldap-attributes and add them as whole object into
the directory...

regards
-- 
   \\\ ||| ///   _\=/_
(  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
   \_) ) /\_)  ) /
  (_/ (_/

Computers are like airconditioners:
   They stop working properly if you open windows.




Re: Postfix and SASL

2003-05-07 Thread Markus Schabel

 I'm having some trouble getting Postfix SMTP auth working. I'm using
 unstable postfix and
 postfix-tls on testing, with unstable libsasl2 and libsasl2-modules.
 Whenever I try to send a
 message from my mail client (KMail) on another box, I get this in
 /var/log/mail.log:

snip/

 I suspect that postfix is trying to use the wrong socket, or something
 like that. I did a
 netstat -ap, and found that saslauthd is indeed listening on
 /var/run/saslauthd/mux. I'd really
 appreciate any ideas anyone has on this.

The problem is, that smtpd runs in chroot in standard-debian-packages, so
it cannot access /var/run/saslauthd/mux. Either you move postfix out of
chroot or you link the saslauthd-socket into the chroot (only works with
hard-links, so chroot and /var/run/saslauthd must be on the same partition)
or you tell saslauthd to put the mux-file directly in the chroot.

regards
-- 
   \\\ ||| ///   _\=/_
(  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
   \_) ) /\_)  ) /
  (_/ (_/

Computers are like airconditioners:
   They stop working properly if you open windows.




Re: Problem with squirrelmail-update

2003-05-07 Thread Markus Schabel

 Had the same problem. I had to manually edit config.php. Here are the
 steps I took:

 1. Backup up config.php
 2. Run conf.pl
 3. open config.php and the backup, then do a step-by-step comparison

 Not sure where the problem was. Sorry, but I have several users who check
 their mail via SquirrelMail and did not have time to research, just keep
 working it until it was fixed.

 There is a bug report on this at:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190923

 I think it has something to do with the themes, but am not sure. I'll
 send you my config.php if you like.

Thanks, it work's now. The only differences are the themes, I've ignored
them and used the new statements, and the new config.php has a newline at
the end, but that shouldn't be the problem I think...

 For some reason, I also had to reboot my workstation. I don't think that
 was the problem . . . but Netscrape had basically lost it and I could not
 clean it otherwise (Mandrake 8.2, Netscape 7.x).

 I still haven't gotten themes to work since the upgrade.

The same here, no themes yet, but that is not a showstopper, so I can wait
till the next release comes out

Markus

 Rod

 Hello!

 After updating my squirrelmail on testing from 1.3.2+1.4.0rc1-1 to
 1.4.0-1
 it doesn't work. I'm able to login, and I get the frameset, but the
 frames
 are empty. Any ideas where the problem is?

-- 
   \\\ ||| ///   _\=/_
(  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
   \_) ) /\_)  ) /
  (_/ (_/

Computers are like airconditioners:
   They stop working properly if you open windows.




Problem with squirrelmail-update

2003-04-29 Thread Markus Schabel
Hello!

After updating my squirrelmail on testing from 1.3.2+1.4.0rc1-1 to 1.4.0-1
it doesn't work. I'm able to login, and I get the frameset, but the frames
are empty. Any ideas where the problem is?

regards Markus




Re: 400 000 mails in 12 Hours

2003-02-27 Thread Markus Schabel
Jean-Francois Dive wrote:
That's interesting:

400.000 email in 12 hours = 9 mail a second sent.
which means 9Mbytes of data per seconds, assuming that you ahve a pipe
of at least 1Mbyte (8Mbit) to each remote end server, which you 
obviously wont... This means too that you'll need 72Mbit at least of raw
bandwith just to sustain the traffic.  Now to take more real world
values, that's means that the number of email on the fly needs to
increase as the remote server bandwith will the bottle neck. Some
interesting mail server tests, look at postal test program and results,
and i'm sure Russel Coker will comment on this. Just a thought too: as
you have only one file to send, ramFS it. I dont know if any of the
MTA's support sendfile() but it'd be interesting to see the gain brought
by the decrease of context switching (using sendfile) instead of
read(fileh), write(socket), which may means more concurent connections.
We can say that SMTP has an overhead of about 30%, so you need a 100MBit
connection at least. Probably that isn't the problem.
If you use the system only to send this one mail you could think about
mqueue on ramdisk or so which will increase your performance slightly.
All of this without the mail to resend etc..etc..

The consideration: remove the attachement and send it as a link to
download (which is most of the time prefered by users especially when
they read their email by modem and receive a 1 meg mail), then the
figure looks better to me... This however could be against
ACK

snip/

regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 400 000 mails in 12 Hours

2003-02-27 Thread Markus Schabel
Jean-Francois Dive wrote:
That's interesting:
400.000 email in 12 hours = 9 mail a second sent.
which means 9Mbytes of data per seconds, assuming that you ahve a pipe
of at least 1Mbyte (8Mbit) to each remote end server, which you 
obviously wont... This means too that you'll need 72Mbit at least of raw
bandwith just to sustain the traffic.  Now to take more real world
values, that's means that the number of email on the fly needs to
increase as the remote server bandwith will the bottle neck. Some
interesting mail server tests, look at postal test program and results,
and i'm sure Russel Coker will comment on this. Just a thought too: as
you have only one file to send, ramFS it. I dont know if any of the
MTA's support sendfile() but it'd be interesting to see the gain brought
by the decrease of context switching (using sendfile) instead of
read(fileh), write(socket), which may means more concurent connections.
We can say that SMTP has an overhead of about 30%, so you need a 100MBit
connection at least. Probably that isn't the problem.
If you use the system only to send this one mail you could think about
mqueue on ramdisk or so which will increase your performance slightly.
All of this without the mail to resend etc..etc..
The consideration: remove the attachement and send it as a link to
download (which is most of the time prefered by users especially when
they read their email by modem and receive a 1 meg mail), then the
figure looks better to me... This however could be against
ACK
snip/
regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.