From: "Михаил Шувалов" <shuvalov.mv@gmail.com> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] фильтры в procmail Date: Wed, 8 Apr 2009 12:21:20 +0400 Message-ID: <a5a6a8800904080121t19f3fbecu6677d1231075d9f1@mail.gmail.com> (raw) Добрый день! Решил таки попробовать разобраться с procmail и что-то не очень получается с фильтром. Создал такой вот .procmailrc для тестирования $ cat .procmailrc PATH=/bin:/usr/bin:/usr/bin LOGFILE=fromyandex.log :0 * ^From.*yandex { mailname="yan113" :0 cw /home/mike/Mail/$mailname :0 fw | "/usr/bin/ripmime -i /home/mike/Mail/$mailname -d /home/mike/Mail/files" } Письмо копируется в вайл /home/mike/Mail/$mailname, а вот ripmime пишет, что нет такого файла $ cat fromyandex.log /bin/sh: /usr/bin/ripmime -i /home/mike/Mail/$mailname -d /home/mike/Mail/files: No such file or directory procmail: Error while writing to "/usr/bin/ripmime -i -/home/mike/Mail/$mailname -d /home/mike/Mail/files" procmail: Program failure (127) of "/usr/bin/ripmime -i /home/mike/Mail/$mailname -d /home/mike/Mail/files" From mike@to-18-2.fss.spb.ru Tue Apr 7 19:09:55 2009 Subject: test 11 Folder: /var/spool/mail/mike 69410 Подскажите, где грабли? -- С уважением, Михаил Шувалов
next reply other threads:[~2009-04-08 8:21 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-08 8:21 Михаил Шувалов [this message] 2009-04-08 10:39 ` Alexey I. Froloff 2009-04-08 13:05 ` Михаил Шувалов 2009-04-08 13:29 ` Alexey I. Froloff 2009-04-09 14:28 ` Михаил Шувалов 2009-04-09 14:58 ` Alexey I. Froloff 2009-04-10 18:48 ` Михаил Шувалов 2009-04-10 22:12 ` Alexey I. Froloff 2009-04-11 13:47 ` Михаил Шувалов
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=a5a6a8800904080121t19f3fbecu6677d1231075d9f1@mail.gmail.com \ --to=shuvalov.mv@gmail.com \ --cc=sysadmins@lists.altlinux.org \ /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 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