[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [magicmail-users] smtp auth



Simon Wilson wrote:
> Hello:
>
> Is this a fresh QMR / vpopmail installation or did you just recompile 
> vpopmail?
>
> Is your ext_chk_passwd_prog a new setup? If so, I would recommend the usual -- 
> check permissions, etc. What does your auth program return to magic-smtpd on 
> success and on failure?
>
> -Simon
>
> 	-- LinuxMagic Support Team --
>
> On Thursday 29 June 2006 06:50 am, Valters wrote:
>   
>> Hello.
>>
>> Just 2day i had to recompile vpopmail without roaming-users as had to add
>> a few new domains to my server and i dont want them to use my server as
>> smtp without auth.
>>
>> but i run into a problem.. this happens if i type the wrong password for
>> smtp auth.
>>
>> msd[21626]: AUTH command received, args: LOGIN
>> msd[21626]: trying AUTH against external program
>> vpopmail[21635]: vchkpw-smtp: password fail (pass: 'asdasd')
>> email@domain.aa:123.123.123.123
>> msd[21626]: AUTH failure: [email@domain.aa]
>>
>> and this happens with the right password:
>>
>> msd[21936]: AUTH command received, args: LOGIN
>> msd[21936]: trying AUTH against external program
>> vpopmail[21937]: vchkpw-smtp: smtp access denied
>> mail@domain.aa:123.123.123.123
>> msd[21936]: AUTH failure: [email@domain.aa]
>>
>> p.s. running full qmr install with magic-smtpd so far everything has been
>> working.
>> loaded  | ext_check_passwd_prog         | /home/vpopmail/bin/vchkpw
>>
>>
>> <valters>
>>     
>
>   
Simon Wilson wrote:
> Hello:
>
> Is this a fresh QMR / vpopmail installation or did you just recompile 
> vpopmail?
>
> Is your ext_chk_passwd_prog a new setup? If so, I would recommend the usual -- 
> check permissions, etc. What does your auth program return to magic-smtpd on 
> success and on failure?
>
> -Simon
>
> 	-- LinuxMagic Support Team --
>
> On Thursday 29 June 2006 06:50 am, Valters wrote:
>   
>> Hello.
>>
>> Just 2day i had to recompile vpopmail without roaming-users as had to add
>> a few new domains to my server and i dont want them to use my server as
>> smtp without auth.
>>
>> but i run into a problem.. this happens if i type the wrong password for
>> smtp auth.
>>
>> msd[21626]: AUTH command received, args: LOGIN
>> msd[21626]: trying AUTH against external program
>> vpopmail[21635]: vchkpw-smtp: password fail (pass: 'asdasd')
>> email@domain.aa:123.123.123.123
>> msd[21626]: AUTH failure: [email@domain.aa]
>>
>> and this happens with the right password:
>>
>> msd[21936]: AUTH command received, args: LOGIN
>> msd[21936]: trying AUTH against external program
>> vpopmail[21937]: vchkpw-smtp: smtp access denied
>> mail@domain.aa:123.123.123.123
>> msd[21936]: AUTH failure: [email@domain.aa]
>>
>> p.s. running full qmr install with magic-smtpd so far everything has been
>> working.
>> loaded  | ext_check_passwd_prog         | /home/vpopmail/bin/vchkpw
>>
>>
>> <valters>
>>     
>
>   

Is this a fresh QMR / vpopmail installation or did you just recompile 
vpopmail?

yes this is a fresh install of QMR. i recompiled vpopmail. at start it 
was compiled with roaming users.

i'm now using external prog "cmd5checkpw"
loaded  | auth_enable                   | 1
loaded  | ext_check_passwd_prog         | /bin/cmd5checkpw
it checks for users&passwords under /etc/poppasswd  that works fine.

but i would like to use the ~vpopmail/bin/vchkpw to check for virtual 
domain users and their password for smtp auth, but that just wont work.. 
i double checked the perms all looks fine to me.

-rws--s--x    1 vpopmail vchkpw      68212 Jun 29 15:34 vchkpw*
root@local:/home/vpopmail/bin#

drwx------    7 vpopmail vchkpw       4096 May 30 19:14 domain.aa/
root@local:/home/vpopmail/domains#

there are no other errors exept those i listed in my first mail.