[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [magicmail-users] smtp auth
Hello!
Please let me know if I understand correctly: When using your cmd5checkpw as
your external password program, users can be AUTHed successfully. However,
when using vchkpw, AUTH fails?
If so, the answer to your question lies in the output that magic-smtpd is
getting from vchkpw. Have you checked that it is the same as that from
cmd5checkpw? Are they running as the same user?
I note that in your log snippet you are getting logging from vchkpw-smtp. Is
that the same vhckpw binary you're testing?
-Simon
-- LinuxMagic Support Team --
On Sunday 02 July 2006 09:28 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.
--
Simon Wilson <simon@wizard.ca> Systems Administration
Wizard IT Services - http://www.wizard.ca
Linux Support Specialist - http://linuxmagic.com
Unix Administration, Website Hosting, Network Services, Programming
(604) 589-0037 Beautiful British Columbia, Canada
LinuxMagic is a TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which
they are addressed. If you have received this email in error please
notify the system manager. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company.