home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / misc / b104_1 / mailconf next >
Text File  |  1993-10-04  |  2KB  |  39 lines

  1. # sample mail configuration file for 'sendmail'
  2. # each line contains
  3. #
  4. #    1. a (wildcarded) mail address
  5. #    2. the method (command) that delivers messages to this address
  6. #
  7. # wildcards are '*' and '?'. '?' matches exactly one character, '*' zero
  8. # or more characters.
  9. #
  10. # the command may contain % expressions. They are replaced by sendmail by
  11. # different strings:
  12. #
  13. #    %f name of the file containing the message (with headers)
  14. #    %t destination address (as given on sendmails command line
  15. #       or extracted from the message header)
  16. #    %<digit> string that is matched by the corresponding '*' or '?'
  17. #       wildcard. If the wildcarded mail address is *@*.ch and the actual
  18. #       address is root@nic.switch.ch then %0 is replaced by 'root'
  19. #       and %1 by 'nic.switch'
  20.  
  21.  
  22. # mail for this host - graeffet - is directly delivered to !TCPIP's Maildir
  23. # it does not matter if the message's origin is UUCP or !TCPIP
  24. *@graeffet run adfs::4.$.net.news.putmail < %f %0
  25. *@graeffet.* run adfs::4.$.net.news.putmail < %f %0
  26.  
  27. # mail for readag is delivered by UUCP - to the central router 'master'
  28. *.readag uux < %f - master!rmail %t
  29. *@readag uux < %f - master!rmail %t
  30.  
  31. # mail to 'inet' is a special way of delivering mail by 'graeffet'
  32. # the message header must be changed by a program named inetgate
  33. # the message is then resent through sendmail (this is done by inetgate)
  34. *.inet run adfs::4.$.net.news.inetgate < %f %t
  35.  
  36. # mail to any other destination is delivered through
  37. # !TCPIP's SMTP daemon
  38. * run adfs::4.$.net.news.smtpqueue < %f %0 aeby@dial.eunet.ch
  39.