masqmail: update to 0.2.23

This commit is contained in:
Juergen Daubert 2010-06-01 11:47:28 +02:00
parent fc72aeccc3
commit 547eec7137
6 changed files with 39 additions and 37 deletions

View File

@ -1,10 +1,9 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/masqmail/
-rw-r--r-- root/root etc/masqmail/connect_route
-rw-r--r-- root/root etc/masqmail/example.conf
-rw-r--r-- root/root etc/masqmail/example.get
-rw-r--r-- root/root etc/masqmail/example.route
-rw-r--r-- root/root etc/masqmail/inet.route
-rw------- root/root etc/masqmail/example.get
-rw------- root/root etc/masqmail/example.route
-rw------- root/root etc/masqmail/inet.route
-rw-r--r-- root/root etc/masqmail/masqmail.alias
-rw-r--r-- root/root etc/masqmail/masqmail.conf
drwxr-xr-x root/root etc/rc.d/
@ -37,6 +36,7 @@ drwxr-xr-x mail/mail var/log/masqmail/
-rw-r--r-- mail/mail var/log/masqmail/masqmail.log (EMPTY)
drwxr-xr-x root/root var/run/
drwxr-xr-x mail/mail var/run/masqmail/
-rw-r--r-- root/root var/run/masqmail/masqmail-route
drwxr-xr-x root/root var/spool/
drwxr-xr-x mail/mail var/spool/masqmail/
drwxr-xr-x mail/mail var/spool/masqmail/input/

View File

@ -1,5 +1,5 @@
3740a79250c65218a41e9591d3a20434 inet.route
413f66f053693a10abc4c9c632fd0659 masqmail
8440350c3f3a14de1ec5238f823ef834 masqmail.alias
8000add5b6158ccd25601cc497b2f0e4 masqmail.conf
7e989a8b0562054aea22c654507f2cb5 masqmail_0.2.21.orig.tar.gz
8fb2d498b9a8db7c51d9261717386681 masqmail-0.2.23.tar.gz
75ed683dec31e6712a4083b04e2e2a15 masqmail.alias
1e617333b5268d7d2db9380418b60f3c masqmail.conf

View File

@ -1,21 +1,23 @@
# Description: Mail Transfer Agent for dialup networks
# URL: http://www.sonic.net/~okurth/masqmail/
# Description: Mail Transfer Agent for workstations and local networks
# URL: http://marmaro.de/prog/masqmail/
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: glib
name=masqmail
version=0.2.21
version=0.2.23
release=1
source=(http://ftp.debian.org/debian/pool/main/m/masqmail/${name}_$version.orig.tar.gz \
masqmail masqmail.conf masqmail.alias inet.route)
source=(http://marmaro.de/prog/masqmail/$name-$version.tar.gz
masqmail masqmail.conf masqmail.alias inet.route)
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-auth \
--enable-maildir \
--with-user=mail \
--with-group=mail
--with-group=mail
make
make DESTDIR=$PKG install
@ -23,18 +25,15 @@ build () {
ln -s ../sbin/masqmail $PKG/usr/bin/mailq
install -m 644 $SRC/masqmail.{conf,alias} $PKG/etc/masqmail
install -m 644 $SRC/inet.route $PKG/etc/masqmail
echo -n "inet" > $PKG/etc/masqmail/connect_route
install -m 644 examples/example.* $PKG/etc/masqmail
install -m 600 $SRC/inet.route $PKG/etc/masqmail
echo -n "inet" > $PKG/var/run/masqmail/masqmail-route
install -m 600 examples/example.* $PKG/etc/masqmail
install -m 644 examples/masqmail.conf $PKG/etc/masqmail/example.conf
install -D -m 755 $SRC/masqmail $PKG/etc/rc.d/masqmail
rm $PKG/usr/share/masqmail/tpl/*.tpl.*
rm -r $PKG/usr/share/doc
sed -i -e "s/#host#/$(hostname)/g" \
-e "s/#domain#/$(hostname -d)/g" \
$PKG/etc/masqmail/masqmail.conf
rm $PKG/usr/share/masqmail/tpl/*.tpl.*
touch $PKG/var/log/masqmail/{masqmail,debug}.log
chown mail:mail $PKG/var/log/masqmail/*
chown root:root $PKG/var/run
touch $PKG/var/log/masqmail/{masqmail,debug}.log
chown mail:mail $PKG/var/log/masqmail/*
}

View File

@ -3,21 +3,22 @@ README for masqmail 0.2.x
REQUIREMENTS
PRE-INSTALL
1. Remove sendmail. Masqmail and sendmail can not coexist.
1. Remove exim. Masqmail and exim can not coexist.
POST-INSTALL
1. Check /etc/masqmail/masqmail.conf for correct values for
your host/domain.
2. Now masqmail delivers all non-local mail directly to the
mail server of the recipient. To use the mail server of
your provider for delivering mail, edit inet.route.
3. In this configuration masqmail doesn't take care about
your online status. See masqmail.conf(5) about online
detection.
1. Edit /etc/masqmail/masqmail.conf and change the placeholders
for host and domain into correct values.
2. Now masqmail delivers all non-local mail directly to the mail
server of the recipient. This will not work for the usual
dialup connections. To use the mail server of your provider
for delivering mail, edit inet.route.
3. In this configuration masqmail doesn't take care about your
online status. See masqmail.conf(5) about online detection.
4. Create a alias for postmaster and root in masqmail.alias
PRECAUTION
As of version 0.2.21 the masqmail log files must be
writeable by the system-user 'mail'.
chown mail:mail /var/log/masqmail/*

View File

@ -3,5 +3,7 @@
#
postmaster: root@localhost
#postmaster: <user>@locahost
#root: postmaster
# End of file

View File

@ -16,8 +16,8 @@ log_dir = "/var/log/masqmail"
alias_file = "/etc/masqmail/masqmail.alias"
online_detect = file
online_file = "/etc/masqmail/connect_route"
online_file = "/var/run/masqmail/masqmail-route"
online_routes.inet = "/etc/masqmail/inet.route"
# End of file
# End of file