Re: [exim] interface option in remote_smtp doesn't work

Page principale
Supprimer ce message
Répondre à ce message
Auteur: manwe
Date:  
À: exim-users
Sujet: Re: [exim] interface option in remote_smtp doesn't work
Hello, thanks for answer.

=====================>8========
Date: Thu, 21 Dec 2006 12:34:56 +0000
From: "Peter Bowyer" <peter@???>

> So the far end is seeing your connection from .122. Have you got any
> NATing or other cleverness going on which might be interfering? I ask
> this because when I try a telnet session to port 25 on your .124 host,
> something other than Exim answers. Or if it is Exim, your clever
> banner reconfiguration is fooling me, and will also fool anything
> which might want to use ESMTP.


=======8<======================

    I have cheap ADSL connection with /28 subnet. First IP (.121)
    belongs to modem. No unusual combinations. Behind IP .122
    there is whole local network (NAT), that's why I'm moving
    Exim to the second IP (.124). 


    About port 25 - you can't access it on IP .122 (DROPed on
    firewall), only on .124. And it is Exim, I've only changed:


smtp_banner = $primary_hostname Microsoft Mail Shitty Server 6.6.6 $tod_full

    Well... maybe it isn't smart ;)


    Now I'm thinking about two rules in firewall:
    -A INPUT -m state --state ESTABLISHED -j ACCEPT
    -A INPUT -m state --state RELATED -j ACCEPT
    maybe because of this connection somehow is switching to IP .122.


    Few lines of configuration:


# ip ro li
80.53.26.120/29 dev eth0 proto kernel scope link src 80.53.26.124
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
127.0.0.0/8 dev lo scope link
default via 80.53.26.121 dev eth0

# ip a show eth0
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb qlen 1000
    link/ether 00:b0:d0:73:d5:94 brd ff:ff:ff:ff:ff:ff
    inet 80.53.26.122/29 scope global eth0
    inet 80.53.26.124/29 scope global eth0


-- 
Greets, Michal 'manwe' Z.                       /\/\
GCS d- s+: a-- C++ UL++ P+ L+++$  E--- W+++$  =(~.~=)
N- o K w++ O- !M-- !V PS PE Y+ PGP t+@ 5         |  \
X++ R !tv b++ Dl D+ G+ e>+++ h*>+ r++ z*>**      (__)_)


----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e