Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another qmail question :)
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
popsickle
Retired Dev
Retired Dev


Joined: 19 Apr 2002
Posts: 11
Location: Belgium - Ghent

PostPosted: Sun Oct 20, 2002 4:58 pm    Post subject: Another qmail question :) Reply with quote

I installed qmail with qmail-pop3d, set it up but i cant get my pop3 service to start, smtp is working fine though.
if i telnet to localhost 110 i get an connection refused and if i start /service/qmail-pop3d/run i get the message:
/usr/sbin/tcpserver: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
Can somebody help me here?
Thx
Back to top
View user's profile Send private message
Messiah
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2002
Posts: 139

PostPosted: Sun Oct 20, 2002 6:12 pm    Post subject: Reply with quote

You need to give qmail-pop3d more resources. Edit the file /service/qmail-pop3d/run. On the second line it says something like this:
Code:

exec /usr/bin/softlimit -m 10000000 \

This could very well be my modified line. The 10000000 here is the amount of memory allocated, you should try a higher (higher than what yours says now!) value for yourself.
Back to top
View user's profile Send private message
popsickle
Retired Dev
Retired Dev


Joined: 19 Apr 2002
Posts: 11
Location: Belgium - Ghent

PostPosted: Sun Oct 20, 2002 6:28 pm    Post subject: Reply with quote

hey man, thx alot!!
It works now by setting your value.
Back to top
View user's profile Send private message
popsickle
Retired Dev
Retired Dev


Joined: 19 Apr 2002
Posts: 11
Location: Belgium - Ghent

PostPosted: Sun Oct 20, 2002 9:05 pm    Post subject: Next qmail problem Reply with quote

Ok it's not over yet, so it seems :)

smtp mail works perfectly, pop3 mail works too,
BUT
i cant receive mails as user root, i can send them as every user and receive them as every user EXCEPT root.
When i try to telnet localhost 110 i can do USER and PASS as root but immediately after the PASS command, the connection is being closed with the message "-ERR unable to scan $HOME/Maildir"
Any help?
Thx in advance
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Sun Oct 20, 2002 9:17 pm    Post subject: Reply with quote

This is the default in qmail. No mail will be delivered to root. You gotta create a /var/qmail/alias/.qmail-root file. So just type something like
Code:
# cd /var/qmail/alias
# echo popsickle > .qmail-root
# ln -s .qmail-root .qmail-postmaster
# ln -s .qmail-root .qmail-mailer-daemon
to set up the basic needed aliases delivered to your user popsickle.
Again, I recommend Life with qmail as a good starter site to learn about it. :-)

Hth,
Larde.

edit: btw, the first time I ran qmail I also wondered what the heck is going on with the root mail, because I didn't read all the documention before... :-) But once I got into it, I really started to enjoy running qmail.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
popsickle
Retired Dev
Retired Dev


Joined: 19 Apr 2002
Posts: 11
Location: Belgium - Ghent

PostPosted: Sun Oct 20, 2002 10:53 pm    Post subject: Reply with quote

thx
it seems to work now

anyway im going to read over the life with qmail guide ;)
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