Hi,
I am trying to set up a mail server with qmail on a freebsd-10.1-amd64
machine. But at the end of installation and configuration, I am getting
no tcpserver process listing with 'ps waux'.
Could someone kindly suggest what could be wrong with my setup ? The
complete procedure I followed is listed under my signature.
I should note that currently, mail+DNS service for my domain is provided
by a third party. My machine's name is rat.mydomain.amd64, which has to
serve mail for mydomain.com, and rat.mydomain.com is listed as an alias
for ::1 as well as 127.0.0.1 in /etc/hosts.
Thank you for any assistance, &
Regards
Manish Jain
HOST=rat.mydomain.com
cd /var/qmail/configure && ./config-fast $HOST
Install ports qmail, ucsmtp-tcp, daemontools and checkpassword
Disbale sendmail mail as default mailer by executing:
/var/qmail/scripts/enable-qmail
Add to rc.conf:
qmailsmtpd_enable="YES"
qmail_smtp_enable="YES"
qmail_pop_enable="YES"
qmail_enable="YES"
svscan_enable="YES"
svscan_servicedir="/service"
cp /var/qmail/boot/maildir /var/qmail/rc/
ln -s /var/qmail/control /etc/qmail
mkdir /service
csh -cf '/usr/local/bin/svscanboot &'
ps waux | grep svscan #success
echo "csh -cf '/usr/local/bin/svscanboot &'" >> /etc/rc.local
Create /etc/tcp.smtp having the following lines:
127.:allow,RELAYCLIENT=""
192.168.10.:allow,RELAYCLIENT=""
:allow
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
echo '/var/qmail/rc/maildir start' >> /etc/rc.local
/var/qmail/rc/maildir start
#tcpserver should in theory be running now, but is not
I am trying to set up a mail server with qmail on a freebsd-10.1-amd64
machine. But at the end of installation and configuration, I am getting
no tcpserver process listing with 'ps waux'.
Could someone kindly suggest what could be wrong with my setup ? The
complete procedure I followed is listed under my signature.
I should note that currently, mail+DNS service for my domain is provided
by a third party. My machine's name is rat.mydomain.amd64, which has to
serve mail for mydomain.com, and rat.mydomain.com is listed as an alias
for ::1 as well as 127.0.0.1 in /etc/hosts.
Thank you for any assistance, &
Regards
Manish Jain
HOST=rat.mydomain.com
cd /var/qmail/configure && ./config-fast $HOST
Install ports qmail, ucsmtp-tcp, daemontools and checkpassword
Disbale sendmail mail as default mailer by executing:
/var/qmail/scripts/enable-qmail
Add to rc.conf:
qmailsmtpd_enable="YES"
qmail_smtp_enable="YES"
qmail_pop_enable="YES"
qmail_enable="YES"
svscan_enable="YES"
svscan_servicedir="/service"
cp /var/qmail/boot/maildir /var/qmail/rc/
ln -s /var/qmail/control /etc/qmail
mkdir /service
csh -cf '/usr/local/bin/svscanboot &'
ps waux | grep svscan #success
echo "csh -cf '/usr/local/bin/svscanboot &'" >> /etc/rc.local
Create /etc/tcp.smtp having the following lines:
127.:allow,RELAYCLIENT=""
192.168.10.:allow,RELAYCLIENT=""
:allow
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
echo '/var/qmail/rc/maildir start' >> /etc/rc.local
/var/qmail/rc/maildir start
#tcpserver should in theory be running now, but is not