Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail+vpopmail weirdness
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
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Sat Sep 20, 2003 11:52 pm    Post subject: qmail+vpopmail weirdness Reply with quote

I'm trying to configure Qmail with vpopmail.

Here's what works:
virtual users can recieve mail
virtual users can check mail via pop

And what doesn't work:
1) virtual users can not send mail via smtp. looks like smtp auth and tls aren't working.

Quote:

telnet localhost 25
EHLO
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-SIZE 0
250-PIPELINING
250 8BITMIME
starttls
454 TLS not available: missing RSA private key (#4.3.0)
auth
503 auth not available (#5.3.3)


2)
real users can not log in via pop. password denied basicly. haven't focused on that yet.
also: real users can not send via smtp

3)
mail sent to real users doesn't deliever. The logs show this:

Quote:
@400000003f6c9fc405b00824 delivery 1: deferral: /bin/sh:_line_1:_dot-forward:_command_not_found/


a google search doesn't turn anything up, so I'm stumped.

anyone? it can't really be this difficult.

I simply emerged vpopmail, which had qmail as a dependancy. Reading the vpopmail site said that qmail needed a patch to actually read the new mailboxsize way of managing quotas, and there was an ebuild for qmail that included that. (qmail-1.03-r12.ebuild). so I emerged that, and that's where I'm at.

any ideas, let me know. I haven't included any configs in this post, didn't want it to be too long.

thanks,
darkweasel
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Sun Sep 21, 2003 2:17 am    Post subject: Reply with quote

I'm staring to wonder if it's better to download the qmail source myself and apply the patches I want.

There seems to be a plethora of qmail configs, patchs etc. Very frustrating.
Back to top
View user's profile Send private message
caiuschen
n00b
n00b


Joined: 24 Jan 2003
Posts: 12
Location: Olympia, WA

PostPosted: Tue Sep 23, 2003 4:34 am    Post subject: RE: qmail+vpopmail weirdness Reply with quote

Try editing /var/qmail/control/defaultdelivery and removing the line about dot-forward.

As for the SMTP auth problems... there is a set of instructions at the end of the qmail emerge. I do not know if they are the problem or not, but it is worth a try if you missed them:

Code:

If You want to have a signed cert, do the following:
openssl req -new -nodes -out req.pem \
-keyout /var/qmail/control/servercert.pem

Send req.pem to your CA to obtain signed_req.pem, and do:
cat signed_req.pem >> /var/qmail/control/servercert.pem
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Tue Sep 23, 2003 5:06 am    Post subject: Reply with quote

caiuschen:

I got it working. I'm not sure exactly how..

I followed the directions here: http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm and used the latest vpopmail compiled from source. everything else was emerged.

it doesn't allow relay, which is good. but i'm not exactly sure why it's not. i like understanding things.

as for the cert thing.. you're probably right. I saw the "send this to your CA" and I wasn't sure what CA meant so I ignored it. I thought I had generated ssl certs for apache https without sending any cert to anyone, so I figured that was an extra step.

So, what is a CA? I'm guessing something like "cert authority".

thanks,
darkweasel
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