Hello,
I need to pipe sendmail log to MySql. How can I achieve this...
Suggestions and pointers pls.
Thanks
poonam
________________________________________________________________________ Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com
Hi Poonam,
You need to write some kinda script which will accept wat ever comes on the command line to put it into mysql db then u can probably try this out
open /etc/syslog.conf
locate mail.* and add another line like this
mail.* -/path/to/ur/shell/script
n restart syslogd daemon... but while doing this u will eventually forward all other details regarding connection with imap, pop services too....
HTH..
Best Regards, -Mitul Limbani Support Editor http://www.wrox.com/
On Sat, 2002-07-27 at 11:47, Poonam P wrote:
Hello,
I need to pipe sendmail log to MySql. How can I achieve this...
Suggestions and pointers pls.
Thanks
poonam
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
-------------------------------------------------------------- Peer Information India Pvt Ltd, Mumbai, India