Re: how execute command on every mail received

2010-06-16 Thread paragasu
On Wed, Jun 16, 2010 at 9:05 PM, H.S. hs.sa...@gmail.com wrote: On 15/06/10 05:33 AM, paragasu wrote: Hi all, I wonder if there is a simple SMTP deamon. This deamon will execute a specific command on every email received. I have a PHP program that will parse the email and send SMS

how execute command on every mail received

2010-06-15 Thread paragasu
Hi all, I wonder if there is a simple SMTP deamon. This deamon will execute a specific command on every email received. I have a PHP program that will parse the email and send SMS to specific mobile phone number thereafter. please advice. Thanks

Re: how execute command on every mail received

2010-06-15 Thread paragasu
On Tue, Jun 15, 2010 at 5:40 PM, Erwan David er...@rail.eu.org wrote: On Tue, Jun 15, 2010 at 11:33:47AM CEST, paragasu parag...@gmail.com said: Hi all, I wonder if there is a simple SMTP deamon. This deamon will execute a specific command on every email received. I have a PHP

Re: how execute command on every mail received

2010-06-15 Thread paragasu
On Tue, Jun 15, 2010 at 5:59 PM, Patryk Cisek pat...@debian.org wrote: Try ssmtp. On Tue, Jun 15, 2010 at 05:43:57PM +0800, paragasu wrote: On Tue, Jun 15, 2010 at 5:40 PM, Erwan David er...@rail.eu.org wrote: On Tue, Jun 15, 2010 at 11:33:47AM CEST, paragasu parag...@gmail.com said

Re: Switching from GNOME to another window manager

2009-09-06 Thread paragasu
i am using openbox, a very lightweight WM. #apt-get install openbox On 9/6/09, Jason Hsu jhsu802...@jasonhsu.com wrote: I used the default install to install Debian on a laptop as the sole OS. It boots up in GNOME, which is too slow and sluggish. How can I switch to XFCE, Fluxbox, or some

Re: sound volume went waaaay low

2009-08-16 Thread paragasu
I also have the same problem. Still looking for solutions.. On 8/17/09, Rick Pasotto r...@niof.net wrote: Had to reboot today (powerfailure) and now the sound volume is so low it can barely be heard. I keep current with testing so I'm sure many new updates took effect with the reboot

zero size /root/.bash_history

2009-08-13 Thread paragasu
it is kind of weird when i checked my .bash_history, it is empty. #set give me HISTFILESIZE=500 HISTSIZE=500 right now it work normal. after my last login it is not zero size anymore. what i want to ask is, if the file (.bash_history) automatically empty after the filesize reach 500KB? -- To

Re: zero size /root/.bash_history

2009-08-13 Thread paragasu
svenj...@gmx.de wrote: On 2009-08-13 10:00 +0200, paragasu wrote: it is kind of weird when i checked my .bash_history, it is empty. Did your computer crash recently? Some filesystems (e.g. ext4 before kernel 2.6.30) might cause empty files under some conditions. #set give me HISTFILESIZE=500

Re: iwlist wlan0 scan problem with iwl4965

2009-06-02 Thread paragasu
you can also do #ifup wlan0 #iwlist wlan0 scan On 6/2/09, Alex Samad a...@samad.com.au wrote: On Tue, Jun 02, 2009 at 11:52:41AM +0300, yazicivo wrote: Hi, I'm having some troubles with my iwl4965 -- this is Lenovo 3000 N200 notebook with Debian GNU/Linux 5.0.1 (stable lenny) installed. I

Re: debian and ubuntu

2009-04-25 Thread paragasu
ubuntu == debian testing, if you think debian outdated, try debian unstable. On 4/25/09, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: Hi For servers i'd definitely go for Debian. Ubuntu's commercial and you can't be sure if it'll provide support in the future and how. At least with Debian

Re: how make my laptop beep when low battery?

2009-03-27 Thread paragasu
i am using openbox , btw, how to do it in KDE? maybe the same can be done on openbox? On 3/27/09, Andrei Popescu andreimpope...@gmail.com wrote: On Thu,26.Mar.09, 22:38:05, paragasu wrote: I am using ACPI debian testing with linux kernel 2.6.26-1-686, the problem is, there is no warning when

how make my laptop beep when low battery?

2009-03-26 Thread paragasu
I am using ACPI debian testing with linux kernel 2.6.26-1-686, the problem is, there is no warning when the battery is low. Is there a way to make a warning beep whenever my laptop battery low? thank you -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of

how to uninstall packages installed using dpkg -i

2009-02-24 Thread paragasu
i download a deb package somewhere, it is for ubuntu. out of curiosity i installed this package on my debian lenny. It doesn't work well, and i want to remove it from my system. how to do it? thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of

Re: OT: laptop recomendations

2009-01-03 Thread paragasu
I just buy a NEC Versa Laptop s5500, made in china. the lcd broke to pieces after a month i use it. luckly the support is reachable and quite friendly. But i have to spent another USD300 to replace it. I am running debian. Only work on the latest lenny kernel. It get it working except for the

Re: Intel GM965 on Etch

2008-12-28 Thread paragasu
i have the same problem as you last time. the xserver-xorg-video-intel do not work with etch kernel. after i upgrade the kernel to lenny linux-image-2.6.26-1-686, it works! just upgrade to new kernel it wil be ok On 12/28/08, Winston Smith violinux...@yahoo.co.uk wrote: On Sun, Dec 28, 2008 at

Re: OT: Hidden service disk

2008-12-01 Thread paragasu
AFAIK, window can only recognized very limited filesystem by default (FAT* and NTFS), other than that, window too dumb to tell. On 11/30/08, T o n g [EMAIL PROTECTED] wrote: On Sun, 30 Nov 2008 06:28:23 -0500, Paul Cartwright wrote: . . . It is probably set to empty or hidden or something

Re: Very slim Desktop Manager

2008-11-06 Thread paragasu
i am using openbox, it is very lightweight On 11/6/08, elijah rutschman [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 7:00 AM, Michael Ott [EMAIL PROTECTED] wrote: Hi! I am looking for a very slim desktop manager. The system looking for is a 486 166MHz with 64MB Ram. Hi Michael, Rox

Re: virtual private server? advice requested

2008-10-14 Thread paragasu
i do some research on the internet about vps server. Basicly, if you are looking for VPS. go for XEN based VPS because it is better. Basicly there is two package, unmanaged and managed VPS. Unmanaged is cheaper. With VPS you have to install the package on your own. So, sure you can install Exim,

Re: virtual private server? advice requested

2008-10-14 Thread paragasu
Not necessarily. I would start off with a 64MB or 128MB and load test it. If it suits your needs, why pay more? it is necessary. Standard installation of apache + mysql + debian + postfix etch consume memory more than 128MB (maybe you can do tweaking) on my VPS server it takes 180MB+ by only

debian etch - dnsmasq question

2008-10-11 Thread paragasu
i have a small VPS.. and i want to turn it to my very own dns server. the hosting provider give me 3 ip address.. so i want to use 2 ip for ns1.domain.com and ns2.domain.com currently i have had 20 domain names. it is working ok if i use dnsmasq for this? -- To UNSUBSCRIBE, email to [EMAIL

Re: debian etch - dnsmasq question

2008-10-11 Thread paragasu
is RDNS necessary? if i am not going to handle RDNS what option do i have? thanks On 10/12/08, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sat, Oct 11, 2008 at 02:00:19PM +0800, paragasu wrote: i have a small VPS.. and i want to turn it to my very own dns server. the hosting provider give me 3

Re: Debian Stole My Name!

2008-10-10 Thread paragasu
maybethe debian installer do not permit you to use the username hal. Create any user. after the installer finish.. you can login and create user 'Hal' with adduser.. ;) On 10/10/08, Juha Tuuna [EMAIL PROTECTED] wrote: Hal Vaughan wrote: I'm setting up a new Etch system and just got to the point

Re: no sound in debian 4.0

2008-09-26 Thread paragasu
i suggest the solution by rajeevcoder. #alsaconf make it easier to configure sound in debian On 9/27/08, Star Liu [EMAIL PROTECTED] wrote: On Fri, Sep 26, 2008 at 9:13 PM, Rajeev Kumar [EMAIL PROTECTED] wrote: Hi i have recently installed debian 4.0 but no sound. according to my experience,

Re: BUSY BOX after boot attempt..

2008-09-09 Thread paragasu
i just come across this problem 2 days ago. in my case, it is actually the udev problem. check if there is any error saying udevd failed etc. Even after successfully booting. i have problem with my eth0 not working (renamed to eth1 by then new udev).. to fix it, i do apt-get update then apt-get

Re: Any idea why chroot temporarily cannot find name for group ID 0?

2008-06-29 Thread paragasu
can you give the output of cat /etc/group On 6/30/08, David Barrett [EMAIL PROTECTED] wrote: Can you suggest why I'm seeing the following error when entering a debootstrap chroot on a Fedora host, and why it spontaneously disappears a few minutes later? [EMAIL PROTECTED] svn]# chroot

both mysql and mysql_safe is running?

2008-05-25 Thread paragasu
i am using debian etch on my server, ps ax reveal that, mysql and mysql_safe process running at the same time,, is it normal? my workstation using debian sid. executing the same command (ps ax) show only mysql process are running. is it ok to disable the mysql_safe process?

Re: remove /boot by mistake, /,/usr and /home on partitions with LVM and crypt

2008-05-03 Thread paragasu
On Sat, May 3, 2008 at 5:21 PM, Yahong Chen [EMAIL PROTECTED] wrote: Hi, A lap-top with two OSes: WindowsXP and Debian/Linux R4.0 Ecth. Under Debian, I removed all the sub directories and files of /boot by mistake, and want to rescue the system. The hard disk partitions of the interest

Re: Replace Ubuntu with Debian

2008-04-30 Thread paragasu
The obvious thing to do is to change the apt sources and run a dist-upgrade. However, I'm a little paranoid that this is not entirely safe and that it may leave my system in a broken state. Does anyone have experience with this course of action or have better suggestions? i did try this one.

Re: /dev/null /dev/sdb1 !

2008-04-30 Thread paragasu
On Wed, Apr 30, 2008 at 10:35 AM, Douglas A. Tutty [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 08:41:45PM +0800, paragasu wrote: Or simply because the hard disk it quite old. I buy it second hand because my bios only support 2GB. That hard disk is quite rare nowadays. And if it dies

Re: /dev/null /dev/sdb1 !

2008-04-25 Thread paragasu
So, I think that the command 'cat /dev/null /dev/hdd' did nothing to your system. Maybe something else? i also don't know, it happen after i run that command. There is a lot of error message displayed in the screen. But i am not surprise if it is because of something else - coincident thing

Re: /dev/null /dev/sdb1 !

2008-04-24 Thread paragasu
On Fri, Apr 25, 2008 at 12:27 AM, Jordi Gutiérrez Hermoso [EMAIL PROTECTED] wrote: On 24/04/2008, Mark Allums [EMAIL PROTECTED] wrote: The user in trouble seems to be a newbie. Using parted is not for newbies. How about gparted, then? It's just a GUI frontend to parted and other tools.

Re: /dev/null /dev/sdb1 !

2008-04-24 Thread paragasu
dd if=/dev/zero of=/dev/sdb bs=1M to fix it. i did try that command but it seems doesn't help much either. Could this command have the same result as 'cat /dcev/null /dev/sdb' ? actually, i read some post from http://howto.wikia.com/wiki/Howto_wipe_a_hard_drive_clean_in_Linux and some

Re: /dev/null /dev/sdb1 !

2008-04-23 Thread paragasu
You're going to have to provide some specifics. What drive on what controller? What are the drive's capacity specs (C/H/S)? What command did you use to start fdisk? What commands did you issue within fdisk? In particular, did you create a new partition table? --Mike Bird this is what

Re: 1024 cylinder limit.

2008-04-23 Thread paragasu
On Wed, Apr 23, 2008 at 12:25 AM, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at 12:14 PM, paragasu [EMAIL PROTECTED] wrote: i have an old motherboard. Pentium R acer motherboard. during my days working with windows. the bios can only detect 2GB of diskspace

Re: /dev/null /dev/sdb1 !

2008-04-23 Thread paragasu
On Thu, Apr 24, 2008 at 1:46 AM, Patrick Ouellette [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 01:38:58AM +0800, paragasu wrote: this is what printed on the old hard disk Seagate ST32122A 4092 CTL 2111MB 16 HEADS 63 SECTORS #fdisk /dev/sdb inside the fdisk, i did use

Re: /dev/null /dev/sdb1 !

2008-04-23 Thread paragasu
What was the output of the p command? Is the problem with the disk or with the partition? The o command creates a new partition table. p will print nothing because i delete all the partition using d command. i never aware of o command because i use n to create new partitions.

Re: /dev/null /dev/sdb1 !

2008-04-23 Thread paragasu
On Thu, Apr 24, 2008 at 1:20 PM, Mark Allums [EMAIL PROTECTED] wrote: paragasu wrote: What was the output of the p command? Is the problem with the disk or with the partition? The o command creates a new partition table. p will print nothing because i delete all

/dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
well, i just did an experiments on my old pentum III computer. one of the slave hardisk listed as /dev/sdb1 (EXT2) and /dev/sdb2(SWAP) i run the command /dev/null /dev/sdb1 and suddently, i cannot cannot read or mount my /dev/sdb1 anymore even after i restart my computer few times. i have

Re: /dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
Is this a serious question? George. well, i am sorry if this question look so stupid. but yes, i mean it. but i don't mind if you laugh or think it is a joke anyway

Re: /dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
It could be either. The command you typed effectively formatted the disk. /dev/null contains no data. It is the Linux equivalent of a black hole. If you send the output of /dev/null to a file (which is exactly what you have done) with a single chevron (), it will overwrite anything that

Re: /dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
thiscommanddoesnotexist /tmp/test ls -lha /tmp/test Perhaps an EOF was written opps.. a correction. what i did was $cat /dev/null /dev/sdb1 i forgot to include the cat command :(

1024 cylinder limit.

2008-04-22 Thread paragasu
i have an old motherboard. Pentium R acer motherboard. during my days working with windows. the bios can only detect 2GB of diskspace regardless of disk size (eg: 20GB) i attach to the motherboard. It this limit also true in debian?

Re: /dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
Hm at least catting /dev/null to a full file makes the file now be 0 bytes long. I'm not going to test what it does to my hard drive, of course. ;-) i don't know what technical explanation behind this but i just found out, my hard disk die after i run this command. the hard disk cannot be

Re: /dev/null /dev/sdb1 !

2008-04-22 Thread paragasu
Your installer should normally handle disk partitioning and partition formatting, but if you want to do it by hand you'll need mke2fs (or similar) after creating the partitition table and then some partitions in fdisk. i am happy if i could just that. i did fdisk about 10 times for now. everytime

Re: Configure grub for Windows XP on second HDD

2008-04-19 Thread paragasu
On Sun, Apr 20, 2008 at 2:25 AM, NN_il_Confusionario [EMAIL PROTECTED] wrote: * From: Michael Wilson [EMAIL PROTECTED] map (hd0) (hd1) map (hd1) (hd0) rootnoverify(hd0,0) results from grub map windows - Google Search

Re: browsers have become memory hogs

2008-04-10 Thread paragasu
same thing happen to me. i am using debian sid. before i do dist-upgrade a week ago. i have the same problem. FF use 97% of the CPU after i open few tabs (my laptop using 256MB + Via C3 1G CPU).. especially when i watch youtube. i have to kill the process manually from the terminal because FF

virtual host weird problem..

2008-04-07 Thread paragasu
i have problem. i setup the dns server like this for example A record is example.com CNAME www.example.com point to example.com the problem is, it works fine if i type example.com in the url. but if i use the domain www.example.com, it point to another site on the server. do anyone have idea what

Re: Need to reboot Debian frequently

2008-04-06 Thread paragasu
On Sun, Apr 6, 2008 at 7:15 PM, Rico Secada [EMAIL PROTECTED] wrote: On Fri, 4 Apr 2008 20:13:23 -0700 Pete Kay [EMAIL PROTECTED] wrote: Hi Pete. Can someone tell me what problem is it? This is my test environment, but I don't want the same thing to happen in our production server.

Re: most lightweight debian server

2008-03-31 Thread paragasu
BSD 7.0 is alleged to be better than Linux 2.6.xx, but that is disputed. You might want to use a different scheduler and I/O scheduler than the default if you use a 2.6.24 kernel. As the man said, compile your own. I can't answer as well about the userlands. That depends on what

Re: most lightweight debian server

2008-03-31 Thread paragasu
There are three I/O schedulers in the 2.6.24 distribution. The deadline, anticipatory, and completely fair. You will see these as options when you run make gconfig (or whichever config you run). Completely Fair (CFQ) is now the default. This was mildly controversial when they made the

Re: What are these folders in home?

2008-03-31 Thread paragasu
AFAIK, you can delete all files in $HOME directory. especially the hidden files. the worst you will get is you lost some setting of the program. But you can login just fine. be careful. ;)

Re: most lightweight debian server

2008-03-31 Thread paragasu
There is a lot more than just the I/O scheduler. It just popped into my head because I am doing the configuration right now, myself, and because of the debate/controversy about it. Also, you will want to build the device drivers you need as modules, and configure the system to unload

most lightweight debian server

2008-03-30 Thread paragasu
i have a small vps with only 64MB memory. i am trying to run a costume made PHP scripts in there but i have trouble. when i install mysql server 5.0 and apache2 server. it is so slow. in fact too slow. thus two server already use about 170MB of the server ram. more than twice the RAM allocated for

Re: most lightweight debian server

2008-03-30 Thread paragasu
I find on my boxes with 64 MB ram or less, that I hit swap often. Etch is like that. So for old boxes, I run OpenBSD. No re-compiling necessary. Doug. are u suggesting that OpenBSD use better resource than debian etch? is there any way to customize debian etch so it use server resource

Re: want to speed up laptop

2008-03-30 Thread paragasu
I'm using xfce4 now. It seems to me it's also getting slower (been using for a long time now), I'm wondering if there's any tools to analyze the system performance? Thanks. well, i wonder why GTK2 is slow. i never try KDE. but compare GTK and QTK which one more suitable for old computer? i