Here is my own /usr/local/etc/rc.d/qmail.sh on a FreeBSD 4.0 system:

#!/bin/sh

># Using splogger to send the log through syslog.
># Using qmail-local to deliver messages to ~/Mailbox by default.

>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start ./Mailbox splogger qmail&

>/usr/local/bin/tcpserver -R -x/etc/tcp.smtp.cdb -u82 -g81 0 smtp
/var/qmail/bin/qmail-smtpd &

The file is the vanilla one furnished with the qmail-1.03 port, installed as
per installation instructions. The file contains the instructions to start
both qmail and tcpserver. The -R option is just a workaround for our
firewall dropping ident packets.

-Martin




----- Original Message -----
From: "net admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 01, 2000 17:01
Subject: Qmail startup script install for FreeBSD


> Hi folks;
> I am in need of example startup script for Qmail on a FreeBSD system,
> I am assuming the script will be in:
>
> -- /usr/local/etc/rc.d    and "Qmail.sh"  will do for filename
>
> I also have /usr/local/etc/rc.d/tcpserver.sh   which will start
> tcpserver smtp on startup and contains:
>
> #!/bin/sh
> tcpserver -x /etc/tcp.smtp.cdb -u1111 -g10047 0 smtp
> /var/qmail/bin/qmail-smtpd &
> (all in one line)
>
> I am not yet on the list so please forward reply to me.
>
> Thanks
>
> Dan
>
>

Reply via email to