* To setup qmail to run out-of-the-box on your system, run: * ebuild /var/db/pkg/mail-mta/qmail-1.03-r13/qmail-1.03-r13.ebuild config * To start qmail at boot you have to add svscan to your startup * and create the following links: * ln -s /var/qmail/supervise/qmail-send /service/qmail-send * ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd * To start the pop3 server as well, create the following link: * ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d * Additionally, the QMTP and QMQP protocols are supported, * and can be started as: * ln -s /var/qmail/supervise/qmail-qmtpd /service/qmail-qmtpd * ln -s /var/qmail/supervise/qmail-qmqpd /service/qmail-qmqpd * Additionally, if you wish to run qmail right now, you should * run this before anything else: * source /etc/profile How to setup so you can send mail from localhost, or relay from certain ips: edit /etc/tcp.smtp add: 127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" 69.2.251.81:allow,RELAYCLIENT="",RBLSMTPD="" 192.168.0.1:allow,RELAYCLIENT="",RBLSMTPD="" :allow reading the instructions makes sense, too. once finished, in /etc/ run: # tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp # /etc/init.d/svcscan restart and you should be gtg!