Can send email but can not receive email.

Hi

no one within my setup can receive email but can only send email.
can someone help me out with what i can do to try and sort this out?
Or could someone login to my server to see what is going on for me?

Simon

Howdy,

What happens when sending an email to your server? If you look in the email logs, in either /var/log/mail.log or /var/log/maillog, do you see the email arrive?

If so, do you see any errors, or information about where it’s being delivered?

You may then want to take a look in /var/log/procmail.log to get more information about where exactly the email is going once it arrives at your server.

-Eric

when sending an email to your server I do not see anything in either /var/log/mail.log or /var/log/maillog.

and /var/log/procmail.log is empty.

OK do you now where the Postfix configuration is as I am being told the Postfix configuration is missing the system’s mail hostname ?

found that out and fixed that but it still is has not fixed it.

Simon

Howdy,

Well, if you’re not seeing the email at all in your mail logs, that may indicate that mail isn’t arriving at all at your server.

What you may want to do is start by verifying that port 25, the SMTP port, is available remotely.

One way to do that would be to use another server on the Internet to telnet to port 25 on your IP address.

If that doesn’t work, that may mean that your provider is blocking port 25, or that maybe there’s a firewall or router blocking it. It could also be related to a configuration issue with Postfix, though if that were the case you’d likely see some errors in the email logs.

You can verify that Postfix is listening for remote connections by running this command:

netstat -an | grep :25

You can verify that Postfix is listening for remote connections by running this command: gives

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 :::25 :::* LISTEN

but do not know what that is saying?

That means that Postfix is indeed listening for connections on port 25. It’s likely that either your provider, or some other firewall/router is blocking connections to port 25.

-Eric

OK.
Well looking in CSF v7.05 it has this:
This is a comma separated list of the ports to block. You should list all
ports that exim is configured to listen on
SMTP_PORTS = 25,465,587.

So should I just remove the 25??

why would it have 25 listed if that is the common port other server use?

Simon

It sounds like port 25 should be listed there, I think removing it would mean CSF would block it.

That may mean the issue isn’t with your server.

Does your provider allow connections to port 25?

Also, what is the output of this command:

iptables -L -n | grep 25

You may also want to review your firewall logs though to see if there are any attempts to connect to port 25 that are being blocked.

-Eric