# Configuration for mailgate.py # WARNING: this file contains cleartext passwords! # mail server name to pass mail on to server = 'mail.intern.dware.ch' # mail domain we receive mail for domain = 'dware.ch' # forward mails from the local domain? forward_from_local = 0 # If your POP3 server does APOP correctly, set this to false. # See comment in mailgate.py as to when this is needed. broken_apop = 1 def any(s): """helper function to build a universal mapping list""" return [ ('*', s) ] # business account(s): always checked biz_accounts = [ # a list of (pop_host, pop_user, pop_pass, [pop_dele,] [mapping]) tuples # "pop_dele" defaults to 1 # "mapping" is a list of (pattern, local-address-part[-tuple]) tuples # spectraWEB/dware ('pop.spectraweb.ch', '******', '++++++++++++', 1, [ # "Kanonische" Mail-Adresse des Accounts (r'\bdware1?@spe', 'Postmaster'), # match dware[1]@spectraweb.ch # Admin stuff (r'root@dwaf01', 'bb'), ]), ] # user accounts; checked only if -u option given user_accounts = [ # bluewin/Beat (nodelete) ('pop.bluewin.ch', '**********', '++++++++++', 0, any('bb')), # Compuserve/Düggu (nodelete) ('pop.site1.csi.com', '*****', '++++++++', 0, any('mba')), # bluewin/Ändu (nodelete) ('pop.bluewin.ch', '*******', '+++++++++', 0, any('aw')), # bluewin/Stöff (nodelete) ('pop.bluewin.ch', '*******', '+++++++', 0, any('chb')), ] del any