Link to home
Start Free TrialLog in
Avatar of mvicidomini
mvicidomini

asked on

Exchange QMail relay

Hello,

I expose my problem :

We have an Exchange 2003 server in which all the mailbox for all the company, france and european offices, are set up.
We would like to take out the "out of france" mailbox to a qmail server.

I have correctly managed to setup the relay between Exchange to Qmail. But when i try to send and email from a qmail account to a mailbox that is on the exchange server, as qmail does not know the user it returns me an error :


Hi. This is the qmail-send program at ns380761.ovh.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

I also configured my outlook to use a different smtp server, and it works , the problem is that i do not have any records of the sent mail.

Could someone help me please ?
Avatar of Barry Gill
Barry Gill
Flag of United Kingdom of Great Britain and Northern Ireland image

In postfix you would use a "fallback transport"
unfortunately I do not know how to do this for qmail specifically... but that might give you a heads up in the right direction...
Avatar of mvicidomini
mvicidomini

ASKER

Thanks , i have tried to find it but without success.

ok, then a more laborius method is to create user lists.

Here, you will create a group of known recipients witha  transport rule to get to them.

The problem with this is that you are going to have to manage users in two locations...

What you want to do is easy on Postfix and requires a simple parameter, are you stuck on using Qmail or could you move to Postfix?
The thing is that qmail is the MTA that is provided by default by OVH when you use a dedicated server with plesk.

So , if i undertand the only way to manage this king of architecture is to have a user liste on the qmail server.
Or to broke plesk and to use postfix.



no - thats not the only way - thats just the only way I know how to help.
Delete this question and repost it as catagory plesk and qmail so that you attract the right skills to help.

ok thanks a lot for your help
I have installed Ubuntu 10.04 with postfix , could you please tell me what in the configuration of my main.conf to relay exchange messages.
ASKER CERTIFIED SOLUTION
Avatar of Barry Gill
Barry Gill
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Seems to work. The only thing is that my smtp gateway refused the connection:


 status=deferred (connect to 88.247.77.213[88.247.77.213]:25: Connection refused)
Sorry but i'm a beginner with postfix how can i :
VERY important to note is that you MUST set your local_recipients_maps parameter to blank so that Pstfix does not always verify against the local recipient maps.

in the main.cf file there is a section called "local_recipient_maps"
tehre are usually three options there, the default (uncommented) is:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps

Open in new window


you simply need to comment (#) it out and uncomment the line that says
local_recipient_maps =

Open in new window

sorry just in answer to this:
 status=deferred (connect to 88.247.77.213[88.247.77.213]:25: Connection refused)

the is probably because your relay settings/trusted network settings are incorrect.
change your mynetworks parameter to something relevant.

This site makes it quite easy to follow :)
http://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/STANDARD_CONFIGURATION_README_003.html