[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

LINUX SEND MAIL QUESTION - urgent

I have installed Centos 5.1  in web  hosting Data centre . I have already started the sendmail services.
I want to know how can create email address without using webbase admin
panell . That using linux command line. Please advice.

I want to setup sendmail for joomal sending message but does not work.,  I
enclosed error meessage please advice ,

Jan 24 04:02:03 localhost sendmail[13248]: m0NK22rr013248: from=root,
size=1198, class=0, nrcpts=1,
msgid=<200801232002.m0NK22rr013248@localhost.localdomain>,
relay=root@localhost
Jan 24 04:02:03 localhost sendmail[13288]: m0NK23Oj013288:
from=<root@localhost.localdomain>, size=1478, class=0, nrcpts=1,
msgid=<200801232002.m0NK22rr013248@localhost.localdomain>, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 24 04:02:03 localhost sendmail[13248]: m0NK22rr013248: to=root,
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=31198, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(m0NK23Oj013288 Message accepted for delivery)
Jan 24 04:02:03 localhost sendmail[13289]: m0NK23Oj013288:
to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31712, dsn=2.0.0,
stat=Sent
Jan 24 20:09:59 localhost sendmail[15222]: m0OC9nJ5015222:
localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during
connection to MTA


0
itjackiewong
Asked:
itjackiewong
  • 3
1 Solution
 
arrkerr1024Commented:
To create users  you just have to add a unix account, so if you wanted joe@yourdomain just "useradd <optional options> joe".

If you just want to send mail you don't need accounts set up.  Your problem doesn't look like an account problem, something is wrong with the mail sending - "did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA".  If that was a user-does-not-exist error it would say so.  What is that mail message...  are you sending that from a web form or something?

0
 
arrkerr1024Commented:
Also make sure your hostname is set (isn't localhost.localdomain any more) and edit  /etc/mail/sendmail.cf and change the Cw line from localhost to your servers actual DNS name.
0
 
arrkerr1024Commented:
I should also clarify - that error means you didn't get any valid SMTP commands.  This can happen if you just "telent localhost smtp"  and leave it, the connection times out, or you send garbage.  Whatever is sending that message is not doing it correctly - it is NOT sendmail's fault.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now