> i am using squirrelmail-1.4.9a which i have deployed on Mac > OS X Server 10.4.8(i am not using the default Squirrelmail shipped > with Mac OS X Server i am however using the default Postfix MTA and > Cyrus IMAP that does come along with it). In that place, I recommend upgrading SM to the newest stable release. > My mail server is working > just fine and so is Squirrelmail. My problem is something like this, > my domain is foo.com and my mail is on mail.foo.com users who are on > webmail can configure their accounts such that the mails go with > user@xxxxxxx and not user@xxxxxxxxxxxx via their preferences by > specifying their email address as user@xxxxxxxx i wish to know how i > can do this via the data/default_pref globally for all users so > individual users need not have to bother. Please let me know you > require any additional information. What is the format of the actual IMAP account names? If in the form of just the local username ("user"), then your SquirrelMail domain setting should fix the problem if it's set to foo.com. If IMAP accounts are in the form "user@xxxxxxxxxxxx", then it's much harder -- I'd recommend using the Login Manager plugin to allow users to log in as "user@xxxxxxx", and using Login Manager to rewrite the login to "user@xxxxxxxxxxxx", while setting its $rawLoginIsOutgoingEmailAddress setting so the email address is as you desire. Note that this solution will work for users who have already logged in before, but the one before will only work for first time logins. Also see the Retrieve User Data plugin, which you might be able to modify for your purposes. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users