Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail smtpd problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kilrathi
n00b
n00b


Joined: 21 Nov 2002
Posts: 16
Location: Arkansas

PostPosted: Fri Dec 20, 2002 7:45 pm    Post subject: qmail smtpd problem Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Dec 20, 2002 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
kilrathi
n00b
n00b


Joined: 21 Nov 2002
Posts: 16
Location: Arkansas

PostPosted: Sat Dec 21, 2002 9:08 am    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Dec 21, 2002 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message
piotraf
n00b
n00b


Joined: 01 Apr 2003
Posts: 43
Location: Łódź - Poland

PostPosted: Thu Apr 10, 2003 5:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Apr 10, 2003 6:33 pm    Post subject: running the ebuild script Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum