@!@
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, 'r') as fd:
			for line in fd:
				print(line.rstrip())
		print('# --- end of {} ---\n'.format(filename))
except (IOError, OSError) as exc:
	print('\n# ERROR including {}: {}\n'.format(filename, exc))
@!@
