From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <010601c16cda$66ab7eb0$0500000a@sasha> From: "Alexandre Redko" To: "Mandrake" MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [mdk-re] strip email attachments from emails Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Wed Nov 14 09:56:22 2001 X-Original-Date: Wed, 14 Nov 2001 10:03:02 +0300 Archived-At: List-Archive: List-Post: Добрый день! Столкнулся с такой задачей: головная контора шлет документы аттачами в виде архивов с паролями. Мне здесь надо их распихивать кому надо. Пока делаю это вручную, но уже начало надоедать. Поискал в конференциях, но пока нашел только мужика, озадаченного аналогичной проблемой в Америке: ------------------------ I need a solution / examples of how to strip email attachments from emails and save those attachments to a directory. What happens to the original email is of no concern. The main purpose would be to get the attachment, not the email. I'm guessing procmail would be the best way to go about plugging in some code to cut the attachment portion out of an email and save it. I know other people have done this before, but HOW??? And would the code be different if the attachment were ASCII vs. binary? Can someone give me a snippet of their code to use for this purpose? I've looked at several tools but they don't give any straight-forward solutions that looked very promising... Please Help? -Steve in Phx. -------------------------- От чтения документации по procmail пока не полегчало. Так что пока остается только вслед за мужиком сказать: Please Help! Александр Редько отдел АСУП , инженер sasha@zlkz.spnet.ru ICQ # 75828152 тел. (254)-4-81-32 email-to-sms: REKX@EMAIL2SMS.RU