|
From: Dom <dl...@ed...> - 2008-09-02 09:22:01
|
Bruce Smith wrote: >> Well I'm here I find myself thinking of a couple of other things: >> - Could anyone who understands these things upgrade Nano in DL 1.3 to >> v2? Nano is now DL's default editor, which is good for me, but DL is >> using v1.2.4. >> > > Done. (in CVS, the next test build will have it) > Thanks, Bruce. Er, also I can't get nano to recognise settings in the $SYSCONFDIR/nanorc file (or the per-user ~/.nanorc file), perhaps it has not been compiled with this option? (Actually, where is $SYSCONFDIR? /etc?) If so, would it be possible to recompile with this option and to provide a default nanorc file which disabled line wrapping thus: set nowrap This is because nano's automatic line wrapping (which is on by default unless you use the -w command line switch) can break configuration files (because it actually inserts line feeds into wrapped lines in the resaved file, which seems pretty dumb to me). In the meantime I've got used to typing -w, and nano is certainly much easier than vi. > >> - In DL 1.3 the default configuration of Postfix (main.cf) requires as >> data_directory a directory /var/lib/postfix owned by postfix, so you >> have to create this manually after each boot before Postfix will work, >> how do I automate this process (and could this be fixed for a future >> release)? And even with this fixed manually I am at present unable to >> get Postfix working after the upgrade to DL 1.3. >> > > Probably the best place to create the directory would be in /etc/init.d/postfix > > We might be able to fix it when we create the CD image. I'd have to > play around with it since it creates a chroot jail. > Thanks again. I ended up by creating /home/postfix/data as data_directory - but then I have a hard disk. /etc/init.d/postfix is a better solution as a default because it would work for everyone. > >> - What is the easiest way to configure DL to send outgoing emails (e.g. >> for crontab messages / warning / diagnostic purposes)? Maybe I don't >> need to use Postfix at all! >> > > If all you need to do is to send email, check out 'nail'. I believe > it can be configured to use an external SMTP server, or act as it's > own. Much easier than running postfix. > > - BS Thanks a third time! I got Postfix working in the end so for now I am sticking with it, but I have put some info about Nail on my setup/info page and if I was starting over I would use it instead. Dom |