home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / fetchml.zip / sample.rcfile < prev   
Text File  |  1998-02-21  |  4KB  |  123 lines

  1. # fetchmail control file sample
  2. #
  3. # This file (or one of your own creation, rather) should be located 
  4. # in your home directory with the name .fetchmailrc.  Permissions on this
  5. # file may be no greater than -rw------- (0600), or fetchmail will refuse to
  6. # use it.
  7. #
  8. # To see what effect your ~/.fetchmailrc file has, do 
  9. #
  10. #    fetchmail --version
  11. #
  12. # This will display the fetchmail version number and an explanation
  13. # in English of what the currently set options and defaults mean.
  14. #
  15. # Comments begin with a '#' and extend through the end of the line.
  16. # Blank lines between server entries are ignored.
  17. # Keywords and identifiers are case sensitive.
  18. # When there is a conflict between the command-line arguments and the
  19. # arguments in this file, the command-line arguments take precedence.
  20. #
  21. # Legal keywords are
  22. #   poll                      -- must be followed by a mailserver name or label
  23. #   skip                      -- must be followed by a mailserver name or label
  24. #   via                       -- must be followed by true name of host to poll
  25. #   interval                  -- must be followed by an interval skip count
  26. #   protocol (or proto)       -- must be followed by a protocol ID
  27. #   uidl
  28. #   no uidl
  29. #   port                      -- must be followed by a TCP/IP port number
  30. #   authenticate (or auth)    -- must be followed by an authentication type
  31. #   timeout                   -- must be followed by a numeric timeout value
  32. #   envelope                  -- must be followed by an envelope header name
  33. #   qvirtual                  -- must be followed by a name prefix
  34. #   no envelope
  35. #   aka                       -- must be followed by one or more server aliases
  36. #   localdomains              -- must be followed by one or more domain names
  37. #   interface                 -- must be followed by device/IP address/mask
  38. #   monitor                   -- must be followed by device
  39. #   no dns
  40. #   dns
  41. #
  42. #   username (or user)        -- must be followed by a name
  43. #   is                        -- must be followed by one or more names
  44. #   folder                    -- must be followed by remote folder names
  45. #   password (or pass)        -- must be followed by a password string
  46. #   smtphost (or smtp)        -- must be followed by host names
  47. #   smtpaddress               -- must be followed by a host name
  48. #   mda                       -- must be followed by an MDA command string
  49. #   preconnect (or pre)       -- must be followed by an executable command
  50. #   postconnect (or post)     -- must be followed by an executable command
  51. #
  52. #   keep
  53. #   flush
  54. #   fetchall
  55. #   rewrite
  56. #   forcecr
  57. #   stripcr
  58. #   pass8bits
  59. #   dropstatus
  60. #   no keep
  61. #   no flush
  62. #   no fetchall
  63. #   no rewrite
  64. #   no forcecr
  65. #   no stripcr
  66. #   no pass8bits
  67. #   no dropstatus
  68. #   limit                     -- must be followed by numeric size limit
  69. #   fetchlimit                -- must be followed by numeric msg fetch limit
  70. #   batchlimit                -- must be followed by numeric SMTP batch limit
  71. #   expunge                   -- must be followed by numeric delete count
  72. #
  73. # Legal protocol identifiers are
  74. #   pop2 (or POP2)
  75. #   pop3 (or POP3)
  76. #   imap (or IMAP)
  77. #   imap-k4 (or IMAP-K4)
  78. #   apop (or APOP)
  79. #   rpop (or RPOP)
  80. #   kpop (or KPOP)
  81. #   etrn (or ETRN)
  82. #
  83. # Legal authentication types are
  84. #   login
  85. #   kerberos
  86. #
  87. # Legal global option statements are
  88. #
  89. #   set logfile =        -- must be followed by a string
  90. #   set daemon            -- must be followed by a number   
  91. #   set syslog
  92. #   set invisible
  93. #
  94. # The noise keywords `and', `with', `has', `wants', and `options' are ignored
  95. # anywhere in an entry; they can be used to make it resemble English.  The
  96. # punctuation characters `,' `:' `;' are also ignored. 
  97. #
  98. # The run control file format is fully described (with more examples) on the
  99. # fetchmail manual page.
  100. # This is what the developer's .fetchmailrc looks like:
  101.  
  102. set daemon 300    # Poll at 5-minute intervals
  103.  
  104. defaults
  105.     interface "sl0/10.0.2.15"    # SLIRP standard address
  106.     user esr is esr fetchmail-friends magic-numbers here
  107.     fetchall
  108.  
  109. # Use this for production
  110. poll imap.ccil.org protocol IMAP:
  111.     no dns, aka snark.thyrsus.com thyrsus.com locke.ccil.org ccil.org 
  112.     password my_remote_password;
  113.  
  114. # Use this to test POP3
  115. skip pop3.ccil.org with protocol APOP:
  116.     no dns, aka snark.thyrsus.com thyrsus.com locke.ccil.org ccil.org 
  117.     password my_apop_secret;
  118.  
  119. # Use this to test against a different server
  120. skip pop3.netaxs.com:
  121.     password my_netaxs.password;
  122.