David Leangen | 8 Apr 01:54 2012
Picon

[SPAM] Problem with authentication


Hello!

I just set up a new instance of vpopmail, but it's not going as well as it usually does. I've set up about 10 or so
servers over the past years, and usually the installation goes very smoothly.

The problem is with authentication.

When I run my test:

/var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd
+OK <17922.1333842429 <at> blah>
user test <at> test.com
+OK 
pass asdf
-ERR authorization failed

Usually that test works just fine...

Has something changed?

Thanks!
=David

!DSPAM:4f80d3a234841003314499!

Chris Stone | 8 Apr 02:22 2012
Picon

Re: [SPAM] Problem with authentication

On Sat, Apr 7, 2012 at 5:54 PM, David Leangen <david.leangen <at> gmail.com> wrote:
> The problem is with authentication.
>
> When I run my test:
>
> /var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd
> +OK <17922.1333842429 <at> blah>
> user test <at> test.com
> +OK
> pass asdf
> -ERR authorization failed

So look at /var/log/maillog and what does it say about your test as
the reason for the failure?

Chris

--

-- 
Chris Stone
AxisInternet, Inc.
www.axint.net

!DSPAM:4f80da3934847311510756!

David Leangen | 8 Apr 02:42 2012
Picon

Re: [SPAM] Problem with authentication


Hi Chris,

Thanks for your very quick reply.

Message is: password fail

I tried vmkpasswd, and also tried creating a brand new test domain and user, but get the same problem.

Cheers,
=David

On Apr 8, 2012, at 9:22 AM, Chris Stone wrote:

> On Sat, Apr 7, 2012 at 5:54 PM, David Leangen <david.leangen <at> gmail.com> wrote:
>> The problem is with authentication.
>> 
>> When I run my test:
>> 
>> /var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd
>> +OK <17922.1333842429 <at> blah>
>> user test <at> test.com
>> +OK
>> pass asdf
>> -ERR authorization failed
> 
> So look at /var/log/maillog and what does it say about your test as
> the reason for the failure?
> 
> 
(Continue reading)

Picon

Re: [SPAM] Problem with authentication

On 08 Apr 12, David Leangen wrote:
> 
> Hello!
> 
> I just set up a new instance of vpopmail, but it's not going as well as it usually does. I've set up about 10 or
so servers over the past years, and usually the installation goes very smoothly.
> 
> The problem is with authentication.
> 
> When I run my test:
> 
> /var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd

is this just a typo?     -----------------------------^^^^^

Best
-harti

> +OK <17922.1333842429 <at> blah>
> user test <at> test.com
> +OK 
> pass asdf
> -ERR authorization failed
> 
> 
> Usually that test works just fine...
> 
> Has something changed?
> 
> Thanks!
(Continue reading)

David Leangen | 11 Apr 07:18 2012
Picon

Re: [SPAM] Problem with authentication


Hi,

>> /var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd
> 
> is this just a typo?     -----------------------------^^^^^

Ok, now I am very embarrassed. :-(

Turns out that the problem was so simple, I was just too blind to see it!

Thank you VERY MUCH for all the comments. Probably I would have never found the typo.

Best,
=David

!DSPAM:4f85141834846277053813!

Netbeans | 19 Apr 18:04 2012

bounce mail destined to non-existant accounts & keep a copy locally

I would like to ( bounce the email AND keep a copy ) that was destined 
to a non-existent vpop user.

I see than I can bounce
-OR-
deliver a copy

But it does not seem that I can easily do both at the same time.

!DSPAM:4f9037b534841136520110!

Antti Kanes | 19 Apr 18:15 2012
Picon

Re: bounce mail destined to non-existant accounts & keep a copy locally

Why not use procmail for that?
Should be quite straightforward.

Netbeans kirjoitti Apr 19, 2012 kello 7:04 PM:

> I would like to ( bounce the email AND keep a copy ) that was destined to a non-existent vpop user.
> 
> I see than I can bounce
> -OR-
> deliver a copy
> 
> 
> But it does not seem that I can easily do both at the same time.
> 
> 
> 

!DSPAM:4f903a0934841743127319!

Eric Shubert | 20 Apr 17:21 2012
Picon

Re: bounce mail destined to non-existant accounts & keep a copy locally

On 04/19/2012 09:04 AM, Netbeans wrote:
> I would like to ( bounce the email AND keep a copy ) that was destined
> to a non-existent vpop user.
>
> I see than I can bounce
> -OR-
> deliver a copy
>
>
> But it does not seem that I can easily do both at the same time.
>

I think you're right (keyword: easily).

You could tap the whole domain to some other domain's account, then use 
a filter on the tap account to delete all emails addressed to existing 
vpop users. Keeping the filter in sync with user accounts may or may not 
be troublesome.

--

-- 
-Eric 'shubes'

!DSPAM:4f917f1234841261746487!

Postmaster | 20 Apr 18:03 2012

Re: Re: bounce mail destined to non-existant accounts & keep a copy locally

I found it was easier to edit the vdelivermail.c program to do both.

On 04/20/12 11:21, Eric Shubert wrote:
> On 04/19/2012 09:04 AM, Netbeans wrote:
>> I would like to ( bounce the email AND keep a copy ) that was destined
>> to a non-existent vpop user.
>>
>> I see than I can bounce
>> -OR-
>> deliver a copy
>>
>>
>> But it does not seem that I can easily do both at the same time.
>>
>
> I think you're right (keyword: easily).
>
> You could tap the whole domain to some other domain's account, then use
> a filter on the tap account to delete all emails addressed to existing
> vpop users. Keeping the filter in sync with user accounts may or may not
> be troublesome.
>

!DSPAM:4f91891d34841555310708!

Rick Phillips | 22 Apr 03:10 2012
Picon

[SPAM] Cannot Authenticate When "popping" mail

I have searched my problem extensively on the web and even in the
archives on this list without success.  I say without success because
there were many similar problems with different configurations going
back to about 2003 but in many cases, the question I am about to ask 
was ignored on the lists.

I have installed netqmail + vpopmail + ezmlm dozens of times without any
problems following "Life With Qmail" explicitly and the instruction with
vpopmail.  I have had 3 failed attempts using 64bit CentOS 6.0, 6.1 and
now 6.2.  Everything functions - qmailadmin works and authenticates,
mail is received on the server and mail can be sent BUT popping the mail
 from the server fails with the error "Unable to connect to server 
'servername' Cannot send password".

My mailer configuration is exactly the same as I use on working setups.
I have wasted days on a solution - even trying older and the development
versions of vpopmail.  The version I am currently using is 5.4.33.

The following is my /var/qmail/supervise/qmail-pop3d/run script.

#!/bin/sh
exec /usr/local/bin/softlimit -m 10000000 \
    /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
        FQDN_disguised /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

vchkpw indeed resides where it should be as outlined above.  The mail arrives in a Maildir folder exactly as
it should.  There are several domains, each being set up from scratch using vadddomain and then users were
added with qmailadmin which functions normally.

My bad experiences have only been with CentOS 6.X and I manage several other servers running CentOS 5.X
(Continue reading)


Gmane