Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: bakedjake
I am relatively new to setting up servers from the command line, so please bare with me! I use to use Plesk but decided it would be best to ditch it and learn properly. I have been coping fine so far, but have run into a problem.
I have a Linux VPS server running CentOS 5. I am trying to get sendmail working so that I can,
* Access it externally via SMTP and relay when authenticated
* Add usernames and passwords for said SMTP authentication
I've been reading countless tutorials online, but can't seem to do either!
So far, I can,
* Send an email via SMTP if it is from localhost (without authentication may I add).
* Connect to sendmail via SMTP externally, but can't seem to authenticate to send an email
Any idea on what I need to do to get this working? I'm not interested in TLS authentication (right now). Plain old port 25 PLAIN LOGIN will do.
Fyi, I get the following when doing a simple test...
[root@vps1 ~]# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 ##SERVER-NAME## ESMTP Sendmail 8.13.8/8.13.8; Wed, 4 Feb 2009 22:23:56 G
250-##SERVER-NAME## Hello localhost.localdomain [127.0.0.1], pleased to meetu
504 5.3.3 AUTH mechanism PLAIN not available
504 5.3.3 AUTH mechanism LOGIN not available
221 2.0.0 ##SERVER-NAME## closing connection
Connection closed by foreign host.
Connect to sendmail via SMTP externally, but can't seem to authenticate to send an email
Are you sure your ISP allows port 25 connections?
I had to switch my SMTP server to port 587 not long ago when Comcast started clamping down.
I use to use Plesk but decided it would be best to ditch it and learn properly.
I used to do it properly and ditched it for Plesk just to avoid the kind of issues you're dealing with.
Unless you're just playing around as a hobby, control panels like Plesk, cPanel, etc. take care of so many little things by default that it's really not worth the trouble IMO to struggle with the little details.
Just my $0.02 worth.