#perl - Tue 13 Mar 2007 between 00:19 and 00:28



f00li5hgrigora: add something like foo: /usr/share/grigora/mail_processor -to foo
revdiablofridim: No need to make it yourself
grigoraf00li5h: well, the problem with that (I think) is that I would have to maintain the user list in 2 places
f00li5hgrigora: what's the second place?
grigorawell all the users will already be in a database
fridimrevdiablo, Make it myself ? what ?
f00li5hgrigora: generate /etc/aliases from the database
grigora: or use some pluginable mailagent
fridimI'am not making a mail service
revdiablofridim: You don't have to write a program to store your mail in mysql
f00li5hfridim: who said that you're making a mail service?
grigoraf00li5h: pluginable mailagent - like what?
revdiablofridim: It already exists
f00li5hgrigora: revdiablo speaks wisdom
revdiablo: do tell
revdiabloOops
I, er, confused fridim with grigora
fridimrevdiablo, why are you telling me that ? I don't want to make a program to store my mail in mysql
revdiablo, ok, np
f00li5hrevdiablo: you sure did
revdiablogrigora: http://www.dbmail.org/index.php?page=overview
=)
f00li5hfridim: paste code with a description of the problem at the top
fridimActually I use simply DBI on mysql, and after for example an update of mysql-server, the connection is lost between the perlscript and mysql
grigorarevdiablo: thanks
f00li5hfridim: you mean an updated to the version of the sql server?
grigorarevdiablo: the problem with dbmail is that it stores the email in its own schema which is quite what I want
fridimactually : aptitude upgrade, yes
f00li5hgrigora: you can do views on it perhaps
fridimmy $dbh = DBI->connect("dbi:mysql:database=kioestas","kioestas","xxxxx")
that what i've used.
f00li5hfridim: what did you expect? it has to stop the database daemon
grigorarevdiablo: what I am trying to do is let users update their web pages through email
fridimf00li5h, I expect dbh to reconnect automaticly, in background
f00li5hi see...
fridimIs that possible?
revdiablogrigora: I'd probably approach that as f00li5h describes, using dbmail and views to tweak the schema
grigorarevdiablo: thanks, someone also suggested procmail
fridimI could use : $dbh->ping and if it fails reconnect by hand
revdiablogrigora: I would avoid procmail like the plague

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 

IrcArchive