

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Multible Mail Dom...| From | Sent On | Attachments |
|---|---|---|
| tp...@netmaster.dk | Jun 21, 2007 12:47 am | |
| Sam Varshavchik | Jun 21, 2007 3:58 am | |
| tp...@netmaster.dk | Jun 21, 2007 5:15 am | |
| Scott | Jun 21, 2007 8:32 am | |
| Jeff Jansen | Jun 21, 2007 7:50 pm | |
| tp...@netmaster.dk | Jun 22, 2007 12:26 am | |
| Jeff Jansen | Jun 22, 2007 3:25 am | |
| tp...@netmaster.dk | Jun 22, 2007 3:40 am | |
| Jeff Jansen | Jun 22, 2007 8:23 am | |
| tp...@netmaster.dk | Jun 24, 2007 11:07 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [courier-users] Multible Mail Domains | Actions... |
|---|---|---|
| From: | Jeff Jansen (tech...@sil.org) | |
| Date: | Jun 22, 2007 8:23:52 am | |
| List: | net.sourceforge.lists.courier-users | |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
tp...@netmaster.dk wrote:
If I do this then the user will not have the correct e-mail address in the upper right corner of the sqwebmail interface. The username is correct but the domain is my 'main' domain and not the domain I wish. Ie. I run 'domain1.org' (my main domain) and 'domain2.org'. I have a system account that I want to give an e-mail address on 'domain2.com', ie. 'use...@domain2.com'. When that user goes to http//www.domain2.com/courier/webmail he sees the sqwebmail login dialog. He logs in with only his userid (no domain) and that works fine (I have delete the 'logindomainlist' file). Now the user gets into sqwebmail, but sqwebmail shows that his e-mail address is 'use...@domain1.com'. I have not tried to send mail but I assumes he sends from 'use...@domain1.com' and not what I want 'use...@domain2.com' I am new to this stuff and I very much appreciate your help.
Happy to help. You are correct that when users log into sqwebmail they show up at your "main" domain, because they ARE all at your main domain. That what local domains are. The email account isn't really 'use...@domain1.com', it's 'user1 on your box. And your box answers to 'domain1.com', 'domain2.com', etc. But they are all really just users on the box.
Fortunately, unless you have explicitly denied it, sqwebmail allows you to set the FROM address in emails you send. Click the "Create Message" link and you'll see that the first line is the FROM: line, and you can edit it. So your users can set it to be whatever they want.
If you want to preset this for them to avoid confusion, then in each user's Maildir, edit (or create it if doesn't exist) the file 'sqwebmail-config' and add "FROM=use...@domain.com" (or whatever is appropriate for this user). This will set the FROM address automatically when they create a message. They can still change it, however, manually. If they do, then whatever they change it to will become the new default.
Spaces are not allowed in the "FROM=", so use "+20" in its place. So you could set use...@domain2.com's FROM line to be
FROM=USER+20TWO+20<use...@domain2.com>
Which will show up as
From: USER TWO <use...@domain.com>
when they send an email.
This doesn't solve your problem of users seeing themselves as members of the "main" domain instead of one of the other local domains when they log into sqwebmail, but I don't think there's a way to change that except to move to using hosted domains.
Enjoy!
Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGe+mfGfIHDMaiC9cRAqBkAJ9ZDqylqyrQRzcJx5QDrChJwLyEsgCfXmM1 ettgnLt5VZkcxhIHgK2qjWw= =0UEF -----END PGP SIGNATURE-----







