block some users send external email.

Discuss the Scalix web client

Moderators: ScalixSupport, admin

lowkl

block some users send external email.

Postby lowkl » Mon May 28, 2007 4:02 am

Hello, i want to block some users to send external email. They only allow to send the internal emai. Is that posible to do it.

Thank You

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

Postby ScalixSupport » Mon May 28, 2007 8:54 am

Hi!

There is a possible way, 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 need to add "auth required om_om2authid" and "auth required pam_listfile ..." lines
to file ~/sys/pam.d/smtpd.auth so that you can use that to block access for specified users.

Hope this helps.

Thanks,
Subir

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

Postby eyalm » Mon May 28, 2007 9:27 pm

check this post http://www.scalix.com/forums/viewtopic.php?t=125&start=0&postdays=0&postorder=asc

Basically you create 2 rules (incoming and outgoing), add them to the mailnode with ommodrt.
Then change the service level of the users you want to block access with ommodu -n <user> -s <service level>

hope it helps.

lowkl

Postby lowkl » Tue May 29, 2007 2:19 am

I will try it. Thank You


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 4 guests