View previous topic :: View next topic |
Author |
Message |
Klovnen Tux's lil' helper
Joined: 01 Jan 2003 Posts: 83 Location: Norway
|
Posted: Sat Nov 15, 2003 9:40 pm Post subject: qmail, vpopmail, pop3 auth |
|
|
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 |
|
|
smasher Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Sun Nov 16, 2003 12:38 am Post subject: |
|
|
Try using the username + domain (ie joe@somedomain.com) when try logging in. |
|
Back to top |
|
|
Klovnen Tux's lil' helper
Joined: 01 Jan 2003 Posts: 83 Location: Norway
|
Posted: Sun Nov 16, 2003 10:10 am Post subject: |
|
|
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 |
|
|
smasher Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Sun Nov 16, 2003 5:27 pm Post subject: |
|
|
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 |
|
|
Klovnen Tux's lil' helper
Joined: 01 Jan 2003 Posts: 83 Location: Norway
|
Posted: Sun Nov 16, 2003 10:38 pm Post subject: |
|
|
Yes, vadduser. Il try your run first thing. |
|
Back to top |
|
|
Klovnen Tux's lil' helper
Joined: 01 Jan 2003 Posts: 83 Location: Norway
|
Posted: Sun Nov 23, 2003 11:39 am Post subject: |
|
|
sorry for the delay.
i made a very stupid mistake, in the mail client, i used only vuser (instead of vuser@vdomain) for username. |
|
Back to top |
|
|
|