G. Ryan Fawcett writes:
> Well internet email works great but I have a problems using bin mail to
> deliver locally. I've compile everything but I don't have the qial to alias
> to binmail so how do i set it up to put the mail ins /var/mail/spool/usr.
> Anyone does this
Use the default qmail delivery to ~/Mailbox. Here is my /var/qmail/rc
#!/bin/sh
# Using cyclog to send the log to /var/log/qmail.
# Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox /usr/local/bin/accustamp \
| /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail
Then, you put a symbolic link in /var/mail for each luser:
shutdown all mail processing
for i in list of users
do
if [ -f /var/mail/$i ]
then
mv /var/mail/$i /home/$i/Mailbox
fi
ln -s /home/$i/Mailbox /var/mail/$i
done
/Joe