• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Postfix relay timout after data

pfSense Packages
2
4
3.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    debremarkos
    last edited by May 27, 2013, 7:33 AM

    Dear All,

    I am using the postfix relay package, and it's really good.

    I just have one issue, some emails are shown as incoming in the QUEUE and never get delivered or take 2 or three days to get delivered.  When I looked though the maillog and did a egrep on the message id I see TIMEOUT after data errors.

    I googled this and saw people had mtu issues and Do not fragment issues, so I changed the system->advanced Clear invalid DF bits instead of dropping the packets to enabled, and changed the firewall optimization to conservative.

    My MTU is 1500 and the server is in a data center and not behind any kind of adsl line.

    I have an exchange 2010 server that received the  emails fine before i put in the the postfix forwarder.

    Any help on this issue would be greatly appreciated as I am a bit stumped and people are starting to ask me where there emails are.

    I have disabled zombie blocker and use basic http header checking and use these rbl's b.barracudacentral.org,bl.spamcop.net,dnsbl.sorbs.net

    Anvil is enabled and all the postscreen after greet tests are enabled.

    my greet time wait is 2,6s

    1 Reply Last reply Reply Quote 0
    • D
      debremarkos
      last edited by May 28, 2013, 7:13 PM

      I think I figured it out, localhost was not enabled on the postfix interface, I only enabled wan and then when I selected wan and localhost these emails started to come though

      1 Reply Last reply Reply Quote 0
      • D
        debremarkos
        last edited by May 30, 2013, 8:36 AM

        I was wrong it was not the localhost thing. My pfsense is behind a cisco asa device and the no fixup smtp protocol 25 command was applied. This actually made things a lot worse. When the command fixup protocol smtp 25 was applied all mail servers could deliver to the postfix service fine and the postfix service could deliver mails to other smtp servers fine.

        I know there is a bug in cisco with this command but postfix seems to be very intelligent about getting around it.

        1 Reply Last reply Reply Quote 0
        • O
          Olvikolvi
          last edited by Aug 19, 2013, 6:44 PM

          Same problem here. We have web server in local network (10.x.x.x) and it uses NAT to get access to internet. Problem is that sending data takes over 180sec and its timed out when it goes thrue pfsense. If I change postfix relayhost to 10.x.x.x network (it does not go thrue pfsense) it works just fine.

          Client mail log:
          Aug 19 21:22:55 nginx postfix/smtp[27134]: ABCDEFHTEOT: to=someone@somewhere.com, relay=mail.server.com[xx.xx.xx.xx]:25, delay=37971, delays=37791/0.01/0.07/180, dsn=4.4.2, status=deferred (conversation with mail.server.com[xx.xx.xx.xx] timed out while sending message body)

          Mail Server log:
          Aug 19 21:22:55 mail postfix/smtpd[9514]: timeout after DATA (66017 bytes) from unknown[10.x.x.x]
          Aug 19 21:22:55 mail postfix/smtpd[9514]: disconnect from unknown[10.x.x.x]/someone@somewhere.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.