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
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