HELP: qmail-smtp isn't started by default????

2001-07-18 Thread Bruno Boettcher
hello!

i never really used the incoming mail feature of  my qmail setup of my
home server... since i normally get my mail through our corporate mail
service, but now i needed it, and it didn't worked

i have a sid-machine running qmail... looked through the setups couldn't
find anything...

tryed a telnet 25, connection refused...
looked through hosts.allow, added some lines for qmail, until i noticed
that it is started as daemon...

looked through the started daemons noticed that qmail-smtp was
missing...
looked at the start script, didn't understood a lot...

got through the qmail install docu and adapted the line there to start
the server:
tcpserver -u 71 -g 65534 0 smtp /usr/sbin/qmail-smtpd 


this is similar to what i found in the init script:
sh -c start-stop-daemon --start --quiet \
   --exec /usr/bin/tcpserver -- \
   -S -u 71 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp \
   /usr/sbin/qmail-smtpd 21 | logger
   -t qmail -p mail.notice 

but only similar can't imagine what the extra struff as
/etc/tcp.smtp.cdb is supposed to do and why that command is so
complicated anyways the above mentioned line works, while the init
line manifestingly doesn't work

should i post this as a bug, or is something with my set up wrong?

-- 
ciao bboett
==
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===
the total amount of intelligence on earth is constant.
human population is growing



Re: HELP: qmail-smtp isn't started by default????

2001-07-18 Thread frankie
On Wed, Jul 18, 2001 at 12:16:35PM +0200, Bruno Boettcher wrote:
 hello!
 
[...]
 tcpserver -u 71 -g 65534 0 smtp /usr/sbin/qmail-smtpd 
 
 
 this is similar to what i found in the init script:
 sh -c start-stop-daemon --start --quiet \
--exec /usr/bin/tcpserver -- \
-S -u 71 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp \
/usr/sbin/qmail-smtpd 21 | logger
-t qmail -p mail.notice 
 
 but only similar can't imagine what the extra struff as
 /etc/tcp.smtp.cdb is supposed to do and why that command is so
 complicated anyways the above mentioned line works, while the init
 line manifestingly doesn't work
Do you have /etc/tcp.smtp.cdb?
It is a database (sort of - a ``constant database''), used instead of
/etc/hosts.*. Read the qmail FAQ (http://cr.yp.to/qmail/faq.html)
or Life  With qmail (http://www.lifewithqmail.org/).
HTH
HAND
MisoFrankie
-- 
The danger from computers is not that they will eventually get
as smart as men but that we will meanwhile agree to meet
them halfway.


pgp2jlMlaKK79.pgp
Description: PGP signature


RE: HELP: qmail-smtp isn't started by default????

2001-07-18 Thread GARGIULO Eduardo INGDESI
 but only similar can't imagine what the extra struff as
 /etc/tcp.smtp.cdb is supposed to do and why that command is so
 complicated anyways the above mentioned line works, while the init
 line manifestingly doesn't work
 

Try this..

echo '127.0.0.1:allow,RELAYCLIENT='  /etc/tcp.smtp
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp

start/stop tcpserver and telnet localhost 25

hope this help.

--ejg