Link to home
Start Free TrialLog in
Avatar of kishkool77
kishkool77

asked on

Exim through exchange

Hi,

i've got an exchange server for my company and i have a linux server (debian) that i'm using in order to do some mailing list.

Currently exim is set up to send directly to internet but i want to pass by my exchange server for more security (with authentification).

Can you help me to configure this?

Thanks
Avatar of elevationkevin
elevationkevin
Flag of United States of America image

Postfix? ModusMail by Vircom for Windows?  Sound right? if you are running mail yourself. It's a bit of work to setup but a joy to use once it's working. For hosted email, going with Google Apps works just fine.
Avatar of kishkool77
kishkool77

ASKER

Well i think i'm near the solution.

elevationkevin, i've set up exim like in your post but i've got this error :

 R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<xxxx@gmail.com>: host 192.168.0.103 [192.168.0.103]: 550 5.7.1 Unable to relay for xxx@gmail.com

I put my user exchange password in the file : passwd.client

xxx@mydomain.fr:xxx:yyy

And this is the content of my file : update-exim4.conf.conf

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='mydomain.fr'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='192.168.0.103'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
I use exim not sendmail but thanks..

Well, i can send mail to toto@mydomain.local with this configuration but not to the outside...
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
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
Thanks for your help.

My mailing list is short (100-200 by month) but i understand that it's a problem to go through exchange.

Thanks.

Btw i success to do it before seeing this answer.

Solution :

Put exchange IP on smarthost (exim conf) THEN allow exim server IP to relay on exchange relay authorisation.