This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP - Proxy Mail Forwarding

Hi, 

how can i configure the smtp-proxy to forward mails
to a LAN-Mailserver which answers not on port 25 ?

For example:
ASL takes the incoming mail from the internet, checks it for various things and then forwards it to the LAN-Mailserver Port 4711. 
Do i have to configure a Nat Rule ? i think no.
I think there is a entry in a config file.
But which ?

Thank you
Greetings
Tom
F  


This thread was automatically locked due to age.
Parents
  • You could add that option to the config-file. But I guess all the outgoing email will be sent on another port too.
    Why you do not make a simple DNAT?

    Source address: Your-Internal_Interface__
    Destination address: Your-Mailserver
    Service: smtp
    Change source to: No Change
    Change destination to: Your-Mailserver    Service destination: Port 4711

    Xeno  
  • if i configure this nat-rule is the smtp-proxy of ASL still working or
    is it bypassed and all mails will be forwarded directly to the internal mail-server ?

    Tom  
  • The DNAT rule will redirect traffic from the internal interface only. This is traffic that is generated by a local process - the smtp-proxy-process. So you will not bypass anything.

    Xeno  
Reply Children
  • Hi Xeno,

    after rereading your first posting, i know what you mean.
    First i thought you DNat the extern-traffic.
    So i have to read slooooooowly [;)]
    Now its clear that i dnat the local firewall-smtp-traffic to my internal mailserver

    Thank you, i will try this.
    Greetings 
    Tom