On Tue, 22 Jan 2002, Pat wrote: > What I want is , the attachment of the dnloaded mail should be > automaticaly un-zipped in the /mail/spool/drawings dire- ctory after > the dnload is complete. ( /mail/spool/drawings is a common-access dir,
use procmail for this. As soon as the mail is received, pipe it to a procmail filter that will ungzip it into the relevant directory. Something like this: :0: *^From:.*(from_address) |filter_program and your filter program will split the mail into header, body and attachments. I had written a perl program to do this, but don't have it with me at the moment. Will post it if I find it. Then, ungzip the attachments. > 2) In the LIH message header :- > Message-ID: > <[EMAIL PROTECTED]> The entire string within the <> is the message-id. It is an unique number used to identify a mail leaving a mailhost. It is generally formed by the timestamp, mail's id in the queue, and the name of the mailhost. Philip -- >Ever heard of .cshrc? That's a city in Bosnia. Right? (Discussion in comp.os.linux.misc on the intuitiveness of commands.) _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
