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 setup gone wrong... HELP!

Okay, now I did something very wrong. But I do not get it.

On my user-account-page at my provider I added some DNS records so that everything should be running as well. (A) and (MX) records changed a bit for a new IP and a new Exchange server at home. 

On my router at home I have created a rule that incoming mail would be routed from port 25 to the IP adres of the mail-server at the Internal Network behind the Astaro FireWall. 

I have set up the SMTP setting on the Astaro like I think it should. 
Simple Mode and the settings like next screen.
The rest of the SMPT part is plain basic settings.



I did not add an extra NAT-Masquering rule.
I did created a Full NAT rule as seen in next screen.



But now comes the part that I don't understand.
After e while the Astaro Mail manager got filled up with mail from the bSMTP server at my provider. So I know that mail is comming inbound. Then nothing went on. 
Astaro was pending all mail as SPF and RBL errors which after a period of time where reset to Deliverd.
But not any of my mails where put through to the Exchange server. I do not recieve any mails into my Outlook account.
And now I stil have mails pending in the SMTP Spool Wating to be deliverd while the SMTP Log mentioned many mails to be deiliverd. 
See next screens.



What worries me the most is that mails coming coming from my new WAN IP are being deliverd at the same WAN IP. And when I look into the SMTP Proxy Logs I see very disturbing things.



  • 2011:03:07-12:03:01 VUURMUUR exim[6352]: 2011-03-07 12:03:01 1Pvvj3-0006m9-BV == ***@*****.nl R=static_route_bydns T=static_smtp defer (-53): retry time not reached for any host 
  • 2011:03:07-12:03:01 VUURMUUR exim[6354]: 2011-03-07 12:03:01 1Pvvkh-0008NH-Hu == ***@*****.nl R=static_route_bydns T=static_smtp defer (-53): retry time not reached for any host 
  • 2011:03:05-16:31:58 **** exim[27934]:5-3-2011 16:31:58 H=bsmtp***** [194.x.y.z]:4792 F= rejected RCPT :194.x.y.z  is not allowed to send mail from
  • 2011:03:05-16:39:00 *** exim[29520]:5-3-2011 16:39:00 1PvtYA-0007S6-F8 == ***@****.nl  routing defer (-51):retry time not reached
  • [82.x.y.z]:42311 refused: too many connections from that IP address


What Am I doing wrong? 
What should I change in the Setup? 
What should be changed in Exchange?
For as I can see, outgoing mail from the Internal Network going to Hotmail.com emails is running fine.


This thread was automatically locked due to age.
  • [:S] Are my questions to difficult to answer? [:S]


    I have read many topics on this forum and come across many answer, but none of the found sollutions could help me solve the problems.

    A mailserver not running behind Astaro got mail almost directly from the ISP. 

    I tried almost everything:
    DNAT
    SNAT
    Full NAT
    Added Upstream hosts/networks
    Changed the SMTP Hostname of the Astaro
    Added new rules to the packet filter

    Results: Not even a spark of mail entering

    Even mails that Astaro did recieve (last weekend with very wrong setup!)are lost somewhere between the firewall and internal mailserver!!! Astaro managed to destroy about 100 emails!!! So I am not so happy about the mail-security of Astaro.
  • I'm not sure that Astaro is personally picking on you and destroying your emails; it's likely a configuration issue.

    1) Could you please try disabling or deleting the Full/S-/D-NAT rules that you had created. 

    2) Under the Mail Security - SMTP - Routing screen, try using the 'Route by: Static Host List' option, and make sure you have the correct 'Static Host' pre-defined host (your Exchange mail server on your internal network).

    3) Verify that your ISP isn't blocking port 25 inbound - try remotely connecting to your home network with telnet on port 25.

    Please let me know if this helps.
  • Has been a while ago. Some unpleasend things did happen and I was not capable to reply.

    But I found out that I did stupid things and am now convinced that I can say: "USER ERROR!" 
    I have tested and checked many things and found out that:
    - my exchange server was nog fully configured for pulling mail from the bSMTP server
    - my router was configerd with port forwarding smtp 25 to IP adress of the mailserver and not poiting to the external IP of the Astaro.

    After changing this I can now recieve mail and bounce spam.