Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail, vpopmail, pop3 auth
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
Klovnen
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 83
Location: Norway

PostPosted: Sat Nov 15, 2003 9:40 pm    Post subject: qmail, vpopmail, pop3 auth Reply with quote

hello, im trying to set up a maiserver with qmail and vpopmail (mysql).
qmail is up and running, and i have vadddomain'ed my domain, and added users.
When i send one of the users a mail, i can see it under /var/vpopmail/domains/my.domain/user/cdon/Maildir/new, but i cant log in and read the mail!
and all logs are "clean"
Back to top
View user's profile Send private message
smasher
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 95

PostPosted: Sun Nov 16, 2003 12:38 am    Post subject: Reply with quote

Try using the username + domain (ie joe@somedomain.com) when try logging in.
Back to top
View user's profile Send private message
Klovnen
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 83
Location: Norway

PostPosted: Sun Nov 16, 2003 10:10 am    Post subject: Reply with quote

when i telnet localhost 110, this is what i get with this qmail-pop3d/run:

Quote:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <17694.1068977188@host.my.domain>
user klovnen@my.domain
+OK
pass ***
-ERR this user has no $HOME/Maildir
Connection closed by foreign host.


Quote:
#!/bin/sh
exec /usr/bin/softlimit -m 5000000 \
/usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb 0 pop-3 \
/var/qmail/bin/qmail-popup `hostname --fqdn` \
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d .maildir 2>&1


However, if i rename the users Maildir (/var/vpopmail/domains/my.domain/users/Maildir) to .maildir, i get no error from telnet, but i can still not log in with a mail client (opera m2 in this case)
Back to top
View user's profile Send private message
smasher
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 95

PostPosted: Sun Nov 16, 2003 5:27 pm    Post subject: Reply with quote

How was the email box added? Did you use vadduser? http://www.inter7.com/vpopmail/doc/index.html

The directory format I've got is /home/vpopmail/domains/my.domain/username/Maildir

Here's the supervise script I'm using for pop3.
Code:

#!/bin/sh

PASSPROG="/home/vpopmail/bin/vchkpw"
HOSTNAME=`hostname --fqdn`

exec /usr/bin/softlimit -m 3800000 \
/usr/bin/tcpserver -v -R -c 200 0 pop3 \
/var/qmail/bin/qmail-popup $HOSTNAME \
$PASSPROG /var/qmail/bin/qmail-pop3d Maildir 2>&1


I've always created email boxes using the vqadmin interface that was installed with the qmail toaster rpms from http://www.qmailtoaster.com/. Yes, my mail server is running on a Mandrake box, not Gentoo :)

If you can find vqadmin here: http://www.inter7.com/vqadmin.html
Back to top
View user's profile Send private message
Klovnen
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 83
Location: Norway

PostPosted: Sun Nov 16, 2003 10:38 pm    Post subject: Reply with quote

Yes, vadduser. Il try your run first thing.
Back to top
View user's profile Send private message
Klovnen
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 83
Location: Norway

PostPosted: Sun Nov 23, 2003 11:39 am    Post subject: Reply with quote

sorry for the delay.
i made a very stupid mistake, in the mail client, i used only vuser (instead of vuser@vdomain) for username. :oops:
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