View previous topic :: View next topic |
Author |
Message |
kilrathi n00b
Joined: 21 Nov 2002 Posts: 16 Location: Arkansas
|
Posted: Fri Dec 20, 2002 7:45 pm Post subject: qmail smtpd problem |
|
|
I've installed qmail on my system and created the correct links in /service to get it started. It starts up just fine. What confuses me is this:
On a different box i have qmail installed, but i also use a qmailctl startup script to start qmail. If i try to use that script on the ebuild of qmail it doesn't seem to work at all. My current problem is this:
The i try to connect to my smtp server "telnet locahost 25" the logs show the following message:
tcpserver: warning: dropping connection, unable to read /etc/tcp.smtp.cdb: file does not exist.
and drops me. The file mentioned is generated from /etc/tcp.smtp on my other linux box. Has anyone else had a similar problem? What files are you supposed to use to start qmail? Currnetly i am using /etc/init.d/svscan to start the logging for qmail, but i think there should be another file that i'm just not seeing.
Any help is appreciated. _________________ "If they take away our guns, can we use swords?" |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 20, 2002 8:52 pm Post subject: |
|
|
svscan should take care of it. Are you saying that /etc/tcp.smtp.cdb does exist, but qmail can't find it? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
kilrathi n00b
Joined: 21 Nov 2002 Posts: 16 Location: Arkansas
|
Posted: Sat Dec 21, 2002 9:08 am Post subject: |
|
|
It does NOT exist. From what i understand about qmail the qmailctl startup script is supposed to generate that file from /etc/tcp.smtp which i am supposed to create. I've created the tcp.smtp file and it still does not generate the tcp.smtp.cdb file. In this case there is no startup script because svscan is starting qmail. _________________ "If they take away our guns, can we use swords?" |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Dec 21, 2002 9:55 am Post subject: |
|
|
You can use tcprules to bake /etc/tcp.smtp into /etc/tcp.smtp.cdb. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
piotraf n00b
Joined: 01 Apr 2003 Posts: 43 Location: Łódź - Poland
|
Posted: Thu Apr 10, 2003 5:46 pm Post subject: |
|
|
and how do you do that? by:
# tcprules /etc/tcp.smtp /etc/tcp.smtp.cdb
???
I didn't find any manpage on that _________________ best regards/ pozdrawiam
PiotrAF |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Apr 10, 2003 6:33 pm Post subject: running the ebuild script |
|
|
You probably forgot to run
ebuild /var/db/pkg/net-mail/qmail-1.03-r8/qmail-1.03-r8.ebuild config
Also Gentoo does not install qmailctl which is really a third party script. You can find it and the answer to how to make a tcp.smtp file at
http://www.lifewithqmail.com/lwq.html
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
|