From: Andrew Nazarkin <gnomik@mtv.ru> To: community@altlinux.ru Subject: Re: [Comm] Re[2]: [Comm] Re: procmail - автоответчик Date: Thu, 28 Nov 2002 16:44:47 +0300 Message-ID: <20021128164447.101c934e.gnomik@mtv.ru> (raw) In-Reply-To: <10025645316.20021128174033@udm.ru> On Thu, 28 Nov 2002 17:40:33 +0400 ASA <llb@udm.ru> wrote: > Hello Прокопьев, > > Thursday, November 28, 2002, 5:18:36 PM, you wrote: > > >>>Как в .procmailrc описать правило, согласно которому всем, > >>>приславшим письмо на info@servername.ru, автоматически > >>>высылался ответ? > .. > ПЕ> Я понимаю, что это должно быть что-то вроде > > ПЕ> :0 > ПЕ> * ^To:.*info@servername.ru > ПЕ> echo "С Вами говорит автоответчик" | mail ^From > > ПЕ> Но как по-настоящему передать mail'у содержимое поля From > ПЕ> отправителя? > > А может использовать не procmail, а перловый (или еще на > чем-нибудь, даже sh+sed сгодится) скрипт и вызывать его в > /etc/aliases: > info: |/usr/local/bin/script > > Все. Письмо скормится скрипту полностью, с заголовками (через > stdin). дальше $head=new Mail::Header \*STDIN; > Еще есть проект vacation на соурцефорже или на свежемясе работает - чистой воды автоответчик. Уж года два как пользуюсь. > -- > Best regards, > ASA mailto:llb@udm.ru > > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/community
next prev parent reply other threads:[~2002-11-28 13:44 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-28 10:52 [Comm] " Прокопьев Евгений 2002-11-28 11:09 ` [Comm] " Vitaly Ostanin 2002-11-28 13:18 ` Прокопьев Евгений 2002-11-28 13:37 ` Antonio 2002-11-28 13:38 ` Dmytro O. Redchuk 2002-11-28 13:43 ` Dmytro O. Redchuk 2002-11-28 13:40 ` [Comm] Re[2]: " ASA 2002-11-28 13:44 ` Andrew Nazarkin [this message] 2002-11-28 13:57 ` [Comm] " Artem Pastukhov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021128164447.101c934e.gnomik@mtv.ru \ --to=gnomik@mtv.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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