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

Hilfe!!!! SMTP Problem... ich dreh langsam durch..

Hallo es ist 3 Uhr morgens, ich sitze schon seit 2 Tagen dran und ich schaffe es einfach nicht, meine Lösung dafür zu finden.. Eigentlich ganz simpel..

Ich hab einen Mail Server, er ist eingetragen mit einer internen IP.
Mailserver: 192.168.10.22

Als Gateway hat er die IP der ASG! Die ASG hat wiederum einen UPLINK nach drausen. ASG WAN IP  (BSP. 65.112.33.60)

Mittels SNAT sage ich der ASG, das der Traffic der smtp Pakete (Mails) über die externe IP Adresse verschicken soll (BSP. 65.112.33.37) weil das der MX Eintrag für denn Mailserver ist und die Domain darauf zeigt. 


Habe Mail Security an, emails werden auch wunderbar weiter geleitet und schön gescannt. 

Nur jetzt geht es mir darum, wenn meine Kunden sagen wir mal, von Zuhaus aus über Outlook Emails verschicken wollen, dann geben Sie ja die domain (BSP mailserver**.de zeigt auf 65.112.33.37 ) als smtp + imap host an.

Jetzt will sich Outlook an melden. Emails ruft er auch ab, da ich eine DNAT gesetzt habe auf imap und pop die natürlich auf 65.112.33.37 zeigen und an 192.168.10.22 weiter geleitet werden.

Nur jetzt ist mein Problem, das die smtp Authenfizierung von der ASG kommt. Natürlich kommt dann ja eine Fehlermeldung. Weil das ja nicht die Authenfizierung vom Mail Server ist sondern von der ASG.

Nur wie schaffe ich das oder besser gesagt ist es möglich das die Kunden trotzdem sich irgendwie am Mail Server anmelden können ohne das ich einen DNAT auf smtp setzen muss der dann auf denn Mail Server zeigt? Setze ich denn DNAT dann funktioniert das scannen der Mails nicht mehr [[:(]]

Bitte Bitte ich brauch Hilfe, ich kann gar nicht meh schlafen.. [[:(]] lg an euch da draussen


This thread was automatically locked due to age.
Parents
  • Normally, where, for example, the highest-priority MX record is mail.domain.com -> 65.112.33.37, we assign 65.112.33.37 as the IP of "External (Address)" and mail.domain.com as the hostname of the Astaro.

    - Ok. i have make it.

    In your case, since emails sent to your domain go to 65.112.33.37, you need to use the other IP: 'Internet -> SMTP -> External (Address) : DNAT to {192.168.10.22}'. This will connect your external users directly to your server; you should delete all of your entiries in 'Authenticated realay' and make sure the SMTP Proxy is not in 'Transparent mode'.

    - Ok this is my Problem.. when i use googlemail.com and send a Email to the Email User Example: info@domain.com -> MX 65.112.33.37 mail.domain.com

    I dont see the incoming googlemail in the Mail Manager?? And the Email dont scanned from the ASG!

    I have no Spam & Virus Protect.. 

    Since you changed "External (Address)" to 65.112.33.37, you have to use the other address for the NAT rule:

    Internet -> SMTP -> External [{Additional}] (Address) : DNAT to {192.168.10.22}

    In this way, SMTP to  65.112.33.37 goes through the Astaro SMTP Proxy, and SMTP to 65.112.33.60 does not go through the proxy.

    A basic rule in Astaro is: DNATs first, then proxies, and then finally, manual packet filter rules and static routes.  That's why your DNAT captured the mails and sent them to the mail server before the Proxy could see them.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Okay i have test it.. i mean its go.. i can see the user come in and the asg scan this and rule to the mail server lokal ip [:)]

    I can see under the Mail Manager "SMTP LOG" the incoming emails.. but when a Outlook User Client send a email over the smtp i dont can see it? is this normal? I mean the outgoing email dont scan the ASG is this normal in my situation?
Reply
  • Okay i have test it.. i mean its go.. i can see the user come in and the asg scan this and rule to the mail server lokal ip [:)]

    I can see under the Mail Manager "SMTP LOG" the incoming emails.. but when a Outlook User Client send a email over the smtp i dont can see it? is this normal? I mean the outgoing email dont scan the ASG is this normal in my situation?
Children
No Data