From: Alexander Volkov <alt@vladregion.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] mailcopy via maildrop Date: Wed, 28 Mar 2007 13:56:21 +0400 Message-ID: <20070328095621.GC6369@vladregion.ru> (raw) Hi! Народ, а есть кто, использующий maildrop фильтры? Ситуация такая. Есть MTA Sendmail и MDA maildrop, с доставкой в maildir. Глобальный maildroprc: `test -f $HOME/.mailfilter` if ( $RETURNCODE == 0 ) { include '.mailfilter' if ( $QUIT ) REASON="users's filter" } to 'Maildir/.' DEFAULT="$HOME/Maildir/" Почту одного из пользователей, приходящую с определенных адресов, надо копировать ещё на 3 внешних адреса. Порылся в нете, пишу .mailfilter: if (/^From: *Max@*/ ) { cc "!kst33 yandex.ru, !europa rk.gus.elcom.ru" } if (/^From: *Sergey_Z@*/ ) { cc "!kst33 yandex.ru, !europa rk.gus.elcom.ru" } if (/^From: *vaa33rus@*/ ) { cc "!region" cc "!kst33 yandex.ru, !europa rk.gus.elcom.ru, !radio murom.net" cc "!vaa , !region" } ("собак" убрал для письма). Не реагирует! Причём файл то читает (потому как при неправильных правах сначала материлось и не доставляло почту в ящик), но копий не шлет. Может кто подсказать? -- Regards, Alexander
next reply other threads:[~2007-03-28 9:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-28 9:56 Alexander Volkov [this message] 2007-03-28 19:20 ` Dmitry Lebkov 2007-03-29 4:35 ` Alexander Volkov 2007-03-29 5:45 ` Dmitry Lebkov 2007-03-29 6:23 ` Alexander Volkov 2007-03-29 6:55 ` Dmitry Lebkov
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=20070328095621.GC6369@vladregion.ru \ --to=alt@vladregion.ru \ --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