[Pkg-exim4-users] socket bind failed
David Liontooth
liontooth at cogweb.net
Tue May 8 09:29:03 UTC 2007
Relaying mail from 192.168.0.5 on a private network to 192.168.0.178
works fine if I set
dc_local_interfaces=''
In debug I see
Connecting to 192.168.0.178 [192.168.0.178]:25 ... connected
In mainlog on 192.168.0.178 I see this,
.... [192.168.0.5] P=esmtp S=697 id= ....
Confirming this is the correct IP address.
When I restrict relaying,
dc_local_interfaces='192.168.0.5'
In debug on 192.168.0.5 I see this
Connecting to 192.168.0.178 [192.168.0.178]:25 ... failed:
Connection refused
In mainlog on 192.168.0.178 I get this:
2007-05-08 01:28:29 socket bind() to port 25 for address 192.168.0.5
failed: Cannot assign requested address
What am I doing wrong?
Dave
Configuration on 192.168.0.178:
# This is a Debian specific file
dc_eximconfig_configtype='internet'
dc_other_hostnames=''
dc_local_interfaces='192.168.0.5'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/24'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
On 192.168.0.5:
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='192.168.0.178'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
Version:
exim4 4.67-1
Debian sid amd64
More information about the Pkg-exim4-users
mailing list