Relay a Secondary domain to another server?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Flish
Posts: 45
Joined: Sat Mar 18, 2006 11:18 am
Location: UK - North East, Teesside
Contact:

Relay a Secondary domain to another server?

Postby Flish » Wed Mar 22, 2006 6:52 am

Looked for this, and thought it would be in smtpd.cfg but can't see from examples.

Basically, we have a fax server that will integrate with an SMTP server to allow emails to be sent/received over email. The way it does this is to use a dummy domain to which you address your 'emails' to that then get forwarded into the fax server, ie 448450037319@fax would get passed through.

So, what I need to do is allow Scalix to accept mail addressed to @fax (easy, done) and then relay / forward / somehow to another box on my lan. Can't see how though.

Only Stop gap, which I haven't tried, and appreciate heads up on whether it will work, is to take @fax domain out of sca, but put a relay line in smtpd.cfg so mail to @fax is allowed, and then create a dummy MX record on the internal DNS server to point it back at the fax box. Am sure there's a million flaws in that idea so a better method welcomed please!

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Wed Mar 22, 2006 7:13 am

You shouldn't need to add anything to the smtpd.cfg config file, any more than you have to to allow sending to any other external domain.

It should be enough to simply set up an MX record for the "fax" top-level domain. The trouble with that though is that various bits and pieces of software are going to see "fax" and think its an unqualified name and stick the local domain on the end. I'd be inclined to simply include a line in your DNS config like this:

Code: Select all

fax.scalix.com.      IN MX 0 fax-machine.scalix.com.

Change as needed for your local DNS set up.

I'm pretty sure that that's all you need to do.

jch

Flish
Posts: 45
Joined: Sat Mar 18, 2006 11:18 am
Location: UK - North East, Teesside
Contact:

Postby Flish » Wed Mar 22, 2006 8:29 am

You're probably right, after the week I've had suspect I'm overcomplicating things. Will give it a go, once I've re-installed my XP box whichappears to have comitted suicide :-(


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests

cron