[CentOS] Sendmail Configuration Problem - 550 5.1.1 - User unknown Problem

Mon May 3 00:32:06 UTC 2010
Jobst Schmalenbach <jobst at barrett.com.au>

On Sat, May 01, 2010 at 08:06:05PM -0700, Wang, Mary Y (mary.y.wang at boeing.com) wrote:
> It's working now.  I just commented out some of the FEATURE lines in sendmail.mc file.
> Mary

I hope you know what you are doing coz commenting out "feature lines" (randomly) 
"just" to get sendmail "working" is not a good idea ... for example I would not 
comment out these:

  FEATURE(delay_checks,friend)
  FEATURE(`dnsbl',`zen.spamhaus.org',`go away spammer')
  FEATURE(`no_default_msa',`dnl')dnl
  FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
  FEATURE(`virtusertable',`hash /etc/mail/virtusertable')dnl
  FEATURE(redirect)dnl
  FEATURE(always_add_domain)
  FEATURE(use_cw_file)
  FEATURE(use_ct_file)
  FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
  FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl
  FEATURE(`greet_pause',5000)
  FEATURE(blacklist_recipients)
  FEATURE(masquerade_envelope)dnl
  FEATURE(masquerade_entire_domain)dnl
  FEATURE(allmasquerade)

But I comment out (and highly recommend that) these:

  dnl FEATURE(`accept_unresolvable_domains')dnl
  dnl FEATURE(`relay_based_on_MX')dnl


So I assume the SMART_HOST is your ISP's mailserver?
When you send an email "internally" what is the error in the sendmail maillog (as your mailserver becomes the recipient)?


Jobst




> 
> 
> _____________________________________________
> From:   Wang, Mary Y
> Sent:   Saturday, May 01, 2010 6:21 PM
> To:     'centos at centos.org'
> Subject:        Sendmail Configuration Problem - 550 5.1.1 - User unknown Problem
> 
> Hi,
> I'm having this Sendmail configuration problem and stuck.  I've been doing googling/reading posts and none of the solutions matched my problem.
> I'm doing some testing, and have been getting this 550 5.1.1 ....User unknown error when I send the email to my company's email address.   When I send it to an external email address, such as yahoo, the message delivered successfully.  Of course, I'm doing the configuration behind a firewall.   I'm using a relay too, and I did declare the relay host in 'SMART_HOST' in the sendmail.mc file and have also recompiled it to produce the sendmail.cf.  I also restarted the sendmail service.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> telnet ana.boeing.com 25
> Trying 134.51.151.114...
> Connected to ana.boeing.com (134.51.151.114).
> Escape character is '^]'.
> 220 ana.boeing.com ESMTP Sendmail 8.12.11.20060308/8.12.11; Sat, 1 May 2010 16:39:06 -0700
> helo ana.boeing.com
> 250 ana.boeing.com Hello ana.boeing.com [134.51.151.114], pleased to meet you
> mail from:root at ana.boeing.com
> 250 2.1.0 root at ana.boeing.com... Sender ok
> rcpt to:mary.y.wang at boeing.com
> 550 5.1.1 mary.y.wang at boeing.com... User unknown
> 
> Any ideas?  I'm running on Sendmail 8.12.11
> 
> Mary
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
The future isn't what it used to be (it never was).

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia