Koozali.org: home of the SME Server

Username displayed in e-mails instead of pseudonym

Offline dspaan

  • 3
  • +0/-0
Username displayed in e-mails instead of pseudonym
« on: October 12, 2017, 12:10:43 PM »
Hello,

We are using Koozali 9.2 SME server.

I have setup the domain telforce.nl
We also have the domain goedemorgen-goedemiddag.nl

I have these users:

dennis
telforce_dennis

I have a pseudonym for dennis@telforce.nl which points to the telfoce_dennis account.

In Outlook 2016 i have setup an e-mail account as Exchange Activesync account.

When i send an e-mail from dennis@telforce.nl and i go to look at my sent items it says the e-mail was sent by telforce_dennis@goedemorge-goedemiddag.nl

What did i do wrong? I don't want recipients to see the wrong domain  :-(

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #1 on: October 12, 2017, 01:19:51 PM »
You should be able to change the mail "From" address user by user in Outlook 2016 (maybe).

You will see the SogoMailDomain parameter in /etc/sogo/sogo.conf.

By default, Sogo uses the default domain as the default mail domain, using this template fragment:

Quote from: /etc/e-smith/templates/etc/sogo/sogo.conf/20email
        SOGoMailSpoolPath = "/var/spool/sogo";
        SOGoIMAPServer = "imap://localhost:{$imap{'TCPPort'} || '143'}";
        SOGoMailDomain = {$DomainName};
        SOGoMailingMechanism = smtp;
        SOGoSMTPServer = localhost;
        SOGoMailListViewColumnsOrder = (
            Flagged, Attachment, Subject, From, Unread, Date, Size
        );
        SOGoTrashFolderName = {($sogod{'TrashFolder'} || "Trash")};
        SOGoDraftsFolderName = {($sogod{'DraftsFolder'} || "Drafts")};
        SOGoSentFolderName = {($sogod{'SentFolder'} || "Sent")};
        SOGoJunkFolderName = "{$dovecot{SpamFolder} || "Junk"}";
        SOGoMailCustomFromEnabled = YES;

Here are some tips on how to customize a template fragment like this:
https://wiki.contribs.org/Template_Tutorial#Quick_steps_.26_tips

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #2 on: October 12, 2017, 02:18:25 PM »
dspaan, welcome here

could you please give us some more details? are you using SOGo?

Offline dspaan

  • 3
  • +0/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #3 on: October 31, 2017, 03:11:05 PM »
Hi guys,

Thanks for the responses. I'm using Outlook 2016 as client. We have SoGo on the SME server for exchange mail.

In Outlook i add the account via the Windows control panel under User Accounts because you cannot add an Exchange account while Outlook is running. This is what i add:

https://imgur.com/a/Am0uV

When i edit the account these are the only options i do not have any advanced settings where i can configure the sender name:

https://imgur.com/a/WK8NZ


Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #4 on: October 31, 2017, 04:10:24 PM »
you have to add an imap account, not an office365 one
don't use SOGo's  ActiveSync feature, it has some limitations and is quite hungry about resources
if you need to sync contacts and calendars, I strongly suggest you to use this plugin: http://caldavsynchronizer.org/

HTH

Offline dspaan

  • 3
  • +0/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #5 on: October 31, 2017, 08:00:10 PM »
Ok i will look into using IMAP instead. And what about syncing contacts?

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Username displayed in e-mails instead of pseudonym
« Reply #6 on: October 31, 2017, 11:25:18 PM »
Use the plugin I Linked in my previous post