title: php sendmail doesn't work after I changed the router
body: <p>I'm running a web server that uses PHP sendmail function, which is directly connected to a router and after I replaced my old router to a new router it doesn't work anymore.</p>
  
  <p>Old router - Cisco RV082 - regular firmware
  New router - Netgear R7000 - DD-WRT v3.0-r30700M kongac</p>
  
  <p>I tried with all ports open and firewalls off but still didn't work.
  Please help.</p>
  
  <p>Here is the part of the log.
  Oct 11 is the working one and Oct 13 is not.</p>
  
  <p>/var/log/mail.log</p>
  
  <pre><code>Oct 11 13:58:08 localhost sm-mta[3613]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
  Oct 11 13:58:08 localhost sm-mta[3613]: u9BKw7pL003611: to=&lt;joe@ctclogis.com&gt;, ctladdr=&lt;www-data@localhost.localdomain&gt; (33/33), delay=00:00:01, xdelay=00:00:01, maile$
  Oct 11 13:58:09 localhost sm-mta[3613]: u9BKw7pL003611: to=&lt;export@ypusa21.com&gt;, ctladdr=&lt;www-data@localhost.localdomain&gt; (33/33), delay=00:00:02, xdelay=00:00:02, mai$
  Oct 11 13:58:09 localhost sm-mta[3613]: STARTTLS=client, relay=alt1.aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128$
  Oct 11 13:58:10 localhost sm-mta[3613]: u9BKw7pL003611: to=&lt;joe@ctclogis.com&gt;, ctladdr=&lt;www-data@localhost.localdomain&gt; (33/33), delay=00:00:03, xdelay=00:00:03, maile$
  
  Oct 13 19:20:26 localhost sm-mta[6369]: u9E2KQ20006369: from=&lt;&gt;, size=2122, class=0, nrcpts=1, msgid=&lt;201610140220.u9E2K13e006368@localhost.localdomain&gt;, proto=ESMTP, $
  Oct 13 19:20:26 localhost sm-msp-queue[6368]: u9E2K13e006368: to=www-data, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31509, relay=[127.0.0.1] [127.0.0.1], dsn$
  Oct 13 19:20:26 localhost sm-mta[6370]: u9E2KQ20006369: to=&lt;www-data@localhost.localdomain&gt;, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32350, dsn=2.0.0, stat=$
  Oct 13 19:20:26 localhost sm-msp-queue[6368]: u9DM8URU004818: u9E2K13f006368: sender notify: Warning: could not send message for past 4 hours
  </code></pre>