jon wrote: > Hi, > > Sorry to sound like a total newbie, but, I guess I am at qmail! If I have > an email address [EMAIL PROTECTED] and I want to collect mail from this. I > need a .qmail called jon.qmail with /var/spool/mail/jon in it. Nope, you need a .qmail file with /var/spool/mail/jon in it. It is not jon.qmail it is simply ".qmail". > But where > does this file need to go? > At jon's home dir (for instance /home/home/jon/.qmail) > > And what should be in my /var/qmail/rc file? Once again, sorry for being a > newbie :-) > Why should you have to mess with this file? Check the attached init script. > > All the best and thank so far, > > Jon > > > Do > > > > chmod 777 /var/spool/mail > > chmod +s /var/spool/mail > > > > Edit the users .qmail to be > > > > /var/spool/mail/$USER > > > > (*change* $USER to be the user login) > > > > no / at the end or you will have a Maildir not a mailbox. > > > > Done. > > > > Any permission issues? > > > > japc. > > > > > > Jon wrote: > > > > >Hi, > > > > > >Is there any guides to setting up qmail using /var/spool/mail, as all > > of the > > >ones I have read just show you how to use ./Mailbox which I don't want > > to > > >do. > > > > > >Any help? Thanks, > > > > > >Jon > > -- José AP Celestino - [EMAIL PROTECTED] Administração de Sistemas - PT Multimedia SAPO - www.sapo.pt ------------------------------------------
#!/bin/sh # # qmail /etc/init.d script for qmail (http://www.qmail.org/) # # Version: @(#) /etc/init.d/qmail 1.00 03-Sep-1997 # # Author: Larry Doolittle <[EMAIL PROTECTED]> # derived from skeleton by Miquel van Smoorenburg, # <[EMAIL PROTECTED]> # # Source function library. # See how we were called. case "$1" in start) touch /var/lock/qmail env - PATH="/var/qmail/bin:$PATH" \ csh -cf 'qmail-start ./Maildir/ multilog t /var/log/qmail &' /usr/local/bin/tcpserver -P -H -R -u 64011 -g 101 0 smtp /usr/local/bin/tcpcontrol /etc/tcp.smtp.cdb /var/qmail/bin/qmail-smtpd & echo $! >/var/run/qmail-smtpd /usr/local/bin/tcpserver -P -H -R -x /etc/tcp.pop-3.cdb 0 pop-3 /var/qmail/bin/qmail-popup mail.sl.pt \ /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir & echo $! >/var/run/qmail-popup ;; stop) killall qmail-send kill `cat /var/run/qmail-smtpd` kill `cat /var/run/qmail-popup` rm -f /var/lock/qmail-smtpd rm -f /var/lock/qmail-popup rm -f /var/lock/qmail ;; *) echo "Usage: qmail {start|stop}" exit 1 esac exit 0