@!@
import os

filename = '/etc/postfix/main.cf.local'
try:
    if os.path.isfile(filename) and os.path.getsize(filename):
        print('\n# The following section is included from the file {}.'.format(filename))
        print('# Please note, that custom options in this file may interfere with the')
        print('# standard Postfix configuration of Univention Corporate Server!')
        with open(filename) as fd:
            for line in fd:
                print(line.rstrip())
        print('# --- end of {} ---\n'.format(filename))
except OSError as exc:
    print('\n# ERROR including {}: {}\n'.format(filename, exc))
@!@
