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
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
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.
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.10 3'
CFILEMODE='644'
dc_use_split_config='false '
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spo ol'
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='
dc_other_hostnames=''
dc_local_interfaces='127.0
dc_readhost='mydomain.fr'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='192.168.0.10
CFILEMODE='644'
dc_use_split_config='false
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spo
Here is the code that'll help you set up the configuration
http://www.linuxquestions.org/questions/linux-newbie-8/using-sendmail-to-relay-all-mail-to-my-exchange-server-194195/
Regards,
Exchange_Geek
http://www.linuxquestions.org/questions/linux-newbie-8/using-sendmail-to-relay-all-mail-to-my-exchange-server-194195/
Regards,
Exchange_Geek
ASKER
I use exim not sendmail but thanks..
Well, i can send mail to toto@mydomain.local with this configuration but not to the outside...
Well, i can send mail to toto@mydomain.local with this configuration but not to the outside...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
http://askubuntu.com/questions/167043/how-do-i-configure-exim4-to-send-mail-through-a-password-protected-ssh-smtp-mail