Disable IMAP for a specific user

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ericblanchette
Posts: 12
Joined: Fri Mar 09, 2007 2:22 pm
Location: Lachine, Quebec
Contact:

Disable IMAP for a specific user

Postby ericblanchette » Fri Mar 09, 2007 2:25 pm

Hello,

Is there a way to disable IMAP access for a specific user account?

Thanks,

Eric

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Mar 12, 2007 8:30 am

Hi!

Is there a way to disable IMAP access for a specific user account?

If you refer to SWA access, you can disable SWA for a user, by logging in SAC and
modifying view the user properties and remove the check next to option "User can use SWA". This would stop that user from using SWA for mail.

Thanks,
Subir

ericblanchette
Posts: 12
Joined: Fri Mar 09, 2007 2:22 pm
Location: Lachine, Quebec
Contact:

Postby ericblanchette » Mon Mar 12, 2007 8:34 am

I'm fine with users using the SWA to check their mail but I want to block IMAP (port 143) for specific users using Outlook or ThunderBird.

Thanks,

Eric

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Mar 12, 2007 8:49 am

Hi Eric,

If you make the user class to be limited, he/she would be able to access SWA but would not be able to use Outlook. See the man pages for ommodu with --class option.

Thanks,
Subir

ericblanchette
Posts: 12
Joined: Fri Mar 09, 2007 2:22 pm
Location: Lachine, Quebec
Contact:

Postby ericblanchette » Mon Mar 12, 2007 9:07 am

If I set the user to limited, he/she will not have access to the Scalix server using the "Scalix Outlook Connector". But he/she will still be able to connect to Scalix server using IMAP. I just want to give them POP access.

Thanks,

Eric

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 13, 2007 5:44 am

Hi Eric!

I don't think there is a way to block a single user from connecting to IMAP.

Thanks,
Subir

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Wed Mar 14, 2007 10:11 am

Well, there is, but it's not pretty at the moment.

You can use pam_listfile to block a user, but you'll also need om_om2authid to get a PAM_USER name that's useful for putting in a pam_listfile command.

Basically you want to add "auth required om_om2authid" and "auth required pam_listfile ..." lines to ~/sys/pam.d/ual.remote and you can use that to block access for specified users.
Of course, that will also stop them coming in through MAPI, but that's probably what you want.

We really ought to have a separate PAM file for IMAP, but it's not practicable to do that until I've finished re-factoring the PAM stuff and brought it screaming and kicking into the 21st century.

jch

cinnamngrl

Postby cinnamngrl » Mon Jun 04, 2007 4:11 pm

is there any way for the user to tell whether their IMAP access has been disabled?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron