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