Package: exim4-config Severity: wishlist Is there any way I can avoid needing to run this file after every upgrade? Can there be a [include local/pre if found] [include local/post if found] or something added to what you send out that would include any local extras?
#!/bin/sh -eu #After each upgrade, accept his changes, except for ip-up.d, then run this. update-exim4.conf.template -rn #restore Debian defaults cd /etc/exim4 f=exim4.conf.template cp $f /tmp/$f.1 perl -mwarnings=FATAL,all -wpli -e ' BEGIN { sub p { print "#jidanni script CHANGED:" } sub jadd { s|$|\n#jidanni script ADDED/CHANGED:[EMAIL PROTECTED]| } } print <<\EOF if $. == 1; #jidanni '$0' POST PROCESSED. added: #avoid DNS lookup: #primary_hostname="'`hostname`'" smtp_active_hostname="jidanni.org" message_id_header_domain="jidanni.org" delay_warning=0d queue_list_requires_admin=false received_header_text="" EOF if (/F,4d,6h/) { print "#$_"; p(); s/4d/44d/; } ' $f update-exim4.conf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]