Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 1995 21:36:34 +0200
From:      Julian Howard Stacey <jhs@vector.eikon.e-technik.tu-muenchen.de>
To:        current@freebsd.org
Subject:   Suggest consideration of adding an uploader mail alias to freefall
Message-ID:  <199508131936.VAA05186@vector.eikon.e-technik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help
Hi All,

I suggest we consider adding an uploader mail alias to freefall,
it would be handy for people like me who have slow access to freefall,
& have to sit on an open slip link for a long time, while a file
slowly uploads to freefall over a modem link that's rather idle &
under utilised.

Using the alias we could dump the file to be uploaded in uuencoded form,
into our mqueue while we're off line, & our local ISP would then 
flush our /var/spool/mqueue via sendmail at maximum efficiency, when
we established connection.

What I suggest is something like what I've tested on my machine:
(I get a syntax error, but it does work :-)

/etc/aliases:
archive-notify: root
archive-owner:  root
archive:        archive.0
archive.0:      "|/usr/vsl/bin/archive-incoming 0"
archive.1:      "|/usr/vsl/bin/archive-incoming 1" 
archive.2:      "|/usr/vsl/bin/archive-incoming 2"


#! /bin/sh
# /usr/p/jhs/src/bsd/ournix/bin/rmail/archive-incoming  by <jhs@freebsd.org>
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/vsl/bin
export PATH
where=/usr/public/mail-incoming-archive
(echo "$where/$1" | mail -s "archive.$1" archive-notify)
cd $where/$1 || exit 1
#tee -a tmp_name | mail archive-owner
cat > tmp_name
exec mailname -w tmp_name
exit 0


BTW mailname is a c prog I wrote, but it just renames things according
to time sent & sender, it's not essential, merely nice.
(Obviously we'd swop /usr/public/mail-incoming-archive to ~ftp/incoming )

Would something along these lines be attractive to those remote people
who need to upload things to freefall (like I'm doing right now with 
130K of pbasic.tar.gz for ports ) ?

Julian S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508131936.VAA05186>