second instance of cyrus imapd should obey /etc/pam.d/imapnew
Ashay Chitnis
chitnis.ashay at gmail.com
Mon Jun 23 12:42:47 EDT 2008
Hi guys,
Here is my query. I have cyrus-imapd (with cyrus-sasl)which runs on 143 and
110. I want to have user level restrictions on my 143 port.. I have
generated two instances on imapd one on 143 and other on 5122 ports.
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=5
#imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
#pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="sieve" prefork=0
#Added by Ashay
* imapnew cmd="imapd" listen="imapnew" prefork=5*
etc......
}
now i want one imap on 143 to obey /etc/pam.d/imap and other imapnew (5122)
instance to obey /etc/pam.d/imapnew
can anyone tell me how this is possible?
my /etc/pam.d/imap file:
*
cat /etc/pam.d/imap
auth required /lib/security/pam_ldap.so
auth required /lib/security/pam_listfile.so item=user sense=allow
file=/usr/local/etc/imapallow onerr=fail
account required /lib/security/pam_ldap.so*
my /etc/pam.d/imapnew file:
*
cat /etc/pam.d/imapnew
auth sufficient /lib/security/pam_ldap.so
account sufficient /lib/security/pam_ldap.so*
can anyone suggest how to achieve this? is there any PAM_SERVICE=imapnew
parameter i can pass??
regards,
Ashay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20080623/c3c2ac6f/attachment.html
More information about the Info-cyrus
mailing list