noaccess not working with courier-imap
Hi all, I needed to block the access to an account and to forward all the incoming email of the account to another 2 accounts, what I did was to only add the emails to the mailForwardingAddress and to change the activeStatus to noaccess. POP is blocked and the mail is been forwarded, but imap still working, so the user can check his email via webmail(squirrelmail), Any idea on how to block pop and imap accounts but still receiving email? Regards.
Re: noaccess not working with courier-imap
On Tue, Mar 28, 2006 at 06:40:32PM -0600, Nicolas de Bari Embriz Garcia Rojas may have written: > Hi all, I needed to block the access to an account and to forward > all the incoming email of the account to another 2 accounts, what I > did was to only add the emails to the mailForwardingAddress and to > change the activeStatus to noaccess. > > POP is blocked and the mail is been forwarded, but imap still > working, so the user can check his email via webmail(squirrelmail), > > Any idea on how to block pop and imap accounts but still receiving > email? I don't know about Courier, but dovecot has a filter that you can specify to it to define active users. I set that to include (accountStatus=active), and when I set it to nopop, the user gets authentication failed errors. Perhaps Courier has something similar? -- Brian T Glenn delink.net Internet Services we all block port 79/tcp (finger); what port is 'tentacle' ?? --Tanuki smime.p7s Description: S/MIME cryptographic signature
Re: noaccess not working with courier-imap
Hi, one quick & dirty solutions is to change the user password Regards, PabloOn 3/29/06, Nicolas de Bari Embriz Garcia Rojas <[EMAIL PROTECTED]> wrote: Hi all, I needed to block the access to an account and to forwardall the incoming email of the account to another 2 accounts, what Idid was to only add the emails to the mailForwardingAddress and tochange the activeStatus to noaccess. POP is blocked and the mail is been forwarded, but imap stillworking, so the user can check his email via webmail(squirrelmail),Any idea on how to block pop and imap accounts but still receivingemail? Regards.-- Me encanta el olor a napalm por la mañana -- Kilgore
Re: noaccess not working with courier-imap SOLUTION
Hi, thanks a lot for your answer, what i did for solving this was to modify the LDAP_FILTER on the authldaprc file to this: LDAP_FILTER (&(objectClass=qmailUser)(accountStatus=active)) now using noaccess works for both pop3 and imap4. Regards. On Mar 29, 2006, at 7:31 AM, Brian T Glenn wrote: On Tue, Mar 28, 2006 at 06:40:32PM -0600, Nicolas de Bari Embriz Garcia Rojas may have written: Hi all, I needed to block the access to an account and to forward all the incoming email of the account to another 2 accounts, what I did was to only add the emails to the mailForwardingAddress and to change the activeStatus to noaccess. POP is blocked and the mail is been forwarded, but imap still working, so the user can check his email via webmail(squirrelmail), Any idea on how to block pop and imap accounts but still receiving email? I don't know about Courier, but dovecot has a filter that you can specify to it to define active users. I set that to include (accountStatus=active), and when I set it to nopop, the user gets authentication failed errors. Perhaps Courier has something similar? -- Brian T Glenn delink.net Internet Services we all block port 79/tcp (finger); what port is 'tentacle' ?? --Tanuki
Re: noaccess not working with courier-imap SOLUTION 2
Hy guys, this filter doesnt work for me. My application dont write accountStatus if it is active (qmail-ldap's default). My LDAP_FILTER: (&(objectClass=qmailUser)(!(accountStatus=disabled))(!(accountStatus=noaccess))) []s taz Nicolas de Bari Embriz Garcia Rojas wrote: Hi, thanks a lot for your answer, what i did for solving this was to modify the LDAP_FILTER on the authldaprc file to this: LDAP_FILTER (&(objectClass=qmailUser)(accountStatus=active)) now using noaccess works for both pop3 and imap4. Regards. On Mar 29, 2006, at 7:31 AM, Brian T Glenn wrote: On Tue, Mar 28, 2006 at 06:40:32PM -0600, Nicolas de Bari Embriz Garcia Rojas may have written: Hi all, I needed to block the access to an account and to forward all the incoming email of the account to another 2 accounts, what I did was to only add the emails to the mailForwardingAddress and to change the activeStatus to noaccess. POP is blocked and the mail is been forwarded, but imap still working, so the user can check his email via webmail(squirrelmail), Any idea on how to block pop and imap accounts but still receiving email? I don't know about Courier, but dovecot has a filter that you can specify to it to define active users. I set that to include (accountStatus=active), and when I set it to nopop, the user gets authentication failed errors. Perhaps Courier has something similar? -- Brian T Glenn delink.net Internet Services we all block port 79/tcp (finger); what port is 'tentacle' ?? --Tanuki