[exim] interface option in remote_smtp doesn't work

Top Page
Delete this message
Reply to this message
Author: manwe
Date:  
To: exim-users
Subject: [exim] interface option in remote_smtp doesn't work
Hello.

    I didn't find any solution to this problem. Option 'interface'
    doesn't work as it should. 


    I have two eth - 0 and 1, eth1 is for LAN (192.168.1.1),
    eth0 has two public IPs (.122 and .124). Exim (4.62) is listening
    on 0.0.0.0, but ports are opened only for 192.168.1.1 and .124
    (and 127.0.0.1 of course). 


    All I want is to force exim to send mails from .124. Right now .122
    is used (it's IP for NAT and can be found sometimes at spamlists).
    In SPF I have only .124, so most of mails from .122 are just rejected.


    Part of exim.conf:
    remote_smtp:
      driver = smtp
      interface = 80.53.26.124


    As you can see, correct transport is used. Only IP is wrong.
    # exim -bt
    > user@???
    user@???
      router = dnslookup, transport = remote_smtp
      host e.mx.mail.yahoo.com [216.39.53.1]     MX=1
      host g.mx.mail.yahoo.com [209.191.88.239]  MX=1
      host g.mx.mail.yahoo.com [206.190.53.191]  MX=1


-- 
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