Skip to main content

Route via smarthost - also local domains

Comments

10 comments

  • cPanelLauren
    Standard smarthost configuration should achieve this - did you have an issue with local mail not being routed through?
    0
  • eitanc
    Correct, all email sent from the origin server to email address of the same local email domain or other local email domains - is sent internally inside the same server, never routed via the smarthost. I wish for even this internal traffic to be delivered via the smarthost external IP. How can I do it?
    0
  • cPanelLauren
    @eitanc Can you show me what the transport you added looks like?
    0
  • eitanc
    Can you direct me what is the exact data you ask from and from where should I get it?
    0
  • cPanelLauren
    Correct, all email sent from the origin server to email address of the same local email domain or other local email domains - is sent internally inside the same server, never routed via the smarthost. I wish for even this internal traffic to be delivered via the smarthost external IP. How can I do it?

    Configuration you added in relation to this ^
    0
  • eitanc
    I just added in the WHM web gui the address of the smarthost server, that's it.
    0
  • cPanelLauren
    Ok, so local deliveries are handled entirely differently than regular mail. You would need to create a transport for this similarly to
    0
  • eitanc
    Wow, not clear at all... I will try to figure it out. Thanks.
    0
  • cPanelLauren
    Yea, its a customization. Normally local deliveries aren't needed to go to the smarthost. Since they're entirely local. The exim documentation here: 7. The default configuration file is a great resource as well as the exim users mailing list here: Exim-users There are a ton of other threads on setting up exim transports/routers in the forums as well .
    0
  • eitanc
    Great! Thanks.
    0

Please sign in to leave a comment.