I have a python code that has a line:
msg=rfc822.Message(sys.stdin)
The python script running this extracts the message in 'msg' and then gets the various header fields out of it.
However i ve just started with python and not able to figure out in the script how the mails are being sent.Something about 'procmail' was mentioned in the documentation but wasn't very clear.
What the script does it is to automate file extraction(body of the message) through this mail.
I am not very clear with the whole process.Can someone help me out.Any useful links are welcome too.