meillo@0: # Example route file for masqmail meillo@0: # see also: man 5 masqmail.route meillo@0: meillo@0: # meillo@0: # mail properties tested for: meillo@0: # meillo@0: meillo@0: # users that can send mail over this connection: meillo@317: # this is a list of the envelope sender addresses, as they are meillo@0: # configured with your mail client. If not set, anybody may send. meillo@0: meillo@317: allowed_senders = "okurth" meillo@0: meillo@355: # local_hosts will be checked before this. meillo@0: # cpwright.com uses the dialup up list of dul.maps.vix.com, meillo@0: # so I cannot send any mail over this connection to that domain. meillo@0: # There are probably many others... :-( (No, this is okay. Nobody meillo@0: # wants his mailbox stuffed to the ceiling with spam...) meillo@0: # meillo@0: # You will find this necessary only if you send mail directly meillo@0: # (if mail_host is not set below) meillo@0: meillo@317: denied_recipients = "*@cpwright.com" meillo@0: meillo@0: # meillo@0: # settings: meillo@0: # meillo@0: meillo@0: # the mail server which relays mail for you: meillo@0: # if this is not set, mail will be sent directly. meillo@0: # If your ISP gives has a mail server, it is wiser to use it: meillo@0: meillo@0: mail_host = "mail.isp.com" meillo@0: meillo@0: # Make picky servers happy: meillo@0: # If set, we look up our own name as seen from the network meillo@0: # and send this in our HELO/EHLO message. Otherwise we send our host name, meillo@0: # which is probably different for dialup conections and may be unknown outside. meillo@0: # Some servers complain, meillo@0: # which is really crazy, since it is senseless to lie about it... meillo@0: # Unfortunately, some ISPs do not give you a name, just an ip address. In this case, meillo@0: # we have a delay until the DNS lookup fails. meillo@0: meillo@0: do_correct_helo = true meillo@0: meillo@0: # 'forge' headers: meillo@0: meillo@0: # return path and From: address are TWO different things: meillo@0: # meillo@0: # the return path is address where delivery failure messages will go meillo@0: # to, and this address will be checked by many MTAs in the outside meillo@0: # world, so it should be valid. It canNOT contain a real name: meillo@0: # 'miller@foo.com' is a valid return path, but 'Charlie Miller ' is NOT. meillo@0: # meillo@0: # The From: address is the address the recipient sees, and where meillo@0: # replies will go to (if you do not set a Reply-to header). In most meillo@0: # cases it corresponds to the return path, but this is not meillo@0: # required. It CAN have a real name, both examples for Charlie above meillo@0: # are correct, and it is more pretty to include a real name. meillo@0: # meillo@0: # The return path: meillo@0: # if we send the mail directly, we can set any valid address here, meillo@0: # use the one you prefer to get error messages to: meillo@0: # Use EITHER set_return_path_domain OR map_return_path_addresses meillo@0: # meillo@0: # this sets the return path kurth@anywhere.org to kurth@innominate.de meillo@0: #set_return_path_domain = "innominate.de" meillo@0: # this sets okurth@somewhere.else.org to kurth@innominate.de, and meillo@0: # leaves all other addresses untouched: meillo@0: map_return_path_addresses = "okurth: kurth@innominate.de" meillo@0: meillo@0: # 'From:' header: meillo@0: # Use EITHER set_h_from_domain OR map_h_from_addresses meillo@0: #set_h_from_domain = "uni-sw.gwdg.de" meillo@0: map_h_from_addresses = "okurth: Oliver Kurth " meillo@0: meillo@0: # if your mail server outside uses the AUTH machanism, set the following. meillo@0: # for auth_name, only 'cram-md5' and 'login' are supported. meillo@0: # see also: man 5 masqmail.route meillo@0: meillo@0: #auth_name="cram-md5" meillo@0: #auth_login="yourname" meillo@0: #auth_secret="dontTellAnyBody"