ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Homyakov <homyakov@ramax.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Вопрос по procmail?
Date: Fri, 16 Jul 2004 17:55:03 +0400
Message-ID: <40F7DE37.10309@ramax.ru> (raw)
In-Reply-To: <200407081511.04271.support@udb.co.ru>


не понятно как получает почту procmail, если он работает как MDA то
исходящяя почта все равно идет мимо него

вариант настройки:

1) file://etc/postfix/main.cf
always_bcc=backup-email@domain.tld

2) file://~backup-email/.procmailrc
DEFAULT =/dev/null

:0
* (^TO_|^From:.*)user@domain.tld
Maildir/

но такое решение легко обойти, т.к в нем предполагается что поля в
заголовке и в  "конверте" письма совпадают.


Petr Taksior пишет:

> Здравствуйте!
> 
> Вопрос следующий!
> Имеем ALM 2.2
> Необходимо всю входящую и исходящую почту одного из пользователей (test) 
> складывать в контроль-ящик (backup), при этом исключать из этого ящика почту 
> от ненужных для контроля адресатов (user).
> 
>  В procmailrc
> :0 c:
> * (^From|^To).*test@domain.ru
> backup
> :0
> * ^To.*backup
> * (^From|^To).*user@domain.ru
> /dev/null
> 
> И что то все равно вся почта от testa попадает в backup. Я так понимаю, что 
> второе правило вообще не читается! Где я ни туда смотрю?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community

-- 
Igor Homyakov
<igor.homyakov AT ramax.ru>


      parent reply	other threads:[~2004-07-16 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08 11:11 Petr Taksior
2004-07-08 11:15 ` Mike Lykov
2004-07-08 11:43   ` Petr Taksior
2004-07-16 13:55 ` Igor Homyakov [this message]

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=40F7DE37.10309@ramax.ru \
    --to=homyakov@ramax.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