Can't send emails

Email setup and troubleshooting
Posts: 5
Joined: Mon Nov 20, 2006 1:20 pm
Location: Goulburn

Re: Can't send emails

Post by kitcho » Sun Jun 04, 2017 11:07 am

Ok, did some quick learning and this is the result I get:

kitcho@shed:~$ telnet 25
Connected to
Escape character is '^]'.
220 ESMTP - Here there be dragons!
250 Hello []
250 Hello []
mail from:
250 OK
rcpt to:
550 Administrative prohibition
rcpt to:
550 Administrative prohibition
503-All RCPT commands were rejected with this error:
503-Administrative prohibition
503 valid RCPT command must precede DATA

kitcho wrote:Sorry Dazzled, I am not conversant with sending emails via terminal, I will have to do some learning to use the commands. Cheers

Dazzled wrote:The pop up looks like error 550 was received from the server.

I just sent an email typing in the terminal rather than a mail client so I could see all messages coming from the server.
That is -
telnet 25
Using commands HELO, MAIL FROM:, RCPT TO:, DATA, and QUIT.
All returns (except DATA) were 250 OK, so the server is working correctly for me.

(DATA returns "354 Enter message, ending with "." on a line by itself")
Underneath the GUI on your screen, all mail clients are typing away like this on port 25 to send and port 110 to receive. If you can connect this way, the trouble is in a client setting. Windows users may have to enable telnet first.

This applies to non-mobile services for SMTP (sending).

Volunteer Site Admin
Posts: 6015
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: Can't send emails

Post by Dazzled » Sun Jun 04, 2017 12:05 pm

That wasn't a bad effort. Before graphic desktops we did it that way. It still serves on some devices or to get the error message at the point of error.

The server has declared a 550 problem with the recipient's email address. It usually means the address is non-existent or otherwise unlocatable, but sometimes may indicate the receiver's server is down or firewalled. The server sysadmin has some leeway attaching this code to addresses.

503 is a bad sequence of commands, as expected in this case.

Post Reply