Koozali.org: home of the SME Server

Problem with 'from' address in mail from a virtual domain

Offline toothandnail

  • ****
  • 139
  • +0/-0
Problem with 'from' address in mail from a virtual domain
« on: May 15, 2008, 01:23:36 PM »
I've hunted the forum and haven't found anything, so I'm hoping someone may be able to tell me what I'm doing wrong...

I have a system with a primary domain and one virtual domain. After reading the manuals and the forum, I set up the users on the primary domain, then created pseudonyms to the email address for the virtual domain users. That seems to have worked fine in so far as incoming email is getting to the right people. However, I have hit a problem with outgoing email, so I think I must have missed a step somewhere.

What is happening is if someone sends an email from the virtual domain (so far only tested using the Horde webmail), the 'from' field in the outgoing email has the primary domain as its origin, not the virtual domain. So, for user jblogs@domainname.co.uk sends a mail, which appears to come from  jblogs@domainname.org (the primary domain is the .org, the virtual is .co.uk).

What should I be doing to ensure that outgoing mail has the correct .co.uk address in its 'from' field?

paul.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Problem with 'from' address in mail from a virtual domain
« Reply #1 on: May 15, 2008, 01:54:14 PM »
Login to webmail as the user, go to options-personal information and change the identity to have whatever you want.

You can have multiple identities with a single user

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Problem with 'from' address in mail from a virtual domain
« Reply #2 on: May 15, 2008, 01:56:50 PM »
If you are setting up the accounts in an e-mail client you can of course set this behavior in the client.

Offline toothandnail

  • ****
  • 139
  • +0/-0
Re: Problem with 'from' address in mail from a virtual domain
« Reply #3 on: May 15, 2008, 02:08:26 PM »
Login to webmail as the user, go to options-personal information and change the identity to have whatever you want.

You can have multiple identities with a single user

Thanks. That looks like what I need. I'll have to wait until I can test mail from a normal email client. The server is rather remote  :smile:

paul

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with 'from' address in mail from a virtual domain
« Reply #4 on: May 15, 2008, 04:28:57 PM »
What should I be doing to ensure that outgoing mail has the correct .co.uk address in its 'from' field?

Configure whatever email client is used to send the mail to use that From address.

I think someone should add this to the FAQ.