Ignore:
Timestamp:
10/07/08 00:12:41 (5 years ago)
Author:
anarcat
Message:

do not override Postfix's main.cf: instead, we use a /etc/alternc/postfix.cf to hold our configuration changes and apply that on postinst.

Closes: #1029

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/install/alternc.install

    r2317 r2322  
    3333fi 
    3434if [ -d /etc/postfix ]; then 
    35     CONFIG_FILES="$CONFIG_FILES etc/postfix/main.cf etc/postfix/myalias.cf 
     35    CONFIG_FILES="$CONFIG_FILES etc/postfix/myalias.cf 
    3636                  etc/postfix/mydomain.cf etc/postfix/mygid.cf 
    3737                  etc/postfix/myvirtual.cf etc/postfix/sasl/smtpd.conf" 
     
    214214fi 
    215215 
     216# configure postfix appropriatly for our needs" 
     217while read line 
     218do 
     219   postconf -e $line 
     220done < /etc/alternc/postfix.cf 
     221 
     222while read line 
     223do 
     224   postconf -e $line 
     225done <<EOF 
     226myhostname = $FQDN 
     227myorigin = $FQDN 
     228EOF 
     229 
    216230if [ -e /etc/courier/authmysqlrc ] ; then 
    217231    chown root:root /etc/courier/authmysqlrc 
Note: See TracChangeset for help on using the changeset viewer.