homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
sendmail Help
Simple sendmail configuration problems
Sekka

5+ Year Member



 
Msg#: 3842944 posted 10:25 pm on Feb 4, 2009 (gmt 0)

Oh mighty Linux Help Thread, I beg thee for help!

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
Trying 127.0.0.1...
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
EHLO something
250-##SERVER-NAME## Hello localhost.localdomain [127.0.0.1], pleased to meetu
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
AUTH PLAIN
504 5.3.3 AUTH mechanism PLAIN not available
AUTH LOGIN
504 5.3.3 AUTH mechanism LOGIN not available
QUIT
221 2.0.0 ##SERVER-NAME## closing connection
Connection closed by foreign host.

 

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 3842944 posted 5:03 pm on Feb 7, 2009 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved