You could also pipe them to a script or app like this using aliases:

[EMAIL PROTECTED]: |/path/to/script

/thomas



On 24/2-2004, at 12.20, Bill Taroli wrote:

Well, ignoring the substance of the processing you want to do on the message(s), the most important aspect would seem to be how to find the messages to process, yes? Well, if you're using Maildirs, it's extremely easy. Assuming that you were sending these messages to a specific mailbox, you would simply have your jobs look at the base Maildir (say $HOME/Maildir for the simple case where the mailbox is owned by a real user) in the "new" and/or "cur" subdirectory. If you didn't also have a POP, IMAP, or web-based client accessing the mailbox, then presumptively all the interesting messages would be in "new". And since each email is a separate file by definition... well, the rest seems pretty darn simple.

Complications could arise if you were adding some of the virtual features for mailbox references... but the basic structure of the Maildir (once found) is completely the same.


Kevin Bailey wrote:


can't think where to start with this one.....

i have a requirement to automatically process emails received to a particular address - there may be an attachment or it may be that the email is formatted in a particular way.

in processing the email some info is extracted and put into a database.

could someone point me at any clues/docs on how this may be acheived,

thanks,

kev bailey


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

--
Thomas von Hassel
Vermø Gruppen ApS - Paghs Allé 28, 7400 Herning
Tlf.: 70 25 73 25 / Mobil: 40 28 17 70
Se også: <http://www.magasinet-midtjylland.dk>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to