[Klug-general] Need some help with Ubuntu email server

John Reid john at johnreid.it
Wed May 24 08:56:28 UTC 2017


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:

These are the logs for the tests I just ran (again):
May 24 08:42:00 server postfix/qmgr[36803]: 8D52A44B254:
from=<root at server.fishheads.club>, size=359, nrcpt=1 (queue active)
May 24 08:42:00 server postfix/error[30768]: 8D52A44B254: to=<
john at johnreid.it>, 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)
May 24 08:42:40 server postfix/pickup[30798]: DFC4944B257: uid=0 from=<root>
May 24 08:42:40 server postfix/cleanup[30765]: DFC4944B257:
message-id=<20170524084240.DFC4944B257 at server.fishheads.club>
May 24 08:42:40 server postfix/qmgr[36803]: DFC4944B257:
from=<root at server.fishheads.club>, size=312, nrcpt=1 (queue active)
May 24 08:42:40 server postfix/error[30768]: DFC4944B257: to=<
john at johnreid.it>, 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)

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?

Argh!

On 24 May 2017 at 09:33, John Reid <john at johnreid.it> wrote:

> Thanks guys,
>
> I'm going to try and pull some useful log data.
>
> Just before I do that:
> Using the php command does not send the email
> Using sendmail on the command line is successful.
>
> Back soon!
> John
>
> On 24 May 2017 at 09:25, Keith Coles <keith.coles at gmail.com> wrote:
>
>> Have you checked the mail log file, usually /var/log/maillog, to see
>> messages are being queued?
>>
>> Are you able to send mail from the command line?
>>
>> Regards
>>
>> Keith
>>
>> On 24 May 2017 at 09:15, John Reid via Kent <kent at mailman.lug.org.uk>
>> wrote:
>>
>>> Hi chaps,
>>>
>>> I've been banging my head against a wall here. I have an Ubuntu server
>>> running ISPConfig 3.
>>>
>>> Everything *seems* fine, but I've just discovered that emails being
>>> sent from PHP are not beling delivered.
>>>
>>> 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.
>>>
>>> I've checked the IP tables and that seems to be clear.
>>>
>>> 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.
>>>
>>> Thanks all,
>>> John
>>>
>>> --
>>> Kent mailing list
>>> Kent at mailman.lug.org.uk
>>> https://mailman.lug.org.uk/mailman/listinfo/kent
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20170524/0c954a0c/attachment.html>


More information about the Kent mailing list