Re: qmail and hypermail
On Thu, Jul 15, 1999 at 02:13:43PM +0200, Markus Stumpf wrote: On Thu, Jul 15, 1999 at 06:46:47PM +1100, Brian Salter-Duke wrote: I translated this to:- # Put SCH101 group messages to web page via hypermail b_duke | /usr/local/bin/hypermail -i -u -c /home/web/.hmrc.sch101 in /var/qmail/alias/.qmail-sch101. I tried a message to sch101 and it gets defered. ps shows hypermail is running but it just carries on running and does nothing. Can anyone suggest what is wrong here. It is a long time that I looked at hypermail the last time, but I think I can remember it a) relies on the Mbox-Header line, so you have to use |preline /usr/local/bin/hypermail -i -u -c /home/web/.hmrc.sch101 b) it was(?) SLOW. Depending on the size of your archive it could take up to 15 minutes (maybe even more) until the message was inserted. Yes. That did the trick. It works now. It was pretty fast but I was testing in an archive with only two messages. Thanks for the help. Cheers, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) Chemistry, Faculty of Science, IT and Education, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 [EMAIL PROTECTED] http://www.smps.ntu.edu.au/chemistry/compchem.html
Compile error with AIX 3.2.5
I have just tried to compile qmail on AIX 3.2.5 and it failed. I searched the archives and found some one who had the identical error. There was a reply that suggested a fix and then a reply from Bruno Wolff III on 26 August 1998 that suggested this would not work. Here is that reply that contains the original error and the first suggestion:- --- This solution won't work. fchdir is being used because it is an efficient way to reset the cwd after it has been changed. I think it may have also been done to simplify indicating where to install stuff (by cd'ing to the install directory rather than building full filename paths). What I did for install for rblstmpd and qmail-1.03, was create a static buffer of size PATHNAMELEN+1 (defined in sys/param.h) and used getwd to get the name of the cwd and then used chdir to the saved name to return to it. .fchdir The OS is AIX 3.2.5 AIX 3.2.5 doesn't have fchdir(2). Try replacing if (fchdir(fdsourcedir) == -1) with if (chdir(".") == -1) --- I have two questions:- Is Bruno correct that the simple line change just above does not work? If so, how do his suggestions translate into changes in the code? Cheers, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) Chemistry, Faculty of Science, IT and Education, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 [EMAIL PROTECTED] http://www.smps.ntu.edu.au/chemistry/compchem.html