INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Jobs from Indeed

550 5.1.1 User Unknown

550 5.1.1 User Unknown

(OP)
Hello
 
I am having a problem receiving mail. It reaches my server but says the user doesn't exist.
 
I can send mail out without ANY issues though.
 
The error in the e-mail is 550 5.1.1 david.gill@lkelectric.com User Unknown.
 
Below I included a printout of the sendmail -bv command, clipping from my maillog file, my local-host names file, and my .mc and .m4 files.
 
Thank You in advance.

___________________________________________________________
[root@localhost ~]# sendmail -bv david.gill@lkelectric.com
david.gill@lkelectric.com... User unknown
[root@localhost ~]# sendmail -bv david.gill@lkelectric
david.gill@lkelectric... deliverable: mailer esmtp, host lkelectric, user david.gill@lkelectric
 
___________________________________________________________
Here is my my generic-linux.mc file. I used this to create my sendmail.cf file.
 
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
# This is a generic configuration file for Linux.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#
 
divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(lkelectric)dnl
MAILER(local)dnl
MAILER(smtp)dnl
 
_________________________________________________________
here is my lkelectric.m4 or my domain m4 file.
 
 
[root@localhost ~]# more /usr/share/sendmail-cf/domain/lkelectric.m4
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
 
#
# The following is a generic domain file. You should be able to
# use it anywhere. If you want to customize it, copy it to a file
# named with your domain and make the edits; then, copy the appropriate
# .mc files and change `DOMAIN(generic)' to reference your updated domain
# files.
#
divert(0)
VERSIONID(`lkelectric.m4 04/05.08')
define(`confFORWARD_PATH', `$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.
forward')dnl
define(`confMAX_HEADERS_LENGTH', `32768')dnl
FEATURE(`redirect')dnl
FEATURE(`use_cw_file')dnl
EXPOSED_USER(`root')
MASQUERADE_AS(`lkelectric.com')
FEATURE(`masquerade_envelope')
FEATURE(`genericstable')
 
_________________________________________________________
Here is my linux.m4 file
 
[root@localhost ~]# more /usr/share/sendmail-cf/ostype/linux.m4
divert(-1)
#
# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
 
divert(0)
VERSIONID(`$Id: linux.m4,v 8.13 2000/09/17 17:30:00 gshapiro Exp $')
define(`confEBINDIR', `/usr/sbin')
ifdef(`PROCMAIL_MAILER_PATH',,
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail'))
FEATURE(local_procmail)
___________________________________________________________
Here is part of my maillog file. What I don't get is I send this e-mail on the 30th, but I am still getting this error today... I thought it would stop attempting to send the -mail.
 
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011933: to=DavidGill\t, ctlad
dr=<root@localhost.localdomain> (47/0), delay=00:00:00, mailer=local, pri=121495
, dsn=5.1.1, stat=User unknown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011933: to=DavidGill\t, ctlad
dr=<root@localhost.localdomain> (47/0), delay=00:00:00, mailer=local, pri=31724,
 dsn=5.1.1, stat=User unknown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011933: to=DavidGill\t, ctlad
dr=root (47/0), delay=00:00:00, mailer=local, pri=31724, dsn=5.1.1, stat=User un
known
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011933: m526U1H2011934: postm
aster notify: User unknown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011934: to=DavidGill\t, ctlad
dr=root (47/0), delay=00:00:00, mailer=local, pri=2748, dsn=5.1.1, stat=User unk
nown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011934: to=DavidGill\t, ctlad
dr=root (47/0), delay=00:00:00, mailer=local, pri=2748, dsn=5.1.1, stat=User unk
nown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011934: m526U1H3011934: retur
n to sender: User unknown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H3011934: to=DavidGill\t, ctlad
dr=root (47/0), delay=00:00:00, mailer=local, pri=3772, dsn=5.1.1, stat=User unk
nown
Jun  2 02:30:01 localhost sendmail[11934]: m526U1H2011934: Losing ./qfm526U1H201
1934: savemail panic
___________________________________________________________
Here is my local-host-names file
 
[root@localhost ~]# more /etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
lks.lkelectric.com
lkelectric.com
 

RE: 550 5.1.1 User Unknown

what is in the /etc/host file?

 

RE: 550 5.1.1 User Unknown

also,
what is the line entry in the /etc/passwd for your account?
Is there any aliasing being done with your account ?
 

RE: 550 5.1.1 User Unknown

(OP)
/etc/passwd
DavidGill:x:512:513::/home/DavidGill:/bin/Bash

/etc/hosts
[root@localhost ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6
_____________________________________________________
I have no idea what the localhost6 is, or where it came from.

I removed the MASQUERADE_AS(`lkelectric.com') line from the .mc file.
When I run sendmail -bv, I now get the david.gill@lkelectric.com is deliverable.

I am getting a new error though.
5.7.1 relaying denied.

____________________________________________________________
here is part of my maillog
Jun 16 11:57:54 localhost sendmail[1421]: m5GFvrxG001421: 67.222.132.194.tailormadeservers.com [67.222.132.194] (may be forged):
 VRFY david.gill
Jun 16 11:57:54 localhost sendmail[1421]: m5GFvrxH001421: 67.222.132.194.tailormadeservers.com [67.222.132.194] (may be forged):
 EXPN david.gill
Jun 16 11:57:54 localhost sendmail[1421]: m5GFvrxI001421: ruleset=check_rcpt, arg1=<david.gill@lkelectric.com>, relay=67.222.132
.194.tailormadeservers.com [67.222.132.194] (may be forged), reject=550 5.7.1 <david.gill@lkelectric.com>... Relaying denied. IP
 name possibly forged [67.222.132.194]
Jun 16 11:57:54 localhost sendmail[1421]: m5GFvrxI001421: from=<admin@Network-Tools.com>, size=0, class=0, nrcpts=0, proto=ESMTP
, daemon=MTA, relay=67.222.132.194.tailormadeservers.com [67.222.132.194] (may be forged)
Jun 16 13:38:30 localhost sendmail[1621]: m5GHcUbn001621: ruleset=check_rcpt, arg1=<david.gill@lkelectric.com>, relay=web908.biz
.mail.mud.yahoo.com [216.252.100.94], reject=550 5.7.1 <david.gill@lkelectric.com>... Relaying denied
Jun 16 13:38:30 localhost sendmail[1621]: m5GHcUbn001621: from=<dave.gill@yourpcknights.com>, size=0, class=0, nrcpts=0, proto=S
MTP, daemon=MTA, relay=web908.biz.mail.mud.yahoo.com [216.252.100.94]
Jun 16 13:56:23 localhost sendmail[1653]: m5GHuNZa001653: ruleset=check_rcpt, arg1=<gary.sasse@lkelectric.com>, relay=web902.biz
.mail.mud.yahoo.com [216.252.100.42], reject=550 5.7.1 <gary.sasse@lkelectric.com>... Relaying denied
Jun 16 13:56:23 localhost sendmail[1653]: m5GHuNZa001653: from=<dave.gill@yourpcknights.com>, size=0, class=0, nrcpts=0, proto=S
MTP, daemon=MTA, relay=web902.biz.mail.mud.yahoo.com [216.252.100.42]
Jun 16 14:00:57 localhost sendmail[1663]: m5GI0v8W001663: from=root, size=6, class=0, nrcpts=1, msgid=<200806161800.m5GI0v8W0016
63@localhost.localdomain>, relay=root@localhost
Jun 16 14:00:57 localhost sendmail[1664]: m5GI0vLF001664: from=<root@localhost.localdomain>, size=312, class=0, nrcpts=1, msgid=
<200806161800.m5GI0v8W001663@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 16 14:00:57 localhost sendmail[1663]: m5GI0v8W001663: to=gary.sasse@lkelectric.com, ctladdr=root (0/0), delay=00:00:00, xdel
ay=00:00:00, mailer=relay, pri=30006, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m5GI0vLF001664 Message accepted for d
elivery)
Jun 16 14:01:04 localhost sendmail[1666]: m5GI0vLF001664: SYSERR(root): lks.lkelectric.com. config error: mail loops back to me
(MX problem?)
Jun 16 14:01:04 localhost sendmail[1667]: m5GI14HO001667: adsl-99-154-26-209.dsl.sgnwmi.sbcglobal.net [99.154.26.209] did not is
sue MAIL/EXPN/VRFY/ETRN during connection to MTA
Jun 16 14:01:04 localhost sendmail[1666]: m5GI0vLF001664: to=<gary.sasse@lkelectric.com>, ctladdr=<root@localhost.localdomain> (
0/0), delay=00:00:07, xdelay=00:00:07, mailer=esmtp, pri=120312, relay=lks.lkelectric.com. [99.154.26.209], dsn=5.3.5, stat=Loca
l configuration error
Jun 16 14:01:04 localhost sendmail[1666]: m5GI0vLF001664: to=DavidGill\t, ctladdr=<root@localhost.localdomain> (47/0), delay=00:
00:07, mailer=local, pri=120312, dsn=5.1.1, stat=User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI0vLF001664: to=DavidGill\t, ctladdr=root (47/0), delay=00:00:07, mailer=local, pri
=120312, dsn=5.1.1, stat=User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI0vLF001664: m5GI14LF001666: postmaster notify: User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LF001666: to=DavidGill\t, ctladdr=root (47/0), delay=00:00:00, mailer=local, pri
=1574, dsn=5.1.1, stat=User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LF001666: to=DavidGill\t, ctladdr=root (47/0), delay=00:00:00, mailer=local, pri
=1574, dsn=5.1.1, stat=User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LF001666: m5GI14LG001666: return to sender: User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LG001666: to=DavidGill\t, ctladdr=root (47/0), delay=00:00:00, mailer=local, pri
=2598, dsn=5.1.1, stat=User unknown
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LF001666: Losing ./qfm5GI14LF001666: savemail panic
Jun 16 14:01:04 localhost sendmail[1666]: m5GI14LF001666: SYSERR(root): savemail: cannot save rejected email anywhere
Jun 16 14:01:08 localhost sendmail[1670]: gethostbyaddr(192.168.4.33) failed: 1


Any help would be GREATLY apprechiated

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close