[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Sendmail installed? - Setting new users and checking emails?



Dan_MailLists wrote:
Thanks Jeff, sendmail is indeed installed and running.

How can I set up an account and then check that account's email via the
command line though? Perhaps I'm not logged in as root, and don't have
access to do that.

I'm using a managed server here, so perhaps they've locked me out of such
things.

PLEASE bottom-post on this list. It makes following the thread SO much easier.

First, to find where your "rpm" is, try "which rpm".  It should be in
/bin.

Second, sendmail can be installed in several different places.  The
normal place is /usr/sbin.  It could be in /usr/lib or /usr/bin.  If you
find it in /usr/lib, it could be either the real binary or a symlink to
the real binary.  "ls -l /usr/lib/sendmail" should show you the
destination of the link.

Third, to check a user's account, you can do an SMTP dialog to the box:

-----------------------------------------------------------------
# telnet mailserver.domain.tld 25	<--- YOU ENTER THIS
Trying xxx.xxx.xxx.xxx...
Connected to mailserver.domain.tld (xxx.xxx.xxx.xxx).
Escape character is '^]'.
220 mailserver.domain.tld ESMTP sendmail MTA; Mon, 24 May 2004 10:38:19
	-0700
helo myhost.mydomain.tld		<--- YOU ENTER THIS
250 mailserver.domain.tld Hello myhost.mydomain.tld [xxx.xxx.xxx.xxx],
	pleased to meet you
mail from: someone somedomain com	<--- YOU ENTER THIS
250 2.1.0 someone somedomain com    Sender ok
rcpt to: recipient recipdomain tld	<--- YOU ENTER THIS
250 2.1.5 recipient recipdomain tld    Recipient ok
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
quit					<--- YOU ENTER THIS
221 2.0.0 mxin-01-001.root-mail.com closing connection
Connection closed by foreign host.
-----------------------------------------------------------------

If the "rcpt to:" thing gets a "Recipient ok" response (shown above the
"^^^^^^^^" line), then the account is there.

----- Original Message ----- From: <jeffrey_n_Dyke Keane com>
To: "Getting started with Red Hat Linux" <redhat-install-list redhat com>
Sent: Monday, May 24, 2004 5:50 PM
Subject: Re: Sendmail installed?






On Mon, 24 May 2004, Dan_MailLists wrote:


All I get back from doing that is this -
bash: rpm: command not found

Maybe you need to be root?

While you have another issue to figure out(rpm). You can see if sendmail is running by: ps -aux | grep sendmail You stated once that you were sending emails with PHP...then Sendmail is (most likely) installed, unless you took careful steps to install another mail daemon. You can place -> <? phpinfo(); ?> in any .php file and point a browser to it, and it will tell you where it thinks sendmail is

installed


and what arguments are being provided.

it'll most likely read...
sendmail_path     /usr/sbin/sendmail -t -i      /usr/sbin/sendmail -t -i
That is fron redhat 9, paths may be different.

HTH
Jeff

...return to lurk...


?

----- Original Message -----
From: "Bob McClure Jr" <robertmcclure earthlink net>
To: "Getting started with Red Hat Linux"

<redhat-install-list redhat com>


Sent: Monday, May 24, 2004 5:25 PM
Subject: Re: Sendmail installed?



On Mon, May 24, 2004 at 05:22:21PM +0200, Dan_MailLists wrote:

Hi,

I have RedHat 7.2 running, but I can't seem to find sendmail on

there.


I'm

not sure that I'm looking in the right places though - how can I

find


out if

it's installed or not?
I'm using PuTTY to connect to the server.

Thanks,
Dan

rpm -q sendmail


Or, more comprehensively

rpm -qa | fgrep sendmail

Cheers,
--
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.bobcatos.com
BIBLE: Basic Instructions Before Leaving Earth


_______________________________________________ Redhat-install-list mailing list Redhat-install-list redhat com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request redhat com Subject: unsubscribe



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request redhat com
Subject: unsubscribe


-- Aj. Sys. Admin / Developer


_______________________________________________ Redhat-install-list mailing list Redhat-install-list redhat com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request redhat com Subject: unsubscribe






_______________________________________________ Redhat-install-list mailing list Redhat-install-list redhat com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request redhat com Subject: unsubscribe




_______________________________________________ Redhat-install-list mailing list Redhat-install-list redhat com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request redhat com Subject: unsubscribe



--
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  What's small, yellow and very, VERY dangerous?  The root canary!  -
----------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]