mail is added to domainname.com

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Neonblue
Posts: 27
Joined: Thu Mar 03, 2005 12:47 pm

mail is added to domainname.com

Postby Neonblue » Tue Jan 03, 2006 8:36 pm

I've recently become aware that my server on one of my domains (the primary one that I set up in scalix) is setting the return address to myname@mail.domain.com instead of myname@domain.com. I looked in the admin interface and can't see where this is set...?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jan 03, 2006 9:01 pm

Hi. The From: field is derived from the first Internet address listed in either SAC or from an omshowu. So, for example, if an omshowu shows the following:

Internet Address : "Test User" <test.user@mail.domain.com>="Test User" <test.user@domain.com>

then the From: field will be: Test User <test.user@mail.domain.com>

If you switch those around in SAC, then the second address will be used.

Thanks,
Rachel

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Re: mail is added to domainname.com

Postby ScalixSupport » Wed Jan 04, 2006 7:57 am

Neonblue wrote:I've recently become aware that my server on one of my domains (the primary one that I set up in scalix) is setting the return address to myname@mail.domain.com instead of myname@domain.com. I looked in the admin interface and can't see where this is set...?


This also happens when your /etc/mail/local-host-names is empty or does not list your domain.

http://www.faqs.org/docs/securing/chap22sec180.html

and /etc/mail/local-host-names

In short, if a line for your domain is missing in this file, the outgoing hostname is used.

Cheers,

Sascha.

Neonblue
Posts: 27
Joined: Thu Mar 03, 2005 12:47 pm

Postby Neonblue » Thu Jan 05, 2006 12:15 pm

I verified the local-host-names and both the domainname.com and mail.domainname.com are listed. The domainname.com is listed above the mail.domainname.com.

I also looked in the admin again just to be sure, and I don't see anywhere where the "mail" is listed before the domainname in the config.

Any more ideas?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Jan 05, 2006 9:50 pm

Hi. Can you post the output from an omshowu of one of your users (see my message from Jan 03 above). The command would be:

omshowu -n "user name"

where "user name" is the name of a user. The specific line I'm looking for is the one that starts with:

Internet Address :

If you want the domain.com to the be the default name in the domainname dropdown, edit:

/etc/opt/scalix/caa/scalix.res/config/ubermanager.properties and search for the line:

ubermanager.console.localDomains=

change that so it reads:

ubermanager.console.localDomains=domain.com,mail.domain.com

or if you never want to use mail.domain.com you can just leave that off. Once that's done restart tomcat.

Thanks,
Rachel

Neonblue
Posts: 27
Joined: Thu Mar 03, 2005 12:47 pm

Postby Neonblue » Fri Jan 06, 2006 12:41 am

Got it. The etc/mail/local-host-names was the issue; I just didn't restart tomcat. I changes the order that was listed and put the mail.domainname.com at the bottom of the file.

Incidentally, I couldn't run the above command. It kept saying the user did not exist. I tried:

omshowu -n "sjohnson"
and
omshowu -n "sjohnson@domain.com"

The first one says the user doesn't exist and the second states "The name/mailnode contains invalid characters" I assume that it's because of the @.

Thanks for all your help!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jan 06, 2006 1:30 pm

Hi. The "-n" parameter would be the name of the user, so if the person's name is "sam johnson", you would type:

omshowu -n "sam johnson"

you can get more details on the usage of omshowu from the manpage (i.e. man omshowu).

Thanks,
Rachel


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests