Outgoing Mail Question

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

RogerMaynard

Outgoing Mail Question

Postby RogerMaynard » Fri May 26, 2006 5:59 am

I am new to Linux and new to Scalix having decided I have had enough of Microsoft Exchange Server

We are on a dial-up broadband (ie NOT a fixed IP) as a result of this SOME domains reject our mail out of hand.

Is there a way of changing the way mail to certain domains can be delivered via a different SMTP server?

With exchange it is a matter of creating a different Outgoing Connector and setting the scope (or domain list) .

Is there any way of achieving this as I would like the majority of my mail to be delivered directly via DNS rather than via my ISP outgoing mail server.

I realise that having a fixed IP will sort this out and I will probably do this, but in the meantime is there a way to overcome the problem

Many thanks in advance for any assistance

Roger

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

Postby Valerion » Fri May 26, 2006 6:11 am

You can achieve this with the mailertable in sendmail.

Code: Select all

cd /etc/mail
vi mailertable
make
service sendmail restart


The format of the file is as follows:

Code: Select all

domain.com<TAB>esmtp:dest.host.domain.com


or

Code: Select all

domain.com<TAB>esmtp:[dest.host.domain.com]


The first method will do a MX lookup first, while the second will not.

RogerMaynard

Postby RogerMaynard » Fri May 26, 2006 6:29 am

Many thanks for that response...

I take it that sendmail reads down the list and anything NOT specified with take the "default" ie Direct Delivery?

Rgrds

Roger
Somerset UK

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

Postby Valerion » Fri May 26, 2006 6:32 am

For anything not specified in the mailertable it uses the DS parameter from sendmail.cf. If that is empty, it delivers directly, otherwise mail gets sent to the server specified.

Code: Select all

DSsmtp.your-isp.com

RogerMaynard

Postby RogerMaynard » Fri May 26, 2006 7:19 am

Hit the next problem! My outgoing SMTP on my ISP needs Authentication!!

Another thread search :-/

Thanks again for previous help..

Roger


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests