please help to enable sieve

Simon Matter simon.matter at invoca.ch
Mon Mar 19 04:25:20 EST 2007


> Simon Matter wrote:
>>> Dear list,
>>>
>>> this is my first ever mail to the cyrus group. Hope to get some help.
>>>
>>> I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus
>>> to work with LDAP authentication where
>>> the admin user "cyrus" is based on simple pam authentication. So I have
>>> both PAM_Unix and PAM_ldap module
>>> in my system and configured accordingly.
>>>
>>
>> What's in your /etc/pam.d/imap and /etc/pam.d/sieve?
>>
> Thanks for your response.
>
> Here is /etc/pam.d/imap
> ===========================
> auth       sufficient   /lib/security/pam_ldap.so
> auth       required     /lib/security/pam_unix.so try_first_pass
> account    sufficient   /lib/security/pam_ldap.so
> account    required     /lib/security/pam_unix.so
> ===========================================
>
> but I don't have any   /etc/pam.d/sieve in my Suse 10.1

Interesting, but I think you need one. Try to make it a copy of
/etc/pam.d/imap.

Simon

>
>
>
>> Simon
>>
>>
>>> I have no problem to login as cyrus ( to do admin work)  as well as I
>>> can also log in as an user based in LDAP database.
>>> I am using egroupware and felamimail is my webinterface for cyrus. I
>>> can
>>> send and received email.
>>>
>>> But I can't use the seiev. whenever I try to use; it gives error like
>>> =================================================
>>> Mar 19 12:44:36 linux master[21414]: about to exec
>>> /usr/lib/cyrus/bin/timsieved
>>> Mar 19 12:44:36 linux sieve[21414]: executed
>>> Mar 19 12:44:36 linux sieve[21414]: accepted connection
>>> Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth):
>>> function=[pam_sm_authenticate] service=[sieve] terminal=[<unknown>]
>>> user=[aftab] ruser=[<unknown>] rhost=[<unknown>]
>>> Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam:
>>> pam_authenticate
>>> failed: Authentication failure
>>> Mar 19 12:44:36 linux saslauthd[4894]: do_auth         : auth failure:
>>> [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam]
>>> [reason=PAM auth error]
>>> Mar 19 12:44:36 linux sieve[21414]: Password verification failed
>>> Mar 19 12:44:36 linux sieve[21414]: badlogin:
>>> linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure
>>> =====================================================================
>>>
>>>
>>> here is my /etc/imapd.conf
>>> ==============================================================
>>> configdirectory: /var/lib/imap
>>> partition-default: /var/spool/imap
>>> sievedir: /var/lib/sieve
>>> admins: cyrus
>>> allowplaintext: yes
>>> sasl_mech_list: LOGIN PLAIN
>>> allowanonymouslogin: no
>>> autocreatequota: 10000
>>> reject8bit: no
>>> quotawarn: 90
>>> timeout: 30
>>> poptimeout: 10
>>> dracinterval: 0
>>> drachost: localhost
>>> sasl_pwcheck_method: saslauthd
>>> servername:linux.kolkatainfoservices.in
>>> lmtp_overquota_perm_failure: no
>>> lmtp_downcase_rcpt: yes
>>> unixhierarchysep:  yes
>>> loginrealms:   kolkatainfoservices.in
>>> hashimapspool: true
>>> lmtpsocket:  /var/lib/imap/socket/lmtp
>>> ==============================
>>>
>>>
>>>
>>>
>>> ----
>>> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
>>> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
>>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>>
>>>
>>
>>
>>
>


More information about the Info-cyrus mailing list