qmail.sh is broken symlink

Erik Trulsson ertr1013 at student.uu.se
Sat May 16 04:43:41 UTC 2009


On Fri, May 15, 2009 at 06:29:27PM -0700, Kelly Jones wrote:
> I just installed qmail on my FreeBSD box out of /usr/ports/mail/qmail,
> and noticed this:
> 
> # ls -l /usr/local/etc/rc.d/qmail.sh
> lrwxr-xr-x  1 root  wheel  13 May 15 18:43 /usr/local/etc/rc.d/qmail.sh@ -> /va\
> r/qmail/rc
> 
> # ls -l /var/mail/rc
> ls: /var/mail/rc: No such file or directory
> 
> I read somewhere that this is actually *supposed* to happen + that I
> should copy something in /var/qmail/boot to /var/qmail/rc
> 
> My question is: what? There are lots of files in there:
> 
> # ls -l /var/qmail/boot/
> total 24
> -r-xr-xr-x  1 root  wheel   483 May 15 18:43 binm1*
> -r-xr-xr-x  1 root  wheel   567 May 15 18:43 binm1+df*
> -r-xr-xr-x  1 root  wheel   452 May 15 18:43 binm2*
> -r-xr-xr-x  1 root  wheel   536 May 15 18:43 binm2+df*
> -r-xr-xr-x  1 root  wheel   450 May 15 18:43 binm3*
> -r-xr-xr-x  1 root  wheel   534 May 15 18:43 binm3+df*
> -r-xr-xr-x  1 root  wheel   340 May 15 18:43 home*
> -r-xr-xr-x  1 root  wheel   428 May 15 18:43 home+df*
> -r-xr-xr-x  1 root  wheel   347 May 15 18:43 maildir*
> -r-xr-xr-x  1 root  wheel   359 May 15 18:43 proc*
> -r-xr-xr-x  1 root  wheel   445 May 15 18:43 proc+df*
> -r-xr-xr-x  1 root  wheel  1511 May 15 18:43 qmail-smtpd.rcNG*
> 

Any of those files could actually work.  They are all shell-scripts that
start qmail, but with slightly different options, or using different
support-programs.  I can't find a description of exactly what the difference
between them is, so you will probably have to look through them to see which
one suits your setup best.  (There are comments in each of them giving a
brief description of what it does.)




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list