Page 1 of 2

Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:30 am
by daz1uk
Hi all,

I am currently losing the will to live with this email server. I have resolved several issues.

I have a valid PTR
I have a valid DKIM
All valid ports are open in firewall

And I still can't receive email.

IntoDNS says everything is fine.

Why can't I receive email?

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:35 am
by SS88
Try this: https://www.wormly.com/test_smtp_server

What's the output of the log?

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:38 am
by daz1uk
Hi,

Resolving hostname...
Connecting...
SMTP -> FROM SERVER:
SMTP -> FROM SERVER:
SMTP -> ERROR: EHLO not accepted from server:
SMTP -> FROM SERVER:
SMTP -> ERROR: HELO not accepted from server:
Message sending failed.

Certainly gives me something to work on :) Any ideas why this would be the case please?

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:43 am
by SS88

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:47 am
by daz1uk
Test Result
SMTP Banner Check Reverse DNS does not match SMTP Banner More Info
SMTP TLS Warning - Does not support TLS. More Info
SMTP Transaction Time 15.362 seconds - Not good! on Transaction Time More Info
SMTP Reverse DNS Mismatch OK - 185.120.34.82 resolves to wordpressworcester.co.uk
SMTP Valid Hostname OK - Reverse DNS is a valid Hostname
SMTP Connection Time 0 seconds - Good on Connection time
SMTP Open Relay OK - Not an open relay.

I guess the main issue stated here is that TLS is not supported, but I have checked the exim4 config file and TLS is enabled?

The TLS certificate.crt and certificate.key exist in the stated locations too.

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:51 am
by SS88
I get
Connecting to 185.120.34.82

SendSMTPCommand: Timeout waiting for response after 15 seconds.

PWS3v2 15938ms
Are you sure your e-mail server is working? Try restart it and see if any errors produce. What's in the logs?

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 9:59 am
by daz1uk
Hi,

I found this in the paniclog:

2016-04-23 13:28:24 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned

Also in the main log, this appears to be happening every 5 minutes:
2016-04-26 05:05:01 Warning: purging the environment.
Suggested action: use keep_environment.

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 10:02 am
by SS88
daz1uk wrote:Hi,

I found this in the paniclog:

2016-04-23 13:28:24 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned

Also in the main log, this appears to be happening every 5 minutes:
2016-04-26 05:05:01 Warning: purging the environment.
Suggested action: use keep_environment.
2016-04-26 05:05:01 Warning: purging the environment.
Suggested action: use keep_environment.

Is OK. These are default.


2016-04-23 13:28:24 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned

Is not, it means mail server is not starting.

What's the output of

Code: Select all

netstat -np TCP | find "25"

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 10:04 am
by daz1uk
I ran:

lsof -P|grep ":25" |grep LISTEN

master 614 root 12u IPv4 1913226147 0t0 TCP *:25 (LISTEN)
master 614 root 13u IPv6 1913226148 0t0 TCP *:25 (LISTEN)

Re: Still Can't Receive Email

Posted: Tue Apr 26, 2016 10:04 am
by daz1uk
netstat -np TCP | find "25"
find: `25': No such file or directory