ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] strip email attachments from emails
@ 2001-11-14  9:56 Alexandre Redko
  2001-11-14 12:52 ` Igor Panichkin
  2001-11-14 13:57 ` Igor Homyakov
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Redko @ 2001-11-14  9:56 UTC (permalink / raw)
  To: Mandrake

Добрый день!
Столкнулся с такой задачей: головная контора шлет документы аттачами в виде
архивов с паролями.
Мне здесь надо их распихивать кому надо. Пока делаю это вручную, но уже
начало надоедать.
Поискал в конференциях, но пока нашел только мужика, озадаченного
аналогичной проблемой в Америке:
------------------------
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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mdk-re] strip email attachments from emails
  2001-11-14  9:56 [mdk-re] strip email attachments from emails Alexandre Redko
@ 2001-11-14 12:52 ` Igor Panichkin
  2001-11-15 11:51   ` Michael Shigorin
  2001-11-14 13:57 ` Igor Homyakov
  1 sibling, 1 reply; 4+ messages in thread
From: Igor Panichkin @ 2001-11-14 12:52 UTC (permalink / raw)
  To: Alexandre Redko

Здравствуйте, Alexandre.

Вы писали 14 листопада 2001 р., 9:03:02:

AR> Добрый день!
AR> Столкнулся с такой задачей: головная контора шлет документы аттачами в виде
AR> архивов с паролями.
AR> Мне здесь надо их распихивать кому надо. Пока делаю это вручную, но уже
AR> начало надоедать.
AR> Поискал в конференциях, но пока нашел только мужика, озадаченного
AR> аналогичной проблемой в Америке:
AR> ------------------------
AR> I need a solution / examples of how to strip email attachments from emails
AR> and save those attachments to a directory.
AR> What happens to the original email is of no concern.  The main purpose would
AR> be to get the attachment, not the email.
AR> I'm guessing procmail would be the best way to go about plugging in some
AR> code to cut the attachment portion out of an email and save it.
AR> I know other people have done this before, but HOW???
AR> And would the code be different if the attachment were ASCII vs. binary?
AR> Can someone give me a snippet of their code to use for this purpose?  I've
AR> looked at several tools but they don't give any straight-forward solutions
AR> that looked very promising...
AR> Please Help?
AR> -Steve in Phx.
AR> --------------------------
AR> От чтения документации по procmail пока не полегчало. Так что пока остается
AR> только вслед за мужиком сказать:
AR> Please Help!

AR> Александр Редько
AR> отдел АСУП , инженер
AR> sasha@zlkz.spnet.ru
AR> ICQ # 75828152
AR> тел.  (254)-4-81-32
AR> email-to-sms: REKX@EMAIL2SMS.RU



AR> _______________________________________________
AR> Mandrake-russian mailing list
AR> Mandrake-russian@altlinux.ru
AR> http://altlinux.ru/mailman/listinfo/mandrake-russian

Могу подсказать только идею. Отправлять письма c атачами нужно
отправлять на какой-либо alias
а в файле /etc/aliases для этого алиаса указать конечный командный обработчик,
например, mail. Для более подробной информации man aliases.
Конечно это нарушит безопасность системы, но если это не критично....
Сам пробовал, но уже очень давно...
-- 
С уважением,
 Igor                          mailto:podpiskaru2001@mail.ru




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mdk-re] strip email attachments from emails
  2001-11-14  9:56 [mdk-re] strip email attachments from emails Alexandre Redko
  2001-11-14 12:52 ` Igor Panichkin
@ 2001-11-14 13:57 ` Igor Homyakov
  1 sibling, 0 replies; 4+ messages in thread
From: Igor Homyakov @ 2001-11-14 13:57 UTC (permalink / raw)
  To: mandrake-russian

On Wed, Nov 14, 2001 at 10:03:02AM +0300, Alexandre Redko wrote:
> Добрый день!
> Столкнулся с такой задачей: головная контора шлет документы аттачами в виде
> архивов с паролями.
> Мне здесь надо их распихивать кому надо. Пока делаю это вручную, но уже
> начало надоедать.
> Поискал в конференциях, но пока нашел только мужика, озадаченного
> аналогичной проблемой в Америке:
> ------------------------
есть утилиты mpack/munpack для работы с атачами (MIME),
надеюсь это то что вам надо

P.S.
     я бы выбрал perl -- сделает всё что надо и "есть не попросит" :))
-- 
Igor Homyakov
<homyakov(at)ramax.spb.ru>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mdk-re] strip email attachments from emails
  2001-11-14 12:52 ` Igor Panichkin
@ 2001-11-15 11:51   ` Michael Shigorin
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2001-11-15 11:51 UTC (permalink / raw)
  To: Alexandre Redko

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

On Wed, Nov 14, 2001 at 11:59:28AM +0200, Igor Panichkin wrote:
> AR> Столкнулся с такой задачей: головная контора шлет документы аттачами в виде
> AR> архивов с паролями.
> AR> Мне здесь надо их распихивать кому надо. Пока делаю это вручную, но уже
> Могу подсказать только идею. Отправлять письма c атачами нужно
> отправлять на какой-либо alias
> а в файле /etc/aliases для этого алиаса указать конечный командный обработчик,
Ужас какой :)

man procmailrc на предмет target'а, начинающегося с | :)

---
# фильтруем дупы
:0 Whc: msgid.lock
| formail -D 65536 msgid.cache
---

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ http://visa.chem.univ.kiev.ua/~mike/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-15 11:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-14  9:56 [mdk-re] strip email attachments from emails Alexandre Redko
2001-11-14 12:52 ` Igor Panichkin
2001-11-15 11:51   ` Michael Shigorin
2001-11-14 13:57 ` Igor Homyakov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git