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

split mailforwarding

I´m facing a little "trouble" on replacing my sendmail functionality with ASL.

I´d like to use the SMTP proxy but NEED only to forward emails to some domains - all the other have to be sent directly.

Since I can only define one forwarder with WebAdmin maybe there is another way to do this "hardcoded"?

techno.kid


This thread was automatically locked due to age.
  • techno.kid,

    maybe I am missing something 

     
    Since I can only define one forwarder with WebAdmin   
    As far as I understand you want to route some domains
    to the responsible e-mail server and the rest to the
    world by DNS, am I right!
    In this case you would have to specify the domains 
    and to define the responsible smtp servers. Next is
    to tell the smtp proxy to which server you want to to route
    the given domain! The other domains will be automatically
    delivered by DNS!

    read you
    o|iver
  • Hi Oliver,

    you are quite right BUT: I want this kind of functionality for OUTGOING emails and not for incoming.

    So I assumed that "Use smarthost" is what I need - but when using smarthost ALL email, resp. smtp traffic is routed to this only one.

    After reading your lines I figured out that also the "Incoming Mail" functionality could meet my needs since it also works for outgoint smtp as well.

    BUT, yes "but" ;-) when using this way, ASL will not only RELAY my inside-outside SMTP traffic but also outside-inside traffic for the specified domains - so I have a open mail-relay for the domains specified.

    I could handle this if ASL would let me reject incoming smtp traffic from the outside by a simple packetfilter rule - again "BUT": this rule has no effect :-(

    [S: Any] [D: tdsl-Interface] [P: 25] [Drop]

    This rule has no effect at all...

    Is there any other way?

    techno.kid