From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] imap & maildrop
Date: Mon, 03 Feb 2003 15:14:32 +0300
Message-ID: <3E3E5D28.7040708@rmts.donpac.ru> (raw)
In-Reply-To: <20030203144958.66c30043.__Mah__@mail.ru>
Max A Mazin пишет:
> hi
>
> Решил переползти на imap. Поставил courier-imap. В качестве MTA --
> postfix. home_mailbox у меня дефолтный, т. е. в /var/spool/mail. Формат
> mailbox.
>
> У себя в хоме завел Maildir для хранения почты. проверил kmail'ом и
> sylpheed'ой -- все работает. Теперь, как мне организовать доставку писем
> из /var/spool/mail/... в мой maildir и как организовать фильтрацию?
> Использовать планирую maildrop. Читал документацию много, но мне так и
> не удалось организовать даже простейший фильтр... Направьте меня по
> нужному следу, или приведите рабочий пример ~/.mailfilter (достаточно
> состоящего из одного правила).
>
> Есть вероятность, что я что-то не так делаю, но вот понять, что, я не
> могу.
cat /etc/courier-imap/maildroprc
logfile mail.log
UMASK=007
if (/^From: .*support@nic.ru*./)
{
to "/var/spool/mail/public/.DNS Mail"
}
if (/^From: .*support@aaanet.ru*./ || /^To: .*arbuz@aaanet.ru*./)
{
to "/var/spool/mail/public/.AAA Mail"
}
if (/^From: .*MAILER-DAEMON*./)
{
to "/var/spool/mail/public/.Mailserver"
}
--
С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2003-02-03 12:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-03 11:49 Max A Mazin
2003-02-03 12:14 ` Прокопьев Евгений [this message]
2003-02-04 1:37 ` Dmitry Lebkov
2003-02-05 14:45 ` Max A Mazin
2003-02-05 14:47 ` Max A Mazin
2003-02-05 14:52 ` Dmitry Lebkov
2003-02-05 14:58 ` Leonid B. Sysoletin
2003-02-05 15:03 ` Max A Mazin
2003-02-05 15:09 ` Leonid B. Sysoletin
2003-02-06 7:31 ` Max A Mazin
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=3E3E5D28.7040708@rmts.donpac.ru \
--to=john@rmts.donpac.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