Accepting mail for all local domains?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

nvehommes
Posts: 61
Joined: Sun Feb 24, 2008 9:22 am
Location: Erlangen, Germany

Accepting mail for all local domains?

Postby nvehommes » Thu Mar 13, 2008 2:08 pm

Hi,

I want to set up our users to have a mail address of the form
john.doe @ our.domain.com
and use this address for incoming and outgoing mail.

Incoming mails are not delivered directly to our server, but to the mailserver of our computer center, which is MX for our.domain.com. After virus checking and spam filtering, the messages are forwarded to our mailserver using an address of the form
john.doe @ mailserver.our.domain.com
These mails, however, are being rejected. The only way I found so far to have our Scalix server accept and deliver those mails is when I explicitly add such an address for each user.

Obviously, I would prefer not to have to define these additional addresses for all users, but instead configure Scalix to accept mails that are addressed to local domains. Both our.domain.com and mailserver.our.domain.com are defined as local domains.

Is it possible to do this? And if yes, how do I do it? Or is there a good alternative to handle this setup?

Thanks in advance for any help!

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: Accepting mail for all local domains?

Postby Valerion » Fri Mar 14, 2008 3:14 am

nvehommes wrote:Hi,

I want to set up our users to have a mail address of the form
john.doe @ our.domain.com
and use this address for incoming and outgoing mail.

Incoming mails are not delivered directly to our server, but to the mailserver of our computer center, which is MX for our.domain.com. After virus checking and spam filtering, the messages are forwarded to our mailserver using an address of the form
john.doe @ mailserver.our.domain.com
These mails, however, are being rejected. The only way I found so far to have our Scalix server accept and deliver those mails is when I explicitly add such an address for each user.

Obviously, I would prefer not to have to define these additional addresses for all users, but instead configure Scalix to accept mails that are addressed to local domains. Both our.domain.com and mailserver.our.domain.com are defined as local domains.

Is it possible to do this? And if yes, how do I do it? Or is there a good alternative to handle this setup?

Thanks in advance for any help!


Scalix accepts emails per address, not per domain. Each incoming address needs to be defined, unless you use sendmail ahead of time to do address rewriting (not that hard if you know how). user@x.domain.com and user@domain.com is seen as completely separate addresses, and the one will never map to the other in Scalix, unless you bind both addresses to the same user.

A well-behaved gateway scanner won't rewrite the addresses in any event, not sure why yours is doing this. Just apply the virus/spam rules, modify the message accordingly, put in your own server's headers and forward the resulting message on with headers intact.

What I have done before in sendmail quite a few times is to set up a gateway machine to handle all emails, don't put an entry in the local-host-names file (so any addresses for the domain is not seen as local) and add an entry in the mailertable for the server the domain needs to be forwarded to. How to do this varies between servers, of course.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron