t*********l 发帖数: 30 | 1 what is it?
Procmail is a program for filtering electronic mail. It is very
useful for presorting and preprocessing large amounts of incoming
mail. You can use it sort out mail from mailing lists, to dispose
of junk mail, to send automatic replies.
How to start it?
It is probably that your system administrator has set up to let procmail
be invoked from within the mailer immediately. If that's not
the case, it should be invoked automatically over the .forward
file mechanism as soon as mail arrive |
|
Z**0 发帖数: 1119 | 2 procmail可以设定mbox或者maildir。
mutt也支持mbox和maildir格式。 |
|
|
J*e 发帖数: 230 | 4 1. 在 ~/ 建立文件 .procmailrc , 内容如下:
#Set on when debugging VERBOSE=off
#Replace `mail' with your mail directory (Pine uses mail, Elm uses Mail)
MAILDIR=$HOME/mail
#Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail
LOGFILE=/dev/null
# LOGFILE=$PMDIR/log
# INCLUDERC=$PMDIR/rc.testing
INCLUDERC=$PMDIR/rc.maillists
2. 在 ~/ 下建立目录 .procmail
3. 在 .procmail/ 里建立两个文件, 一个是 .forward, 一个是 rc.maillists
.forward 的内容是:
"|I |
|
c*****t 发帖数: 1879 | 5 Does your machine has procmail installed, and is it
the mail delivering agent for your local system?
If so, you can use .procmailrc directly without
.forward at all. If not, you'd better to read
procmail manual about how to use it in .forward.
It could be
|/bin-path/procmail /home-path/.procmailrc
.procmailrc cannot be executed without #!/bin-path/procmail
header, which was not present in your file. |
|
l*l 发帖数: 225 | 6 First , pine have nothing to do with procmail.
Second, If your system demon support translate command, you can use.
man procmail,
read carefully.
you need:
1 compose .forward
2 compose .procmail
You can cut two files fom man files. Good Luck! |
|
c******n 发帖数: 4965 | 7 唯一不方便的是 meeting invite & calendar , 没有办法
最近我发现了一个办法:
I prefer to use mutt for all my email.
so I pull exchange with procmail+fetchmail
then for invites, I let procmail foward to my gmail account,
then I can accept and add to my google calendar.
all the rest can be done in linux |
|
a***n 发帖数: 262 | 8 I suggest you use the procmail, just search procmail on
google, there is a
tutorial, it's really good and powerful. |
|
t*******a 发帖数: 22 | 9 pine actually does provide some basic filter functionality but maybe that's not
enough for your problem. (checkout pine tech ref)
Usually, people use procmail to do complicated mail catgorizing. You need to
write your .procmailrc file. (man procmail) |
|
S*A 发帖数: 7142 | 10 啊,我记错了。
是 procmail 停止开发了。
面壁中。 |
|
l*0 发帖数: 195 | 11 能不能介绍一下 .procmailrc 怎么设置?
我试验了一下,收下来的每一封信被存了一个单独
的文件,而不是把所有的信存成一个文件,这样的话
用 mutt 看就不对了。 |
|
p****s 发帖数: 3184 | 12
email address can be forged, not very useful.
Find the source ip and block the ip.
Here is part of my .procmailrc (I'm using procmail), f**k all the
email spammers from China.
* [[]61\.48\.
/dev/null
* [[]61\.129\.
/dev/null
* [[]61\.1[3-9][0-9]\.
/dev/null
* [[]61\.2[123][0-9]\.
/dev/null
* [[]165\.243\.220\.
/dev/null
* [[]200\.[346][0-9]\.
/dev/null
* [[]202\.9[0-9]\.
/dev/null
* [[]202\.1[017][0-9]\.
/dev/null
* [[]203\.93\.
/dev/null
* [[]203\.207\.
/dev/null
* [[]203\.240\.
/dev/null
* [[ |
|
i**********r 发帖数: 36 | 13 Do you mean pre-sort or post-sort?
Pre-sorting is none of pine's business, pine only manipulate on the emails
that are already somewhere. If you want some emails go to some assigned
folders, try write a .procmailrc file in you home directory. try
"man procmail" to see how to write one.
If you want post-sort the emails you've already read, pine CAN do that. |
|
c********l 发帖数: 447 | 14 偶想在pine里面设一个filter,过滤掉不想看的mail
有人说用.procmail文件
请问如何设置?
many thanks! |
|
m*****e 发帖数: 4193 | 15 You can use procmail or slocal |
|
|
i**********r 发帖数: 36 | 17 Thanks all the responses.
seems all are suggesting to obtain the ps directly, that solves
the misplacement of header and foot, but still I can't find where to
control the nember-of-line-per-page in the ps output, or the font size
in groff. ...
please try manpage for procmail to see how bad its layout is. |
|
m*****e 发帖数: 4193 | 18 check out procmail. Just search online. |
|
t*********l 发帖数: 30 | 19 ftp://ftp.cac.washington.edu/pine/
microbe 是对的, 如果你是这个目的, 学学, procmail 就
足够了, 我想. |
|
p*********e 发帖数: 17 | 20 Thank you both so much! yes. I just want to learn.
I will try procmail. |
|
c********l 发帖数: 447 | 21 好象没有据收的功能耶
可以用procmail把它们转到trash bin里吧 |
|
q***e 发帖数: 90 | 22 If you use pine, you may set it to
filter something(I am not sure how to do it). Another way
is to use procmail - read manual for details on how to do. |
|
T********r 发帖数: 6210 | 23 not easy, actually you should use procmail to filter unneeded
mails, or if you are admin of your Solaris, you can use sendmail
access database to filter spams. |
|
a***t 发帖数: 39 | 24
Sendmail is a MTA (mail transport agent), you can actually use it to send mail
too. Usually, you use mail, mailx, procmail, elm, or pine as your mail client
to send/receive mail. |
|
c********y 发帖数: 6 | 25 以下是我的问题:
"A task that is done manually in the "manual desktop simulation" environment,
and assemble the tools and scripts needed to do a significant part of it
automatically.
The automated task either should process information received in electronic
mail, and be invoked from procmail; or performed periodically, and invoked
from cron. All components must actually work before you receive credit for
your project. Work that duplicates existing tools, or replicates current or
previous student projec |
|
c********y 发帖数: 6 | 26 以下是我的问题:
"A task that is done manually in the "manual desktop simulation" environment,
and assemble the tools and scripts needed to do a significant part of it
automatically.
The automated task either should process information received in electronic
mail, and be invoked from procmail; or performed periodically, and invoked
from cron. All components must actually work before you receive credit for
your project. Work that duplicates existing tools, or replicates current or
previous student projec |
|
A*****o 发帖数: 222 | 27 作业? it has all the clue, i think cron job could be an easy way.
or procmail |
|
|
T********r 发帖数: 6210 | 29 I use spamassassin + procmail |
|