<div dir="ltr">Okay, actually worse than I thought. I had one of my shells logged into a server I'm trying to migrate from instead of the current one. The sendmail command isn't work and the messages are indeed being queued:<div><br></div><div>These are the logs for the tests I just ran (again):</div><div><div>May 24 08:42:00 server postfix/qmgr[36803]: 8D52A44B254: from=<root@server.fishheads.club>, size=359, nrcpt=1 (queue active)</div><div>May 24 08:42:00 server postfix/error[30768]: 8D52A44B254: to=<<a href="mailto:john@johnreid.it">john@johnreid.it</a>>, relay=none, delay=0.05, delays=0.03/0/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)</div><div>May 24 08:42:40 server postfix/pickup[30798]: DFC4944B257: uid=0 from=<root></div><div>May 24 08:42:40 server postfix/cleanup[30765]: DFC4944B257: message-id=<20170524084240.DFC4944B257@server.fishheads.club></div><div>May 24 08:42:40 server postfix/qmgr[36803]: DFC4944B257: from=<root@server.fishheads.club>, size=312, nrcpt=1 (queue active)</div><div>May 24 08:42:40 server postfix/error[30768]: DFC4944B257: to=<<a href="mailto:john@johnreid.it">john@johnreid.it</a>>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)</div></div><div><br></div><div>I'm going to go through the configs and see if I find anything obvious. Am I reading this correctly that localhost isn't connecting?</div><div><br></div><div>Argh!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 May 2017 at 09:33, John Reid <span dir="ltr"><<a href="mailto:john@johnreid.it" target="_blank">john@johnreid.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks guys,<div><br></div><div>I'm going to try and pull some useful log data.</div><div><br></div><div>Just before I do that:</div><div>Using the php command does not send the email</div><div>Using sendmail on the command line is successful.</div><div><br></div><div>Back soon!</div><span class="HOEnZb"><font color="#888888"><div>John</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 24 May 2017 at 09:25, Keith Coles <span dir="ltr"><<a href="mailto:keith.coles@gmail.com" target="_blank">keith.coles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Have you checked the mail log file, usually /var/log/maillog, to see messages are being queued?<div><br></div><div>Are you able to send mail from the command line?</div><div><br></div><div>Regards</div><span class="m_-8618537899470633010HOEnZb"><font color="#888888"><div><br></div><div>Keith</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On 24 May 2017 at 09:15, John Reid via Kent <span dir="ltr"><<a href="mailto:kent@mailman.lug.org.uk" target="_blank">kent@mailman.lug.org.uk</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8618537899470633010h5"><div dir="ltr">Hi chaps,<div><br></div><div>I've been banging my head against a wall here. I have an Ubuntu server running ISPConfig 3.</div><div><br></div><div>Everything <i>seems</i> fine, but I've just discovered that emails being sent from PHP are not beling delivered.</div><div><br></div><div>I've checked the path to sendmail in the PHP config and I I get a "true" result when I use the PHP mail() function.</div><div><br></div><div>I've checked the IP tables and that seems to be clear.</div><div><br></div><div>I'm really lost, does anyone have any ideas? Failing that, if someone here has a bit more know-how than me and is willing to spare some time I'd happily pay. I'm sure it's a relatively simple fix.</div><div><br></div><div>Thanks all,</div><div>John</div></div>
<br></div></div><span>--<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" rel="noreferrer" target="_blank">https://mailman.lug.org.uk/mai<wbr>lman/listinfo/kent</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>