Koozali.org: home of the SME Server

stopping users sending emails with nonexisting names

SANKAR

stopping users sending emails with nonexisting names
« on: May 15, 2001, 08:31:30 AM »
How can I stop users sending emails with a non existing name.

I am running e-smith 4.1.2 in server only mode. I have two email accounts
created namely test1@domain.com and test2@domain.com. test1 user
logs into the webmail and uses junk@domain.com in his "From address"
and sends email to all the users in "domain.com". How do I stop users
using nonexisting names in the "From address" part.

Sankar

Charlie Brady

Re: stopping users sending emails with nonexisting names
« Reply #1 on: May 15, 2001, 09:23:10 AM »
SANKAR wrote:
 
> How can I stop users sending emails with a non existing name.

1. Make all users agree to an Acceptable Use Policy (AUP) which precludes sending email with a non existing name.

2. Immediately terminate the account of any user who breaches the AUP.

Charlie

Dan Brown

Re: stopping users sending emails with nonexisting names
« Reply #2 on: May 15, 2001, 05:21:35 PM »
...or just edit /home/httpd/html/horde/imp/config/defaults.php3 and change the value of $default->user_change_from from true to false.  If you do this, messages will be marked as from the user as logged in.

To make this change in the e-smith style, do this:

# mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/defaults.php3
# cp /etc/e-smith/templates/home/httpd/html/horde/imp/config/defaults.php3/430userChangeFrom \
/etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/defaults.php3
# pico /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/defaults.php3/430userChangeFrom

  Change the value from true to false, then

# /sbin/e-smith/expand-template /home/httpd/html/horde/imp/config/defaults.php3

    Be warned, this won't stop a user from doing the same thing using any other mail client--but it will stop it when using the web mail system.

SANKAR

Re: stopping users sending emails with nonexisting names
« Reply #3 on: May 20, 2001, 02:52:01 AM »
Thank you Dan. I did the change and the user cannot see the "From" field.

Sankar