home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / qmail11.zip / QYPMAIL.CFG next >
Text File  |  1996-10-09  |  1KB  |  42 lines

  1. /* Configuration file for QYPMAIL.  A Local delivery agent.
  2.    Written by W.Rossi  10/7/96
  3.  
  4.    Each line of the file has the following syntax:
  5.    <userid>,<mail directory>,<update INBOX>,<Command>
  6.    Any line not containing the 3 comma delimeters is considered
  7.    a comment.  
  8.  
  9.    Userid is the id of the user that this mail message is for.
  10.    A user id of 'default' specifies the action to be taken for
  11.    unknown users.  I.E. users not specifed specfically in this file.
  12.  
  13.    Mail directory is where the mail will be deposited.
  14.   
  15.    Update INBOX is either 'Y' or 'N', and specifies
  16.    if an LAMAIL compatible INBOX.NDX file is to be updated.
  17.  
  18.    Command is a command to execute after mail is received.  The 
  19.    macros %N and %F have the following meanings in the command:
  20.  
  21.    %N is replaced with the fully qualified file name of this mail 
  22.    message.
  23.  
  24.    %F is replaced with the address the mail was from.
  25. */
  26.  
  27.     
  28. /* Setup default mail handling for unknown user ids */
  29. default,d:\tcpip\etc\mail,Y,
  30.  
  31. /* Delivery specifications for Joe */
  32. joe,d:\tcpip\etc\mail\joe,Y,
  33.  
  34. /* Delivery specifications for Bob -- Bob's mail is stored twice,
  35.    once in d:\bob\mail, and then the command specifies it is to 
  36.    be copied to d:\bob\mail\save.  This is useful because Bob 
  37.    POPs his mail from us, but may sometime call to retrive lost
  38.    messages, so we store an archive copy in d:\bob\save */
  39.  
  40. bob,d:\bob\mail,N,copy %N d:\bob\mail\save
  41.  
  42.