RE: Java 1.3.1 for stable (2.2) ? - Found
Hi all, Thanks for the help. Found what I needed at blackdown.org. Found a mirror close by and added it to my sources.list: deb ftp://ftp.is.co.za/programming/java/LinuxJava/debian potato non-free Works like a charm :-) Thanks again, Eugene van Zyl
Java 1.3.1 for stable (2.2) ?
Hi, Does anyone know where I can get .deb's for Java 1.3.1 or 1.2.2 for Potato 2.2 ? Thanks, Eugene van Zyl
RE: Bash/Perl weirdness
Yup pretty sure it's the first line. # perl -d data_update.pl works just fine for debugging. But now I'm really confused, cam ein this morning, and it ran fine! only things I changed was some logic errors and added -w after #!/usr/bin/perl. It complains about something in the MIME::Entity module about an ambigious call to CORE::open() but runs! Someone suggested I check that my path includes . but I thought that's what the ./ was for? Thanks, Eugene -Original Message- From: frater mus [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2001 10:11 PM To: Eugene van Zyl Subject: Re: Bash/Perl weirdness [posted and mailed] 13 Aug 2001: "Eugene van Zyl" <[EMAIL PROTECTED]> wrote > I've got a perl script with the following permissions: > -rwxr-xr-x1 root root23980 Aug 13 15:55 data_update.pl > the first line in the script is: > #!/usr/bin/perl > which is where perl lives on Debian potato -> perl -V gives the correct > reponse ... but # ./data_update.pl gives me: > bash: ./data_update.pl: No such file or directory > What gives? What obvious thing am I missing here cause other scripts run Are you sure it's really on the *first* line, and that there are no typos? There's definitely something wrong with the magicline because the perl interpreter is not being invoked. You can prove this to yourself by doing a "perl ./data_update.pl" which will explicitly call the perl interpreter. -- L.V.X. the Great Work, CD-R, OTR http://www.mousetrap.net/~mouse/ Old Time Radio (OTR) OpenNap network http://www.mousetrap.net/OTRnap/
Bash/Perl weirdness
Hi, Question: I've got a perl script with the following permissions: -rwxr-xr-x1 root root23980 Aug 13 15:55 data_update.pl the first line in the script is: #!/usr/bin/perl which is where perl lives on Debian potato -> perl -V gives the correct reponse ... but # ./data_update.pl gives me: bash: ./data_update.pl: No such file or directory What gives? What obvious thing am I missing here cause other scripts run fine. TAI, Eugene van Zyl
ActiveState Perl .deb on Potato
Hi, Is it possible to run the ActiveState Perl .deb installation along with Potato's perl 5.004 without stuffing anything up? Also, how do you indicate which one to run any particular script? Would the interpreter specified at the top be enough ? (I'm assuming of course that activeperl doesn't install to /usr/bin/perl ?) Thanks, Eugene van Zyl
XML RPC/Frontier XMLRPC module for Perl 5.004 (Potato)
Hi, Any body know if the above is to be found nicely packaged for Debian 2.2 ? Thanks, Eugene van Zyl
RE: [users] Maildir protocaol spec?
I want to use a maildir as a sort of queue for processing incoming emails with structered data which needs to be processed and written to a db. Now, once I've decided to read a message, I move it to ./cur, but how do I let any other process like a POP3 server know that I'm currently reading this message and could be delieting it from under its nose? Also how do I know whether another process might be reading messages I left for processing in ./cur ? Basically what are the rules for reading & deleting. Writing seems to be only dependent on the naming scheme, right? Thanks, Eugene van Zyl -Original Message- From: MaD dUCK [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 9:35 PM To: [EMAIL PROTECTED] Cc: Debian-User Subject: Re: [users] Maildir protocaol spec? also sprach Eugene van Zyl (on Tue, 22 May 2001 12:50:47PM +0200): > Where can I get a document describing the maildir format? The short > page on Dan Bernstein's site is informative but I doubt complete, I > can figure out how to read and mark messages to ./cur from ./new but > nought is said about ./tmp and mention is made of the maildir > writing algorythm? what do you need to know precisely? i have taken maildir apart in many senses and can probably answer you. for instance, marking messages as read is done by moving the file from new to cur, and *then* to rename it to *:2,S martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED] -- you step in the stream, but the water has moved on. this page is not here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Maildir protocaol spec?
Hi, I've looked but could not find :-( Where can I get a document describing the maildir format? The short page on Dan Bernstein's site is informative but I doubt complete, I can figure out how to read and mark messages to ./cur from ./new but nought is said about ./tmp and mention is made of the maildir writing algorythm? I don't necesarily want to write to a maildir (I'd use safecat for that), but need to read/delete from one without stuffing anything up. TIA, Eugene van Zyl
Mailing list software
Hi, What mailing list software is availble under GPL that will expand the name of each subscribed user from a specified argument variable in an email sent by the list moderator/administrator or general users? i.e. I want to send an email to the list as follows: Hi ${firstname}, ... and the subscribed user (me) should recieve: Hi Eugene, ... I've taken a look at most of the common (SmartList, Majordomo) ones but their docs don't seem to indicate anything of this nature? Thanks, Eugene van Zyl
Exim config settings
Hi, How do I get exim to add a Delivered-to: header for each email? Thanks, Eugene van Zyl
RE: Exim PAM SMTP Authentication, help!
But isn't that a bad thing(tm) ? Surely you must be able to get a simple yes no on auth out of PAM with it rather doing things as root? I'd prefer not running Exim as root to prevent any possible exploits ... Thanks, Eugene -Original Message- From: Phil Brutsche [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 5:00 PM To: Eugene van Zyl Cc: GLUG; Debian-User Subject: Re: Exim PAM SMTP Authentication, help! *** PGP Signature Status: unknown *** Signer: Unknown, Key ID = 0x50DE1CFC *** Signed: 2001/04/10 06:59:52 *** Verified: 2001/04/10 06:39:16 *** BEGIN PGP VERIFIED MESSAGE *** A long time ago, in a galaxy far, far way, someone said... > Hi, > > I'm trying Exim to authenticate users for mail relay using the SMTP > AUTH interface. I've recompiled the Debian Exim 3.12-10 source package > with the standard/default settings and only added the TCP Wrappers and > PAM support. The exim and eximon packages generated successfully and > installed fine. Only what else should I do know to allow exim to use > PAM? I've set up the fixed_plain and fixed_login entries in the conf > file with the server_condition for fixed_login (which is what Outlook > uses) as follows: > server_condition = "\ > ${if pam {$1:$2}{yes}{no}}" > > The authentication log returns the following error when I try to > authenticate: > PAM_unix[24311]: authentication failure; (uid=8) -> **unknown** for exim > service > > I've set up an exim config file in the /etc/pam.d/ dir with auth and > account required. From the above (and the spec.txt file in the exim > docs) it looks like it expects an exim user with UID 8 to initialise > the PAM service, but mail is already specified as the UID 8 GID 8 and > I don't know what'll break if I rename mail to exim. Is it possible to > create a user alias ? i.e. exim and mail is really the same user, same > passwd etc ? The problem isn't the in the name of the user that exim runs as, it's the UID. To be able to authenticate against the information in /etc/shadow exim must run as root. Put exim_user = root in exim.conf, restart exim, and try again. > Also am I approaching this PAM authentication right? For the most part. -- -- Phil Brutsche [EMAIL PROTECTED] GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D 7E5E FD94 D264 50DE 1CFC GPG key id: 50DE1CFC GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc *** END PGP VERIFIED MESSAGE *** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exim PAM SMTP Authentication, help!
Hi, I'm trying Exim to authenticate users for mail relay using the SMTP AUTH interface. I've recompiled the Debian Exim 3.12-10 source package with the standard/default settings and only added the TCP Wrappers and PAM support. The exim and eximon packages generated successfully and installed fine. Only what else should I do know to allow exim to use PAM? I've set up the fixed_plain and fixed_login entries in the conf file with the server_condition for fixed_login (which is what Outlook uses) as follows: server_condition = "\ ${if pam {$1:$2}{yes}{no}}" The authentication log returns the following error when I try to authenticate: PAM_unix[24311]: authentication failure; (uid=8) -> **unknown** for exim service I've set up an exim config file in the /etc/pam.d/ dir with auth and account required. From the above (and the spec.txt file in the exim docs) it looks like it expects an exim user with UID 8 to initialise the PAM service, but mail is already specified as the UID 8 GID 8 and I don't know what'll break if I rename mail to exim. Is it possible to create a user alias ? i.e. exim and mail is really the same user, same passwd etc ? Also am I approaching this PAM authentication right? Thanks, Eugene van Zyl
RE: need help compiling Debian source package: exim
Hi, Sorry, I thought I had the openldap dev packed installed but did not ... compiles fine now :-) Eugene
need help compiling Debian source package: exim
Hi, I need some direction as to what to do to resolve the error that the debian/rules script in the source directory is giving me. I've attached the the output in rules-ouput.txt, but here's the last few lines with the error: make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/auths' gcc -c -O2 -g -Wall -I/usr/include/db1 b64encode.c gcc -c -O2 -g -Wall -I/usr/include/db1 b64decode.c gcc -c -O2 -g -Wall -I/usr/include/db1 call_pam.c call_pam.c: In function `pam_converse': call_pam.c:71: warning: statement with no effect call_pam.c: In function `auth_call_pam': call_pam.c:123: warning: assignment from incompatible pointer type gcc -c -O2 -g -Wall -I/usr/include/db1 xtextencode.c gcc -c -O2 -g -Wall -I/usr/include/db1 xtextdecode.c gcc -c -O2 -g -Wall -I/usr/include/db1 get_data.c gcc -c -O2 -g -Wall -I/usr/include/db1 md5.c gcc -c -O2 -g -Wall -I/usr/include/db1 cram_md5.c gcc -c -O2 -g -Wall -I/usr/include/db1 plaintext.c /bin/rm -f auths.a ar cq auths.a b64encode.o b64decode.o call_pam.o xtextencode.o xtextdecode.o get_data.o md5.o cram_md5.o plaintext.o ranlib auths.a /bin/rm -rf ../drtables.o make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/auths' make[2]: *** No rule to make target `lookups/lookups.a', needed by `exim'. Stop. make[2]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386' make[1]: *** [go] Error 2 make[1]: Leaving directory `/usr/src/exim-3.12' make: *** [build] Error 2 The src/lookups/Makefile defines something for lookups.a though and it follows the same form as directors & transports which built fine ... ? TIA, Eugene van Zyl test -f src/exim.c -a -f debian/rules # Set up local build files mkdir Local chmod +x debian/config-ipv6 debian/config-ipv6 patch -o Local/Makefile src/EDITME debian/editme-diff patching file `src/EDITME' # This cp can be replaced with a patch like the one above if needed cp exim_monitor/EDITME Local/eximon.conf make make[1]: Entering directory `/usr/src/exim-3.12' >>> rebuilt Makefile unchanged make[2]: Entering directory `/usr/src/exim-3.12/build-Linux-i386' /bin/sh ../scripts/Configure-config.h make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386' make[3]: `buildconfig' is up to date. make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386' Building configuration file config.h >>> config.h built /bin/sh ../scripts/Configure-eximon sed -e s?CONFIGURE_FILE?/etc/exim.conf? \ -e s?BIN_DIRECTORY?/usr/sbin? \ -e s?BASENAME_COMMAND?look_for_it? \ -e s?HOSTNAME_COMMAND?/bin/hostname? \ -e s?X11_LD_LIBRARY?/usr/X11R6/lib? \ ../src/eximon.src >> eximon >>> eximon script built gcc -c -O2 -g -Wall -I/usr/include/db1 -I. os.c os.c: In function `os_getloadavg': os.c:28: warning: implicit declaration of function `sysinfo' gcc -c -O2 -g -Wall -I/usr/include/db1 -I. spool_in.c gcc -c -O2 -g -Wall -I/usr/include/db1 -I. store.c gcc -c -O2 -g -Wall -I/usr/include/db1 -I. string.c gcc -c -O2 -g -Wall -I/usr/include/db1 -I. tree.c gcc -o em_StripChart.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_StripChart.o | sed 's/o$/c/'` gcc -o em_TextPop.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_TextPop.o | sed 's/o$/c/'` gcc -o em_globals.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_globals.o | sed 's/o$/c/'` gcc -o em_init.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_init.o | sed 's/o$/c/'` gcc -o em_log.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_log.o | sed 's/o$/c/'` gcc -o em_main.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_main.o | sed 's/o$/c/'` gcc -o em_menu.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_menu.o | sed 's/o$/c/'` gcc -o em_queue.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_queue.o | sed 's/o$/c/'` gcc -o em_strip.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_strip.o | sed 's/o$/c/'` gcc -o em_text.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_text.o | sed 's/o$/c/'` gcc -o em_xs.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \ ../exim_monitor/`echo em_xs.o | sed 's/o$/c/'` gcc -o em_version.o -c \ -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -
Configuring Exim's plaintext authetication
Hi, Can someone tell me how (or where I'm supposed to read) to configure Exim's plaintext authenticator driver to check the user's password against the /etc/passwd, /etc/shadow files or use PAM somehow (MD5 is enabled as well) ? (Yes I know plaintext is bad, but I'm planning to tunnel it through SSL using stunnel, at a later stage) Also what's AUTH LOGIN's prompts supposed to look like so Outlook and Outlook Express can understand it? I've currently got it as "User Name : Password". TIA, Eugene van Zyl
Maildir performance with IMAP ?
Hi, Can anyone tell me wether there's a noticable performance hit when using IMAP with maildirs vs the flat file formats? Read the UW-IMAP docs which indicated that this was the case - anyone with experience that can comment? Plan to use Exim with either courier-imap or uw-imap (debian version patched for maildirs). Thanks, Eugene van Zyl
RE: GLUG: IMAP server recommendations ?
Thanks, I'll courier looks like it then :-) With exim I saw the debian docs for courier indicate that I set Exim up for maildir delivery - will the POP3 server pick the mail up correctly from the maildir then? also will the pop client (if not set to leave a copy on the server) kill the mail from the user's maildir, i.e. he won't see it with IMAP afterwards? is there a way to control this behaviour? Thanks :-) Eugene
IMAP server recommendations ?
Hi, Any recommendations for a IMAP server (on Debian 2.2)? IMAP4.7c (I think this is UW IMAP?) seems to intergrates relatively painless and support most IMAP features (although I couldn't find anything on shared folders), courier-imap seems technically better(?) but confusing to set up especially making use of extended features like its altered maildir standard for shared folders, I can't seem to figure out what else this might break when using this? Also it's not very clear with courier where exactly the mail folders are going to be stored, /var/spool/mail or $HOME/? UW-IMAP indicates that folders are stored in $HOME/ and it automatically picks up mail from /var/spool/mail as well as $HOME/mbox, this doesn't indicate whether these mail are then transported to an imap folder or left there (btw this is makes me lean toward it for easier integration). Then there's cyrus(cyris ?) imap as well. Couldn't really make much from its docs though. If someone that's running an imap server could give me some advice on what/how to install and set up partitions for storage, and in general which package gives the least headaces configuring. I also need to supply webmail access so would welcome any recommendations. Also, is running POP3 and IMAP simultaneously possible/a big no-no? What caveats/issues are there? Thanks in advance :-) Eugene van Zyl
Getting dselect to read .deb files without Packages,Release,etc files
Hi, How do I get dselect or another apt frontend tool read and use locally downloaded .deb files for which I'm unable (read apt-move, dpkg-scan-packages dosn't do it - I don't know how to get it to) to create the appropriate Packages & Release files and directory structure. apt-move doesn't like ftp.is.co.za 's dir structure and just generally seemed not to work. dpkg-scanpackages requires me to create a override file ... lots of manual work and faulty. Do I use some other tool ? and will it pick up and use the correct files for dependencies? TIA, Eugene van Zyl
Network Problems on Debian 2.2 box
Hi, Ok, the problem: I telnet, vnc, etc. (basically connect to the box with some sort of interactive client) and after about 5 mins (not sure couldn't quite time it) the client gets kicked of (Putty 0.51 reports Network error: Software caused connection abort). Now the machine refuses any network connections to for about 15-60 secs and sometimes during this period a subsequent portscan shows up ports that's definitly not on this machine (from which/what machine I don't know as a traceroute shows one hop which is correct and ngrep doesn't show anything usefull - not that I really know what to look for though). After this short period though I can reconnect only to be bumped of later again! The connection abort doesn't kill the telnet/bash session though and when I telnet in again the processes of the apps I was working on is still sitting there. A who shows me still connected (with the current session plus the previous ones shown) and killing the telnet process doesn't seem to refresh who's output. I'm running a 15 second delayed ping to an internet host in a screen session to try and see if the box looses connectivity but it seems fine, the only thing I can see is that it seems to pick up some network lag at intervals; the worst of which seem to conincide with being kicked, but not always! Where do I look to see what settings might control this type of behaviour, is there an app that does this? I've checked cron as well as at and the only jobs scheduled is mrtg and exim each every 30mins. I've attached the package list, process tree and extra info like the modules loaded. Please let me know what other info is required to make the picture clearer. The box has two 3com 905B NIC's sharing IRQ 10, with only one currently up. I want to set the box up as a Firewall/Proxy with a smtp gateway, and this behaviour will make internet access through it almost impossible! If it was just the telnet sessions timimg out I wouldn't have worried as much and accepted is as more of a security 'feature' but VNC sessions get booted as well, and I haven't set any timeouts! I'm pulling my hair out here, I've reinstalled this box twice and have the latest stable packages from my nearest mirror (ftp://ftp.is.co.za/linux/distributions/debian/) and security.debian.org! Thanks in advance, Eugene van Zyl init-+-atd |-cron |-getty |-getty |-getty |-getty |-getty |-getty |-gpm |-inetd---in.telnetd---bash---bash---pstree |-kflushd |-klogd |-kpiod |-kswapd |-kupdate |-pwcheck |-snort |-squid---squid-+-dnsserver | |-dnsserver | |-dnsserver | |-dnsserver | |-dnsserver | |-pinger | `-squid-+-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | |-squid | `-squid |-start---pike `-syslog-ng Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=-=-== ii adduser 3.11.1Add users and groups to the system. ii ae962-26Anthony's Editor -- a tiny full-screen editor ii apt 0.3.19Advanced front-end for dpkg ii at3.1.8-10 Delayed job execution and batch processing ii base-config 0.33.2Debian base configuration package ii base-files2.2.0 Debian base system miscellaneous files ii base-passwd 3.1.10Debian Base System Password/Group Files ii bash 2.03-6The GNU Bourne Again SHell ii bc1.05a-11 The GNU bc arbitrary precision calculator language ii bsdmainutils 4.7.1 More utilities from 4.4BSD-Lite. ii bsdutils