免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1186 | 回复: 0
打印 上一主题 下一主题

摘自 Fetchmail 手册 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-20 22:02 |只看该作者 |倒序浏览
摘自 Fetchmail 手册:
Keyword/Option Summary
       Here are the legal options.  Keyword suffixes enclosed in square brack-
       ets are optional.  Those corresponding to command-line options are fol-
       lowed by `-' and the appropriate option letter.
       Here are the legal global options:
      
Keyword            
Opt   Function
       -------------------------------------------------------------
       set
daemon               
Set  a background poll interval in
                                
seconds
       set
postmaster           
Give the name of  the  last-resort
                                
mail recipient
       set no
bouncemail         Direct
error  mail  to postmaster
                                
rather than sender
       set no spambounce         Send spam bounces
       set
logfile              
Name of a file to dump  error  and
                                
status messages to
       set
idfile               
Name  of  the  file  to  store UID
                                
lists in
       set
syslog               
Do  error  logging  through   sys-
                                
log(3).
       set no
syslog            
Turn  off  error  logging  through
                                
syslog(3).
       set
properties           
String value is ignored by  fetch-
                                
mail  (may  be  used  by extension
                                
scripts)
       Here are the legal server options:
      
Keyword           
Opt   Function
       ------------------------------------------------------------
      
via                     
Specify DNS  name  of  mailserver,
                              
overriding poll name
      
proto[col]        
-p    Specify  protocol  (case  insensi-
                              
tive):  POP2,  POP3,  IMAP,  APOP,
                              
KPOP
      
local[domains]         
Specify  domain(s)  to be regarded
                              
as local
      
port              
-P    Specify TCP/IP service port
      
auth[enticate]         
Set authentication  type  (default
                              
`any')
      
timeout           
-t    Server  inactivity timeout in sec-
                              
onds (default 300)
      
envelope         
-E    Specify  envelope-address   header
                              
name
       no
envelope            
Disable   looking   for   envelope
                              
address
      
qvirtual         
-Q    Qmail  virtual  domain
prefix  to
                              
remove from user name
      
aka                     
Specify  alternate  DNS  names  of
                              
mailserver
      
interface         
-I    specify IP interface(s) that  must
                              
be  up  for  server  poll  to take
                              
place
      
monitor           
-M    Specify IP address to monitor  for
                              
activity
      
plugin                  
Specify  command  through which to
                              
make server connections.
      
plugout                 
Specify command through  which  to
                              
make listener connections.
      
dns                     
Enable  DNS  lookup  for multidrop
                              
(default)
       no
dns                  
Disable DNS lookup for multidrop
      
checkalias              
Do comparison by  IP  address  for
                              
multidrop
       no
checkalias           
Do  comparison  by  name  for mul-
                              
tidrop (default)
      
uidl              
-U    Force  POP3  to  use  
client-side
                              
UIDLs
       no
uidl                 
Turn  off  POP3 use of client-side
                              
UIDLs (default)
      
tracepolls              
Add poll  tracing  information  to
                              
the Received header
      
interval               
Only  check this site every N poll
                              
cycles; N is a numeric argument.
      
tracepolls              
Add poll  tracing  information  to
                              
the Received header
      
netsec                  
Pass   in  IPsec  security  option
                              
request.
      
principal               
Set Kerberos principal (only  use-
                              
ful with imap and kerberos)
      
esmtpname               
Set  name  for RFC2554 authentica-
                              
tion to the ESMTP server.
      
esmtppassword           
Set password for RFC2554 authenti-
                              
cation to the ESMTP server.
       Here are the legal user options:
      
Keyword           
Opt   Function
       ------------------------------------------------------------
      
user[name]        
-u    Set  remote  user name (local user
                              
name if name followed by `here')
      
is                     
Connect  local  and  remote   user
                              
names
      
to                     
Connect   local  and  remote  user
                              
names
      
pass[word]              
Specify remote account password
      
ssl                     
Connect to server over the  speci-
                              
fied   base   protocol  using  SSL
                              
encryption
       no
ssl                  
Disable SSL encryption
      
sslcert                 
Specify file for client side  pub-
                              
lic SSL certificate
      
sslkey                  
Specify  file for client side pri-
                              
vate SSL key
      
sslproto               
Force ssl protocol for connection
      
folder            
-r    Specify remote folder to query
      
smtphost         
-S    Specify smtp host(s) to forward to
      
fetchdomains            
Specify  domains  for  which  mail
                              
should be fetched
      
smtpaddress      
-D    Specify the domain to  be  put  in
                              
RCPT TO lines
      
smtpname               
Specify  the user and domain to be
                              
put in RCPT TO lines
      
antispam         
-Z    Specify  what  SMTP
returns   are
                              
interpreted as spam-policy blocks
      
mda               
-m    Specify MDA for local delivery
      
bsmtp            
-o    Specify BSMTP batch file to append
                              
to
      
preconnect              
Command to be executed before each
                              
connection
      
postconnect            
Command  to be executed after each
                              
connection
      
keep              
-k    Don't delete  seen  messages  from
                              
server
      
flush            
-F    Flush  all  seen  messages
before
                              
querying
      
fetchall         
-a    Fetch all messages whether seen or
                              
not
      
rewrite                 
Rewrite  destination addresses for
                              
reply (default)
      
stripcr                 
Strip carriage returns  from  ends
                              
of lines
      
forcecr                 
Force  carriage returns at ends of
                              
lines
      
pass8bits               
Force BODY=8BITMIME to ESMTP  lis-
                              
tener
      
dropstatus              
Strip  Status and X-Mozilla-Status
                              
lines out of incoming mail
      
dropdelivered           
Strip Delivered-To  lines  out  of
                              
incoming mail
      
mimedecode              
Convert  quoted-printable to 8-bit
                              
in MIME messages
      
idle                    
Idle  waiting  for  new   messages
                              
after each poll (IMAP only)
       no
keep           
-K    Delete  seen  messages from server
                              
(default)
       no
flush               
Don't  flush  all  seen   messages
                              
before querying (default)
       no
fetchall            
Retrieve    only    new  
messages
                              
(default)
       no
rewrite              
Don't rewrite headers
       no
stripcr              
Don't   strip   carriage   returns
                              
(default)
       no
forcecr              
Don't  force  carriage  returns at
                              
EOL (default)
       no
pass8bits            
Don't force BODY=8BITMIME to ESMTP
                              
listener (default)
       no
dropstatus           
Don't    drop    Status   
headers
                              
(default)
       no
dropdelivered        
Don't  drop  Delivered-To  headers
                              
(default)
       no
mimedecode           
Don't  convert quoted-printable to
                              
8-bit in MIME messages (default)
       no
idle                 
Don't idle waiting  for  new  mes-
                              
sages after each poll (IMAP only)
      
limit            
-l    Set message size limit
      
warnings         
-w    Set message size warning interval
      
batchlimit        
-b    Max  # messages to forward in sin-
                              
gle connect
      
fetchlimit        
-B    Max # messages to fetch in  single
                              
connect
      
fetchsizelimit         
Max  #  message  sizes to fetch in
                              
single transaction
      
fastuidl               
Use binary search for first unseen
                              
message (POP3 only)
      
expunge           
-e    Perform  an  expunge  on every #th
                              
message (IMAP and POP3 only)
      
properties              
String value is ignored by  fetch-
                              
mail  (may  be  used  by extension
                              
scripts)
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15482/showart_102647.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP