OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED]Upgraded to 18.1 SMTP outgoing no longer works
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED]Upgraded to 18.1 SMTP outgoing no longer works  (Read 3674 times)

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
[SOLVED]Upgraded to 18.1 SMTP outgoing no longer works
« on: April 18, 2018, 03:16:02 pm »
We are running 17.1, but are trying to upgrade to 18.1.
However on the new firewall, when we install it and restore the config from 17.7, our internal Exchange server cannot connect outbound to other SMTP connections.
What has changed that might cause this?
I have tried telnet to an external mail server on port 25, and that fails to connect as well.
incoming mail, web and  SIP connections etc, all seem fine.
« Last Edit: April 24, 2018, 05:11:10 pm by wyliecoyoteuk »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #1 on: April 18, 2018, 03:17:44 pm »
18.1. or 18.1.6? Perhaps you have some NAT rules, there might be a reverted change in 18.1.6 fixing this ...
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #2 on: April 18, 2018, 03:39:30 pm »
18.1
Thanks for the quick reply, I will download that now :)
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #3 on: April 18, 2018, 03:50:52 pm »
There only seem to be 18.1 images available, will they be the 18.1.6 release now?
Our install shows as 18.1
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #4 on: April 18, 2018, 04:05:11 pm »
Sorry realised i need to install and then update
Logged

ScottSenffner

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #5 on: April 23, 2018, 02:45:49 pm »
did the upgrade help? I am on 18.1.6 and I can't get it the SMTP to work.
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #6 on: April 23, 2018, 05:35:41 pm »
Will be trying it later, our backup box is still on 17.6
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #7 on: April 23, 2018, 06:28:49 pm »
no difference :(
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #8 on: April 24, 2018, 02:47:06 pm »
So, 17 works, but 18.1 fails, yet both systems have exactly the same settings.
Is this a problem with NAT?
Any hints would be welcome.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #9 on: April 24, 2018, 04:27:53 pm »
Go to CLI and do a tcpdump:

tcpdump -n -i <internal-physical-nic> host your-exchange-ip

See if packets arrive firewall.

If yes:

clog /var/log/filter.log | grep your-exchange-ip

See if you have drops

If no:

tcpdump -n -i <external-physical-nic> port 25

And check if you see outgoing packet when doing a telnet.
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #10 on: April 24, 2018, 04:39:05 pm »
Thanks, I'll look at that.
Logged

wyliecoyoteuk

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
[SOLVED]Re: Upgraded to 18.1 SMTP outgoing no longer works
« Reply #11 on: April 24, 2018, 05:10:43 pm »
We found that all SMTP traffic (outbound and inbound) was being directed to our mailserver.
Disabled NAT reflection for the SMTP PF rule, and it started working.
Don't know why 17.7 worked with NAT reflection enabled globally and 18.1 doesn't.
Thanks again.
« Last Edit: April 24, 2018, 05:21:06 pm by wyliecoyoteuk »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED]Upgraded to 18.1 SMTP outgoing no longer works
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2