Page 1 of 1

Exim Ipv4/ipv6 Settings

Posted: Mon May 12, 2014 6:11 pm
by ahmiq
Hi ,
I am trying to find how to force exim to use ipv4 to send emails by default to gmail. in earlier releases i could find it in exim.conf but not anymore. Would be of help if i can find that..

Also , for some odd reason , i cannot connect to port 25 with mozilla / outlook. 587 and 2525 works. I checked exim config and is listening of 4 ports.

I am using centos.

Re: Exim Ipv4/ipv6 Settings

Posted: Wed May 14, 2014 9:46 am
by a.zhintyakov
Hi,
in exim conf
disable_ipv6=true
service exim restart
About 25 port - check firewalls.

Re: Exim Ipv4/ipv6 Settings

Posted: Wed May 14, 2014 6:12 pm
by ahmiq
thanks mate. it works. my emails are not not in the spam folder of the gmail

Re: Exim Ipv4/ipv6 Settings

Posted: Sun Jun 08, 2014 4:41 pm
by eddynetweb
I have to ask, I can't find the exim.conf that contains this setting. Where is it located?

Oh, and i'm using Debian.

Re: Exim Ipv4/ipv6 Settings

Posted: Mon Jun 09, 2014 12:44 am
by ivanh
eddynetweb wrote:I have to ask, I can't find the exim.conf that contains this setting. Where is it located?

Oh, and i'm using Debian.
Try in

Code: Select all

/etc/exim4/

Re: Exim Ipv4/ipv6 Settings

Posted: Wed Jun 11, 2014 4:29 am
by eddynetweb
ivanh wrote:
eddynetweb wrote:I have to ask, I can't find the exim.conf that contains this setting. Where is it located?

Oh, and i'm using Debian.
Try in

Code: Select all

/etc/exim4/
I have tried this, but all I find that is closest is "exim.conf.template".

Re: Exim Ipv4/ipv6 Settings

Posted: Fri Jan 16, 2015 3:46 pm
by audrius
edit update-exim4.conf.conf:
add your server IP to dc_smarthost. At the moment it sohuld be empty. then run

Code: Select all

update-exim4.conf
service exim4 restart

if still sends via ipv6, change dc_local_interfaces to be:

Code: Select all

dc_local_interfaces='127.0.0.1'
and restart exim

Code: Select all

update-exim4.conf
service exim4 restart