11-11-2001
Sendmail & mail.local + MySQL API
I've searched this message board, and the newgroups THOROUGHLY, in search of any information towards implenting the MySQL API with C... I'm a "beginner" to the C language I suppose, and i've made a few functions in C that can be implemented into the source code of Sendmail/mail.local, so that any INCOMING mail will be INSERTED into a MySQL database, I know that the size of the tables can become insane, but i'm not worried about that.. My question now is, can anyone point me into the direction of some documentation or perhaps some insight on WHERE/HOW to place my functions into the source of Sendmail/mail.local and how to add the link to the libraries and such? Any help would be greatly appreciated...
Thanks in advance,
Corey
7 More Discussions You Might Find Interesting
1. Linux
I have a linux box. Sendmail is work fine in this box. The only problem I am facing is whenever I send mail using the mail command to the outside world or to root@localhost, I get this error -
127.0.0.1 localhost denied from relaying
The command I used to send mail is -
Ls -l | mail -s... (0 Replies)
Discussion started by: RajaRC
0 Replies
2. Programming
(sorry for my english)
Hi, i have an app that uses MYSQL API C.. i trying do a timeout until the table is locked by an other thread , in the docs of Mysql i can see that MYSQL_OPT_READ_TIMEOUT is not implemented for linux ¿?¿?.. any body knows a way to do a timeout until the table is locked by... (0 Replies)
Discussion started by: JEscola
0 Replies
3. Programming
Hi,
I am on Ubuntu 9.04 tweaking some programs demanding MySql queries. I got the program working by installing following package:
sudo apt-get install libmysqlclient-dev
and using proper include and library folder
However I was unable to access any man pages for these C api's (Strangely... (1 Reply)
Discussion started by: dheerajsuthar
1 Replies
4. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
5. UNIX for Dummies Questions & Answers
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.
Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies
6. SCO
Environment: SCO Unix Openserver 6
Sendmail ver: 8.11.3
I just put this server online replacing it's old counterpart, same OS on new machine. There are many different servers on this domain, windowssrv.thisdomain.com, oldunix.thisdomain.com, and the new newunix.thisdomain.com just to name a... (2 Replies)
Discussion started by: checkpro
2 Replies
7. Proxy Server
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
mbot(1) General Commands Manual mbot(1)
NAME
mbot -- Mail handling robot
SYNOPSIS
mbot [-h] [-c configuration file]
Description
mbot is a generic purpose mail robot, written in python. The first goal while writting this piece of software was to provide some kind of
web access (http) to people limited on mail (smtp).
So mbot will receive some mail and make some action for you, then send you back a reply mail. The actions mbot will take are to be defined
in its configuration file (see mbot.conf(5)) and depends on the available handlers :
GoogleHandler
Used to perform some search with the well known search engine
UrlHandler
This one allows to download some url and attach its content to the return mail, with the mime type properly set.
NewsHandler
You can also send some news (with images) to mbot, it will fill your database with it. Currently supported RDBMs are PostgreSQL
and MySQL, so you will have to choose between PgNewsHandler and MyNewsHandler.
PipeHandler
This one will make mbot call an arbitrary given command!
Options
-h will print the help page.
-c specifies the configuration file to use. If omitted mbot will look for it in his own directory.
Install
To install that mail bot, just add a line in your mail alias file, often found under /etc/aliases.
If you use the exim MTA, be sure to add the option pipe_as_creator to your configuration, in the address_pipe section.
Bugs
There should be none... :)
See Also
mbot.conf(5)
Authors
mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org.
mbot(1)