#1  
Old 25th April 2010, 19:54
wiseguy wiseguy is offline
Junior Member
 
Join Date: Dec 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default mailbox login alias

Hallo,

I have the following problem:
I have more than one customer who has one domain. Some of them have their own subdomains. This works fine with ISPConfig3.

But now I want to have Mailadresses - all with the same domain. For example: customer1@domain.org and customer2@domain.org.

But I can't do that. I have to decide one of them to own the mail-domain domain.org. And so customer2 can't see his mail address and so he can't change the password for examle.

So I want to make a maildomain customer2.domain.org for him and he get a mailbox info@customer2.domain.org. And now I thought email alias is an option for making an other login-name and mail address for the same mail account. But I can't login with this alias name.

And if an alias mail is not that, whats the difference to mailforeward?
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2010, 21:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,433
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

Email aliases are not related to mailbox logins. An alias is a function in postfix to route incoming emails and not a pop3 or imap account.

1) Create a email domain for every customer like customer2.domain.org
2) Create a new mailbox for this domain like user@customer2.domain.org
3) as admin, create a email forward from customer2@domain.org to user@customer2.domain.org
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th April 2010, 22:39
wiseguy wiseguy is offline
Junior Member
 
Join Date: Dec 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
create a email forward from customer2@domain.org to user@customer2.domain.org
Thats not that, what I need. The Customers have to write mails from their Mailadress customer1@domain.org.

What I did now is: I created all there mailboxes and then I changed the group id in mysql database. So now every customer has his own mailbox with the maildomain domain.org.

The bad thing with this solution: I can't change there Mailboxes without setting updating the group id in mysql; because if I change something as admin, the group ID changed to the ustomer who is owner from the maildomain.

[EDIT]
I modified the ispconfig Files, so that now I can set up a special customer to every mailbox.

Maybe you can take this modification to the svn Version? So that I needn't to modify that in the next version again. Maybe there are other people with the same problem, too.

Here are the modified files
[EDIT]
[DELETE](I only made a german language, so in other languages there is a blank field as label)[/DELETE]
I used the customer Label; so the "de_mail_user.lng" needn't to be modify
[/EDIT]


Is it possible to change the group ID of every mailaddress in ISPConfig3 Webinterface? This option has to be a privileg from the admin of course!

Thats for Version 3.0.2.1 from here
Attached Files
File Type: txt de_mail_user.lng.txt (2.2 KB, 88 views)
File Type: txt mail_user_edit.php.txt (17.3 KB, 72 views)
File Type: txt mail_user_mailbox_edit.htm.txt (3.4 KB, 83 views)

Last edited by wiseguy; 26th April 2010 at 11:15. Reason: post of my modifications
Reply With Quote
  #4  
Old 26th April 2010, 01:12
wiseguy wiseguy is offline
Junior Member
 
Join Date: Dec 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I recognized one problem with my modification:
The customer can't edit his mail at the moment; he can't use the maildomain but it changes automatically to his own maildomain if he has one. If not, he can't save because there is no maildomain used.
Reply With Quote
  #5  
Old 26th April 2010, 10:54
wiseguy wiseguy is offline
Junior Member
 
Join Date: Dec 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Okay, now it seams to work as I want; Here is the changed mail_user_edit.php
  • The Domains from mailboxes where the user is owner from will be shown in the Maildomain List when mailbox is editing
  • The User has access to the mailboxes where he is owner from

@Till: Do you know if there meight be any side effects, relating to the use with postfix or courier. I tested it in ISPConfig Webinterface: That works fine ;-)
And I don't tested till now, if the the mailbox "file" changes when the user changes it to an other maildomain where he is owner from...

Note: If the user change the maildomain from that mail he can't go back without the help of the admin!
Attached Files
File Type: txt mail_user_edit.php.txt (17.8 KB, 82 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 7 26th June 2014 14:33
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33


All times are GMT +2. The time now is 12:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.