论坛风格切换切换到宽版
  • 888阅读
  • 4回复

[问题求助]关于procmail的配置,脑袋那是一个大! [复制链接]

上一主题 下一主题
离线tanweihai.
 
发帖
2003
C币
-193495
威望
363
贡献值
1
银元
-3
铜钱
4592
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
关于procmail的配置:我的问题是这.样的,我不知道.我的配置文件有没有错误,但是无论怎么设置,邮件最后都会到.达inbox这个邮箱里,有的时候会到达IT这个邮箱,高手帮忙看看我的配置文件有没有问题!              乙肝


代码:
MAILDIR=$HOME/Mai.l.
DEFAULT=$MAILDIR/inb.ox/.
LOGFILE=.$MAILDIR/log(        游戏          )
VERBOSE=off
PATH=/bin:/sbin:/usr/bi.n:/usr/s.bin:/usr/local/bin:/usr/local/sbin虚拟主机

:0:
* ^From:..*0828*.
$MAILDIR/A.Book/(        游戏          )

:0:
* ^Sub.ject:.*乐不思蜀*(        游戏          )
$MAI.LDIR/ALbss/.

:0:
*. ^Subject:.*IT*电脑
* ^F.orm:.*google*<性病>
$MAILDIR/IT/

:0:
* ^Subjec.t:.*汽车*.
$MAILDIR/Cars/

:0:
* ^Subje.ct:.*新闻*.
$MAILDIR/New/

:0:
*. ^Subject:.*游戏*            杀毒
$MAILDIR/Game/

:0:
* ^Subje.ct:.*互联网*.
$MAILDIR/Inte.rnet/             汽车

:0:
* ^Subj.ect:.*python*             电子
$.MAILDIR/Python/              乙肝

:0:
* ^Subject:.*老.K实验室*.
$MAILDIR/LaoK/





这个是getmail的:

代码:
[retriever]
type = Simple.POP3.SSLRetriever<性病>
server = pop.gmail.com.教育
port = 995
username .= jin18658424@gmail..com.
password =
#
#[destination]
#.type = Maildir<性病>
#path = ~./Mail/inbox/.
[destination]
type = MDA_exter.nal.
path = /usr/bin/pro.cmail    美容
#
[options]
verbose = 0
delete = true
message_log = ~/.getm.ail/getmail..log           女人


这个muttrc:

代码:
#==================================..====================#[成人用品]
# Bo.ring details              乙肝
set realname. = "datou"虚拟主机
set fr.om = "jin.18658424@gmail.com"    美容
set use_from .= yes.
set enve.lope_from ="yes"电脑

#.set pop_last=yes(广告)
#set pop_pass=j0.i8a2n8g虚拟主机
#set pop_user=jin18658424@gmail...com--------------彩票
#.set pop_host=po.ps://pop.gmail.com          婚庆
# Use .a signature--- 印刷
#.set signature="~/..signature"           建材

#用快捷键G调用getmai.l外贸
macro i.ndex G "!./usr/bin/getmail"              乙肝

# Use msmtp rather than sen.dmail. Check t.hat           建材
# the p.ath is corr.ect for your system:域名
set sendmail="/usr./bin/ms.mtp".
# If not s.et in ~/.bash.rc:             汽车
s..et spoolfile = ~/Mail/inbox              乙肝

#===========.==========.=================================#.
# Folders
s.et mbox_type=Maildir教育
set mbox="$.HOME/Mail/inb.ox".
set folder="$HOME/Mail" # .Local mailboxes. stored here              乙肝
set record="+sent"           # Where to store. s.ent messages--------------彩票
set postponed="+postponed".   # Where to st.ore draft messages.
set mbox_type=mbox           # Mailbox .type  . .
se.t move=.no                  # Don't move mail from spool虚拟主机

#===.====================================.===============#教育
# Watch these mailbo.xes. for new mail, useful only if.
# Procmail or Maildrop is used to sort. mai.l.投资
#mailbox.es ! +s.lrn +fetchmail +mutt<性病>
mailboxes +New
mailboxes +IT
mail.boxes +ABooks.
m.ailboxes +Albss             电子
m.ailboxes +Cars[成人用品]
mailboxes. +House.
mailboxes +Ga.me    外汇
m.ailboxes +Internet投资
mailboxes +P.ython.
mailboxes +.LaoK电影
#set sort_browser=alpha  .  # Sort. mailboxes by alpha(bet).
set sort_browser=date # Sor.t mailboxes by date(LATEST. first).

#=============.=================.========================#电影
# What to show and o.rde.r of headers--- 印刷
ignore *
unignore Dat.e: From: User-Agent: X-M.ailer X-Operating-System To: \            杀毒
    .     Cc: Reply-To: Subject: Mail-Followup-.To:--------------彩票
hdr_order Date: From: User-.Agent: X-Mailer X-Operating.-System To: \.
        Cc: Reply-To: Subj.ect: Mai.l-Followup-To:<性病>

#================.=============================.=========#教育
# w.hich editor do you wa.nt to use?域名
#. vim of course!电脑
set editor.="gvim -c 'set .tw=72 et' '+/^$' "            杀毒
set edit_headers=yes      # See the headers. when .editing学习

#======.============================================.====#    外汇
# Aliases

set .alias_file = ~/Mail/mu.tt_aliases # In their own file.
#source ~/mail/mu.tt_alia.ses           # Source them.
#set sort_alias=alias    .     .        # Sort alphabetically--- 印刷

#===.======================================.=============#<性病>
# Colou.rs:. defaults are a little bleak so experiment!.

source ~/.mutt/mutt_colors            # In thei..r own file.

#=================.===============================.======#    健康
# Lis.ts: An example us.ing the mutt-users list:.

lists mutt-users.    健康
subscribe mutt-use.rs.
set followu.p_to=yes        # Sets 'Mail-Followup-To' .header             汽车
set honor_followup_to=y.es    美容
fcc-hook mutt-user +mutt   # See y.our. own posts using fcc外贸

#==============.========================.================#.
# Od.ds and ends             汽车

set markers          # mark wrappe.d lines of text in the pager with. a +.
set .smart_wrap       # Don.'t wrap mid-word.
set pager_context=5  # Retain 5 .lines of. previous page when scrolling..
set s.tatus_on_top    # Status bar on top..学习
push <show-version> .. # Shows mutt version at startup.

#=====.======================.===========================#电影
# Adam Jiang
# ad.d following lines学习
set s.ort = 'threads'投资
se.t sort_aux = 'last-date.-received'.
set im.ap_check_subscribed              乙肝

ignore "Aut.horication-Resu.lts:".
ignore "Domain.Key-Sig.nature:"             汽车
ignore "DK.IM-Signature:"(        游戏          )
hdr_order Date From. To Cc              乙肝

# for ma.iling lists
lists users@lists.u.buntu.com[/ema.il](        游戏          )
li.sts devel@lists.ubuntu.com[/email.](广告)
l.ists user@ml.seasa.r.org[/email]           建材
lists issue@seasa.r.org.
lists. vim_use@goo.glegroups.com服务器
lists ucl.ibc@uclibc.org              乙肝

subscr.ibe users@lists..ubuntu.com[/email]投资
subscribe devel@lists.ubun.tu..com[/email]教育
subscribe user@ml.seasa.r..org[/email](        游戏          )
s.ubscribe iss.ue@seasar.org[成人用品]
subscribe vim_.use@googlegro.ups.com.
s.ubscribe uclibc@.uclibc.org            杀毒

#==============.==========自定义设置=======================.======    健康
#处理html格式的邮件
auto_vie.w text/html           鲜花

[ 本帖最后由 j.in0828 于 2009-4.-8 11:31 编辑 ]学习

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线lilingdong.
发帖
1975
C币
-132200
威望
375
贡献值
1
银元
-1
铜钱
4481
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
帮你顶下吧。。。

发帖
2063
C币
-235799
威望
384
贡献值
1
银元
0
铜钱
4574
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
看起来是相对比较复杂的,不过使用客户端接收会更好一点呀

离线tqt2000.
发帖
2043
C币
-60529
威望
379
贡献值
1
银元
-2
铜钱
4521
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/inbox/   # 默认接受邮箱位置
LOGFILE=$MAILDIR/log
VERBOSE=off
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

# 以下应该是分类, 符合条件就存放在相关位置上.

:0:
* ^From:.*0828*
$MAILDIR/ABook/

:0:
* ^Subject:.*乐不思蜀*
$MAILDIR/ALbss/

:0:
* ^Subject:.*IT*
* ^Form:.*google*
$MAILDIR/IT/

:0:
* ^Subject:.*汽车*
$MAILDIR/Cars/

:0:
* ^Subject:.*新闻*
$MAILDIR/New/

:0:
* ^Subject:.*游戏*
$MAILDIR/Game/

:0:
* ^Subject:.*互联网*
$MAILDIR/Internet/

:0:
* ^Subject:.*python*
$MAILDIR/Python/

:0:
* ^Subject:.*老K实验室*
$MAILDIR/LaoK/

离线zystc.
发帖
2161
C币
-313522
威望
401
贡献值
3
银元
-2
铜钱
4696
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
这些我都知道阿,可是奇怪的是,这样的规则没有效果,和IRC的哥们研究了一下午,最后得知是中文编码问题,然后就不知道应该怎么整了~
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个