IMAPS with extra authorization.

Josef Karliak karliak at ajetaci.cz
Thu Jul 22 07:27:46 EDT 2010


   Hi,
   thanks for tip. I used your entries now (I had anything else in  
pam.d's imap config).
   Command "testsaslauthd" seem to be happy :
celer:/etc/pam.d # testsaslauthd -u user -p badimapspass -s imap
0: NO "authentication failed"
celer:/etc/pam.d # testsaslauthd -u user -p goodimapspass -s imap
0: OK "Success."
celer:/etc/pam.d # testsaslauthd -u user -p goodsystempass -s imap
0: OK "Success."

   I've tried imaps from internet, it accept user from pwd file, but  
account from system too :-/. It can't from imaps :-/

   J.K.


Cituji Syren Baran <sb at bit-house.com>:

> Am Mittwoch, den 21.07.2010, 21:07 +0200 schrieb Josef Karliak:
>> Hi,
>>    thanks for tip.
>>    I've rebuilded pwdfile from src and installed it.
>>    File /etc/pam.d/imap is :
>
> I just use the following entries:
>
> #dont need account
> account required pam_permit.so
> #check username/passwd
> auth    sufficient pam_pwdfile.so pwdfile /etc/email.passwd
> #fallback to system accounts (for user cyrus)
> auth required pam_unix.so
>
> After creating a user/pass with
> "htpasswd -c -b /path/to/file newuser pass"
> does
> "testsaslauthd -u newuser -p pass -s imap"
> return success?
>
> Greetings,
> Syren Baran
>
> +++++++++++++++++++++++++++++++++++++++++++
>
> Niederlassung Deutschland:
> BIT-HOUSE Ltd.
> internet professionals
> Erthalstr. 17
> 63739 Aschaffenburg
> Deutschland
>
> Amtsgericht:    Aschaffenburg
> HRB-Nr.:        9136
> St/Nr.:         204/104/60603
> USt-Id-Nr.:     DE814408164
> Gechäftsführer: Thomas Witzel
>
> +++++++++++++++++++++++++++++++++++++++++++
>
> Telefon:        +49.6021.8622-680
> VoIP:           +49.6021.8622-680
> Fax:            +49.6021.8622-676
> E-Mail:         mail at bit-house.com
> Homepage: www.bit-house.com
>
> +++++++++++++++++++++++++++++++++++++++++++
>
> Hauptsitz:
> BIT-HOUSE Ltd.
> 69 Great Hampton Street
> Birmingham
> West Midlands
> United Kingdom
>
> Registergericht: Companies House of Cardiff
> Registernummer:  05325636
> Registereintrag: United Kingdom
> Director: Thomas Witzel
>
> +++++++++++++++++++++++++++++++++++++++++++
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1336 bytes
Desc: =?iso-8859-2?b?VmX4ZWpu/Q==?= PGP
	=?iso-8859-2?b?a2zt6A==?=
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100722/f52dde18/attachment-0001.bin 


More information about the Info-cyrus mailing list