Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: sicki on April 26, 2005, 08:36:57 AM

Title: stop fake mails
Post by: sicki on April 26, 2005, 08:36:57 AM
hi ive got a problem, is there a way to stop the user to fake mails? for exampel

John Miller with mail johnmiller@manuf.de can change his mail adress in webmailer in bill@gates.com if he want.

How can i stop that the user can change the transiever address?
Title: stop fake mails
Post by: hordeusr on April 26, 2005, 11:06:43 PM
If you are just looking to stop this from happening in the horde/imp webmail included with sme...
/home/httpd/html/horde/imp/config/prefs.php

find and lock these items (locked should be true)

// user preferred email address for From: line
// see also $conf['hooks']['from'] in conf.php
$_prefs['from_addr'] = array(
    'value' => '',
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);

// user preferred email address for Reply-To:, if different from From:
$_prefs['replyto_addr'] = array(
    'value' => '',
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);


That will remove those options from the webmail system.  Any entries already in the mysql preference database will have to be removed (it doesn't remove those items from existing users that have already set them)