On Saturday 05 Nov 2005 6:02 pm, Animesh Singh wrote:
storing relevant details of the mail in a database
Wish to know where you injected the script in MTA ( sendmail ).
sorry, i searched, but could not find the original script where i had injected in sendmail - i had later changed the script to parse the output from fetchmail as those details were enough for my database. I do remember it involved adding a line in sendmail.cf which piped the mail to my script which then piped it back to sendmail for further processing, but since i stopped using sendmail some years back, i cant remember how i did it.