ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Как опять послать письмо?
@ 2007-03-02 14:05 Slava Dubrovskiy
  2007-03-04 19:27 ` Andrey Rybak
  2007-03-19  8:20 ` Sergey
  0 siblings, 2 replies; 3+ messages in thread
From: Slava Dubrovskiy @ 2007-03-02 14:05 UTC (permalink / raw)
  To: Sysadmins

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

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

Есть много писем вернувшихся отправителю с сообщением о невозможности
доставки. В них вложены оригинальные письма в формате .eml. Существует
ли какой-либо скрипт, который вытащит эти eml и отправит опять?

Или хоть просто отправить уже сохранённые .eml опять.
sendmail -i test@mydomen.com <letter.eml я знаю, но тут надо указывать
адресата. А его надо брать из письма из поля To:
Подскажите, есть ли готовый скрипт или придется изобретать самому?

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

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

* Re: [Sysadmins] Как опять послать письмо?
  2007-03-02 14:05 [Sysadmins] Как опять послать письмо? Slava Dubrovskiy
@ 2007-03-04 19:27 ` Andrey Rybak
  2007-03-19  8:20 ` Sergey
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Rybak @ 2007-03-04 19:27 UTC (permalink / raw)
  To: slava, ALT Linux sysadmin discuss


> Или хоть просто отправить уже сохранённые .eml опять.
> sendmail -i test@mydomen.com <letter.eml я знаю, но тут надо указывать
> адресата. А его надо брать из письма из поля To:
> Подскажите, есть ли готовый скрипт или придется изобретать самому?
>
>   
самому ж бістрее написать, чем искать.
вот пример (может и есть ошибки, но идея понятна, надеюсь)
grep your.eml '^To:' | awk '{print $2}'
Это д.б. извлечение вашего адресата


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

* Re: [Sysadmins] Как опять послать письмо?
  2007-03-02 14:05 [Sysadmins] Как опять послать письмо? Slava Dubrovskiy
  2007-03-04 19:27 ` Andrey Rybak
@ 2007-03-19  8:20 ` Sergey
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey @ 2007-03-19  8:20 UTC (permalink / raw)
  To: slava, ALT Linux sysadmin discuss

On Friday 02 March 2007, Slava Dubrovskiy wrote:

> Или хоть просто отправить уже сохранённые .eml опять.
> sendmail -i test@mydomen.com <letter.eml я знаю, но тут надо указывать

sendmail -it <letter.eml

-- 
С уважением, Сергей
a_s_y@sama.ru


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

end of thread, other threads:[~2007-03-19  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-02 14:05 [Sysadmins] Как опять послать письмо? Slava Dubrovskiy
2007-03-04 19:27 ` Andrey Rybak
2007-03-19  8:20 ` Sergey

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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