Manipulating mailboxes

Laszlo Zsolt Nagy gandalf at geochemsource.com
Mon May 23 06:29:04 EDT 2005


Maksim Kasimov wrote:

>change header information, insert messages into a database, delete/add messages, should not store passwords for all users, ... and any things else you wish to do - if your OS is UNIX - just forward mail messages of some users to your python script (you don't need to write a daemon for this)
>All you need is to place file ".forward" in users home directory, and write like this:
>|/path/myscript.py
>  
>

>and chmod the script:
>chmod 777 /path/myscript.py
>  
>
Oh, fantastic. :-) Then I can open stdin and read the e-mail message 
from there.
Thank you so much

Laci 2.0





More information about the Python-list mailing list