Courier-mta documentation/HOWTOs?

2002-08-14 Thread Vasil Kolev
  Hi,
I've searched this list (i remember something like this popped up some(or
a lot of)time ago) , and I haven't found something on $subject. I just
need some pointers, where to find some docs how to setup it, what's it's
performance,etc.
(i'm using courier-imap and it's really good, but courier-mta seems a bit
harder to understand)




Re: disable md5 passwords

2002-04-25 Thread Vasil Kolev



On Thu, 25 Apr 2002, Andrew Kaplan wrote:

 How do I disable md5 passwords on my debain box. Also is there a way to
 convert DES passwords to MD5

Quickest way - rgrep -i md5 /etc/ , and fix where needed.
There is no way to convert those passwords from the one algorithm to the
other.


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




Re: ipop3d not moving mail from /var/spool/mail to mbox

2002-02-16 Thread Vasil Kolev

That's something to check, and ... does some one know why exactly did that
happen ( the transition from /var/spool/mail to /var/mail), and why the
upgrade scripts didn't handle that ... I had some very funny problems...
One ovf them being the lack of email for abuse@domain account :)

On Sun, 17 Feb 2002, Alexander List wrote:

 On Sun, 17 Feb 2002, Jarno Elonen wrote:

  After a recent system update, ipop3d stopped moving users' mail from
  /var/spool/mail to mbox. Now both 'mail' command and pop3 clients show empty
  mailbox even if exim has in fact pumped /var/spool/mail full of new messages.

 Huomenta!

 No concrete solution to the problem, but did you notice that the default
 location for the mailboxes has changed from /var/spool/mail to /var/mail?

 Try stracing the ipop3d process and look what exactly it's doing...

 Alex

 --
 Forgive me, but I'm talking to a politician.
   John Simpson, BBC World


 --
 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: ipop3d not moving mail from /var/spool/mail to mbox

2002-02-16 Thread Vasil Kolev
That's something to check, and ... does some one know why exactly did that
happen ( the transition from /var/spool/mail to /var/mail), and why the
upgrade scripts didn't handle that ... I had some very funny problems...
One ovf them being the lack of email for [EMAIL PROTECTED] account :)

On Sun, 17 Feb 2002, Alexander List wrote:

 On Sun, 17 Feb 2002, Jarno Elonen wrote:

  After a recent system update, ipop3d stopped moving users' mail from
  /var/spool/mail to mbox. Now both 'mail' command and pop3 clients show empty
  mailbox even if exim has in fact pumped /var/spool/mail full of new 
  messages.

 Huomenta!

 No concrete solution to the problem, but did you notice that the default
 location for the mailboxes has changed from /var/spool/mail to /var/mail?

 Try stracing the ipop3d process and look what exactly it's doing...

 Alex

 --
 Forgive me, but I'm talking to a politician.
   John Simpson, BBC World


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






Re: Tutorial DNS

2002-01-18 Thread Vasil Kolev

There is a great book - DNS and BIND , published by O'Reily , you can
find it at amazon.com , or whatever site you prefer.

On Sun, 17 Feb 2002, Julio Cesar Torres wrote:

 I need a tutorial of DNS or Bind, can some one help me?

 Thanks



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




Re: ulimit for mysql and www-data

2001-12-26 Thread Vasil Kolev

  I had the same problem (with apache) , and found that the best way is to
add
ulimit -n 32000
ulimit -u 2048
at the begining of /etc/init.d/apache
And I think that is the best way to do it.

sometning like /etc/rc.boot/ulimit_optimize possibly won't work, because
limits are inherited through fork() , and to execute your script, the init
fork()s,exec() your script,the parent waits for the end of it's
execution, and then continues, so he shouldn't see the change in the
limits.

(sorry for my rusty english :) )

On Wed, 26 Dec 2001, Patrick Hsieh wrote:

 Hello list,

 I am running a dedicated apache/php/mysql website on Debian 3.0(woody).
 MySQL server runs as mysql uid; Apache www-data. It seems that the
 default ulimit value does not meet the requirement as a dedicated machine.
 The Debian GNU/Linux box ships dual PentiumIII-1G with 1G RAM. I am planing
 to optimize the ulimit value for www-data and mysql, any suggestions?

 BTW, I am planing to put some optimization scripts under /etc/rc.boot, say
 /etc/rc.boot/fs_optimize
 (tuning /proc/sys/fs/*)

 /etc/rc.boot/ulimit_optimize
 (tuning ulimit stuff)

 Is it a good way to put ulimit adjustments for www-data and mysql in
 /etc/rc.boot/ulimit_optimize so that it works upon boot time?

 Any suggestions appreciated.


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




Re: ulimit for mysql and www-data

2001-12-26 Thread Vasil Kolev
  I had the same problem (with apache) , and found that the best way is to
add
ulimit -n 32000
ulimit -u 2048
at the begining of /etc/init.d/apache
And I think that is the best way to do it.

sometning like /etc/rc.boot/ulimit_optimize possibly won't work, because
limits are inherited through fork() , and to execute your script, the init
fork()s,exec() your script,the parent waits for the end of it's
execution, and then continues, so he shouldn't see the change in the
limits.

(sorry for my rusty english :) )

On Wed, 26 Dec 2001, Patrick Hsieh wrote:

 Hello list,

 I am running a dedicated apache/php/mysql website on Debian 3.0(woody).
 MySQL server runs as mysql uid; Apache www-data. It seems that the
 default ulimit value does not meet the requirement as a dedicated machine.
 The Debian GNU/Linux box ships dual PentiumIII-1G with 1G RAM. I am planing
 to optimize the ulimit value for www-data and mysql, any suggestions?

 BTW, I am planing to put some optimization scripts under /etc/rc.boot, say
 /etc/rc.boot/fs_optimize
 (tuning /proc/sys/fs/*)

 /etc/rc.boot/ulimit_optimize
 (tuning ulimit stuff)

 Is it a good way to put ulimit adjustments for www-data and mysql in
 /etc/rc.boot/ulimit_optimize so that it works upon boot time?

 Any suggestions appreciated.




Re: do_try_to_free_pages failed

2001-10-02 Thread Vasil Kolev

Upgrade to 2.2.19 , that should fix the problem. It's a bug in the
releases between 2.2.14 and 2.2.19, afaik.

On Mon, 1 Oct 2001, Gene Grimm wrote:

 I keep receiving the following error messages on my server console and in
 the log files. Can anyone direct me to where on my system I need to check to
 fix these problems and what package(s) are related?

 kernel: VM: do_try_to_free_pages failed for XF86_S3...
 kernel: VM: do_try_to_free_pages failed for apache...
 kernel: VM: do_try_to_free_pages failed for cron...
 kernel: VM: do_try_to_free_pages failed for init...
 kernel: VM: do_try_to_free_pages failed for klogd...
 kernel: VM: do_try_to_free_pages failed for kupdate...
 kernel: VM: do_try_to_free_pages failed for nmbd...
 kernel: VM: do_try_to_free_pages failed for proftpd...
 kernel: VM: do_try_to_free_pages failed for syslogd...
 kernel: VM: do_try_to_free_pages failed for vcounter...
 kernel: VM: do_try_to_free_pages failed for xfs...



 --
 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: Ethernet Card recommendation

2001-08-31 Thread Vasil Kolev

I recommend 3com 3c905B or 3c905C cards - they work wonderful for me.

On Fri, 31 Aug 2001, Jordi S . Bunster wrote:


 I've finally convinced my boss to buy new PCI Ethernet Cards. Can
 someone give me a hint on what should I buy for using with a 2.2
 kernel? I need two simultaneous cards, they're for my webserver.

 Are the 3COM a good choice? Which ones exactly?

 -- Jordi


 --
 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: Ethernet Card recommendation

2001-08-31 Thread Vasil Kolev



On Fri, 31 Aug 2001, Frank Louwers wrote:

 If you decide to go a little bit cheaper than the 3COM/Intel cards,
 then DON'T go for dlink. They used to make great medium-cheap cards
 with a lifetime warranty, but I've had nothing but problems with their
 100Mbit cards!

 If you decide to save money on cards, then go for the Realtec 813x based
 chipsets. The cards cheap (end-user price, INCLUDING 21% vat is about
 15 EUR last time I checked.

Some cooments ont 8139 cards: use the 8139too driver, and kernel like
2.2.19 or 2.4.x , x4 ... The other driver had problems - one of the
interfaces started to receive one of 500 packets ( or so ), and tcpdump on
the interface fixed the things... (or ifconfig ethX promisc )


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




Re: user privileges with php (like with suexec)

2001-06-11 Thread Vasil Kolev


From all the discussions here, ot looks like that the only way to use php
with suexec is to use it as parser for cgi programs. The webserver himself
cannot change UID, because it's running under some normal user ( who will
be that crazy to run it as root? ).
The only way I see, is some mechanism in php to do something like suexec,
but what about the security considerations 

On Mon, 11 Jun 2001, Jason Lim wrote:

 Hi,

 This is also something that I've been looking into too, with no success
 yet.

 If you find something, let me know and I'll do the same! :-)

 Sincerely,
 Jason

 - Original Message -
 From: Jeremy Lunn [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 11, 2001 11:21 PM
 Subject: user privileges with php (like with suexec)


  I am wondering what is the best way to get simular results to suexec
  with php?
 
  I've heard of people running seperate instances of apache for each
  client.  Is that likely to be a messy solution?  how much overhead would
  each instance be?
 
  The other solution is to use the CGI version of php and use suexec.  I
  still don't think this is as nice as just using the the php module.
 
  Have I missed any solutions?
 
  Although I'm reluctant to hack any code that would be running as root,
  would it be possible to hack php to pass pages to child proceses owned
  by the same user as the php file and if none exist create one?
 
  Thanks,
 
  --
  Jeremy Lunn
  Melbourne, Australia
 
 
  --
  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]




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




Re: user privileges with php (like with suexec)

2001-06-11 Thread Vasil Kolev

From all the discussions here, ot looks like that the only way to use php
with suexec is to use it as parser for cgi programs. The webserver himself
cannot change UID, because it's running under some normal user ( who will
be that crazy to run it as root? ).
The only way I see, is some mechanism in php to do something like suexec,
but what about the security considerations 

On Mon, 11 Jun 2001, Jason Lim wrote:

 Hi,

 This is also something that I've been looking into too, with no success
 yet.

 If you find something, let me know and I'll do the same! :-)

 Sincerely,
 Jason

 - Original Message -
 From: Jeremy Lunn [EMAIL PROTECTED]
 To: debian-isp@lists.debian.org
 Sent: Monday, June 11, 2001 11:21 PM
 Subject: user privileges with php (like with suexec)


  I am wondering what is the best way to get simular results to suexec
  with php?
 
  I've heard of people running seperate instances of apache for each
  client.  Is that likely to be a messy solution?  how much overhead would
  each instance be?
 
  The other solution is to use the CGI version of php and use suexec.  I
  still don't think this is as nice as just using the the php module.
 
  Have I missed any solutions?
 
  Although I'm reluctant to hack any code that would be running as root,
  would it be possible to hack php to pass pages to child proceses owned
  by the same user as the php file and if none exist create one?
 
  Thanks,
 
  --
  Jeremy Lunn
  Melbourne, Australia
 
 
  --
  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: long hang time for ftp

2001-03-13 Thread Vasil Kolev



On 12 Mar 2001, David Bishop wrote:

 To follow up my own email, proftp has the exact same problem.  Any other
 ideas?
 
 
Not really a idea, but I usually solve such things with strace  e.g.
strace -f -p pid (of the daemon or inetd, if it runs from there), and
look where does it block ... It's output is simple and readable, and has
helped me a lot :)


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




Re: long hang time for ftp

2001-03-13 Thread Vasil Kolev


On 12 Mar 2001, David Bishop wrote:

 To follow up my own email, proftp has the exact same problem.  Any other
 ideas?
 
 
Not really a idea, but I usually solve such things with strace  e.g.
strace -f -p pid (of the daemon or inetd, if it runs from there), and
look where does it block ... It's output is simple and readable, and has
helped me a lot :)




Re: exim smarthost

2001-02-25 Thread Vasil Kolev



On Sun, 25 Feb 2001, Maurice Verhagen wrote:

 Hello,
 
 I tried it last week without success, so I try it again.
 
 I want to set up some sort of smtp forwarding with exim.
 
 this is the idea: exim as SMTP router for incoming and outgoing mail (to
 the internet). exim also as router to another SMTP daemon on another port
 (26) on the same machine, for internal use.
 
 How do I set this up? smarthost is the magic word I guess, but on the web
 I can't find much info on it.
 
 I tried something with smtp transport but then I get an error message with
 something like: "can't reroute because it's the same host"
 
Just a suggestion - create localmail.mydomain.com to be 127.0.0.2 and then
forward the mail to this host ,and run something to listen there for the
internal mailer...


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




Re: exim smarthost

2001-02-25 Thread Vasil Kolev


On Sun, 25 Feb 2001, Maurice Verhagen wrote:

 Hello,
 
 I tried it last week without success, so I try it again.
 
 I want to set up some sort of smtp forwarding with exim.
 
 this is the idea: exim as SMTP router for incoming and outgoing mail (to
 the internet). exim also as router to another SMTP daemon on another port
 (26) on the same machine, for internal use.
 
 How do I set this up? smarthost is the magic word I guess, but on the web
 I can't find much info on it.
 
 I tried something with smtp transport but then I get an error message with
 something like: can't reroute because it's the same host
 
Just a suggestion - create localmail.mydomain.com to be 127.0.0.2 and then
forward the mail to this host ,and run something to listen there for the
internal mailer...




Re: satellite connections

2001-02-11 Thread Vasil Kolev



On 11 Feb 2001, Andrea Glorioso wrote:

 Hi debianistas.
 
 Does anybody here use satellite to connect to the internet?  If so,
 would anybody be willing to share his experiences with the various
 providers?
 
I have experience with only one satelite provider - Europe OnLine, and,
IMO, they suck big time ... The only reason that we're still using them is
that we don't have any other usage for the DVB card, and if you use
netants ( to make a lot of simultaneous connections ) , it _could_ give
you some good results ( like 2-20 KB/s ), on a good day...




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




Re: satellite connections

2001-02-11 Thread Vasil Kolev


On 11 Feb 2001, Andrea Glorioso wrote:

 Hi debianistas.
 
 Does anybody here use satellite to connect to the internet?  If so,
 would anybody be willing to share his experiences with the various
 providers?
 
I have experience with only one satelite provider - Europe OnLine, and,
IMO, they suck big time ... The only reason that we're still using them is
that we don't have any other usage for the DVB card, and if you use
netants ( to make a lot of simultaneous connections ) , it _could_ give
you some good results ( like 2-20 KB/s ), on a good day...






Re: Network problem on Proliant w/Debian

2001-02-02 Thread Vasil Kolev

I had a lot of problems with eepro100 cards, and wouldn't recommend it to
anybody using linuxas Andrey Savochkin (the current maintainer of
the driver) said once ,  I'm working on the next generation workaround
 And , yes, under 2.4 it refuses to work. My advice is - get 
3com 3C905B , modify max_interrupt_work in linux/drivers/net/3c59x.c to
something like 1024, and live happily ever after

On Fri, 2 Feb 2001, Alexander Reelsen wrote:

 Hi
 
 I am having heavy problems with getting eepro100 cards to run on Compaq
 Proliant DL 360.
 
 The nics just work fine on a 2.2 Kernel, so a physical error can be ruled
 out. I already tried to get the card working with all stable 2.4 kernels,
 some AC and some pre-ones.
 
 Here's the error message I get, when trying to do a ping:
 eth1: Transmit timed out: status a090   0c00 at 28/58 command 0001a
 
 I looked at the source in 2.2.18 and 2.4.1, when this message is printed
 out and I couldn't find any significant difference (there also aren't any
 changing #defines).
 
 What makes wondering some more is, that the same card works in any other
 computer around here, so it must have something todo with 2.4 and
 Proliants.
 
 Does anyone suffer from similar experiences or am I the only one?
 
 




Re: FTP-based Debian install

2001-01-22 Thread Vasil Kolev

I installed debian just from the 2 floppies on my alpha machine (digital
alpha server/400,old but good). The only thing needed is to use boot
floppy with kernel which has driver for the NIC...(or, pppd, if you will
be installing through ppp link :) ). It worked perfect here

On Mon, 22 Jan 2001, Jeremy C. Reed wrote:

 I have been reading through the Debian install documentation, but I can't
 find any reference to a FTP- or HTTP-based base set installs. But also
 read a posting indicating FTP-based installations. Plus, I see that Storm
 Linux (based on Debian) offers a FTP-based installation.
 
 I don't want to use numerous (more than two) floppies.
 
 Does Debian offer a FTP-based installation for the base sets? (Using a
 boot floppy to boot the installer and then using FTP to fetch all the base
 sets?)
 
 (And if so, where is this documented?)
 
 Also, if I decide to use Storm -- how much different is it from plain
 Debian?
 
 (I've installed Debian numerous times using floppies for all the base
 sets; I haven't used a recent installer, because I've just upgraded via
 apt-get.)
 


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




Re: strange msgs

2000-09-25 Thread Vasil Kolev


On Mon, 25 Sep 100, Allen Ahoffman wrote:

 Hi:
 with kernel 2.2.14 and varying hardware I have seen messages on boot like
 this:
 neighbor table overflow
 neighbor table overflow
 
 and when trying to manually configure the ethernet interface which is
 using eepro100 module
 no buffer space available
 can't ping self in this condition.
 anybody know what this is?
 Is it some results of a hack?

You forgot to ifconfig the 'lo' interface - do 
ifconfig lo 127.0.0.1 netmask 255.0.0.0
And all will be fine.