wok diff postfix/receipt @ rev 1862

Add wifidog (gateway side)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 15 23:07:14 2008 +0000 (2008-12-15)
parents 0945fbc42957
children bd6010223726
line diff
     1.1 --- a/postfix/receipt	Fri Aug 08 16:47:03 2008 +0000
     1.2 +++ b/postfix/receipt	Mon Dec 15 23:07:14 2008 +0000
     1.3 @@ -51,9 +51,7 @@
     1.4  	mv $fs/etc/postfix/TLS_LICENSE $fs/usr/share/licenses/POSTFIX_TLS_LICENSE
     1.5  	mv $fs/etc/postfix/LICENSE $fs/usr/share/licenses/POSTFIX_LICENSE
     1.6  	cp -a stuff/etc/init.d $fs/etc
     1.7 -	chmod 2755 $fs/usr/sbin/postdrop $fs/usr/sbin/postqueue
     1.8 -	rm -f $fs/etc/postfix/post-install $fs/etc/postfix/postfix-files \
     1.9 -		$fs/etc/postfix/postfix-script
    1.10 +	rm -f $fs/etc/postfix/post*
    1.11  }
    1.12  
    1.13  # Pre and post install commands for Tazpkg.
    1.14 @@ -81,10 +79,13 @@
    1.15  		chroot $1/ addgroup postdrop
    1.16  		status
    1.17  	fi
    1.18 -	chown postfix /var/spool/postfix/* /var/lib/postfix
    1.19 -	chgrp postdrop /var/spool/postfix/maildrop /var/spool/postfix/public \
    1.20 -			/usr/sbin/postdrop /usr/sbin/postqueue
    1.21 -	postalias /etc/postfix/aliases
    1.22 +	chown postfix $1/var/spool/postfix/* $1/var/lib/postfix
    1.23 +	chgrp postdrop $1/var/spool/postfix/maildrop $1/var/spool/postfix/public \
    1.24 +			$1/usr/sbin/postdrop $1/usr/sbin/postqueue
    1.25 +	chmod 2755 $1/usr/sbin/postdrop $1/usr/sbin/postqueue
    1.26 +	chmod 2710 $1/var/spool/postfix/public
    1.27 +	chmod 1730 $1/var/spool/postfix/maildrop
    1.28 +	postalias $1/etc/postfix/aliases
    1.29  	cat <<EOF
    1.30  ----
    1.31  Warning: you still need to edit myorigin/mydestination/mynetworks