SMTP Greeting Failure 421 SMTP...

Tom Combs combs at
Thu Apr 17 20:25:02 IST 2003

Hello All,

 Moderator - please put this in the bit bucket if deemed inappropriate.

 I just posted the following to comp.mail.sendmail.  I thought I'd bounce
 it off this list due to the high quality of activity on this list. TIA..


  I just upgraded from sendmail-8.11.6 to sendmail-8.12.9 on
  a box running Solaris 9.

  Everything is running fine EXCEPT I can not sendmail directly
  from the server itself unless I'm root.  The error from Pine
  is SMTP Greeting Failure 421 SMTP connection went away.

  I did a google search and see that this is a common problem but
  none of the solutions seem to match my situation.  Given that
  it works for root but not standard users seems to indicate that
  it is a permissions problem.  However, I've been over everything
  a dozen times and don't see what the problem could be.

  Here are some relevant listings:

drwxr-xr-x   3 root     root        1024 Apr 17 13:50 /etc/mail/
-rw-r--r--   1 root     root        2241 Apr 17 11:46 access
-rw-r-----   1 root     root       24576 Apr 17 11:46 access.db
-rw-r--r--   1 root     root       99292 Apr 17 10:43 aliases
-rw-------   1 root     root      172032 Apr 17 10:43 aliases.db
-rw-r--r--   1 root     root         106 Apr 17 09:33 local-host-names
-rw-------   1 root     root           8 Apr 17 09:33 relay-domains
-r--r--r--   1 root     bin        54602 Apr 17 14:11
-r--r--r--   1 root     bin        38844 Apr 17 14:11

-r-xr-sr-x   1 root     smmsp     867208 Apr 17 14:08 /usr/lib/sendmail

drwxrwx---   2 smmsp    smmsp        512 Apr 17 14:38 /var/spool/clientmqueue/
drwxr-xr-x   4 root     other        512 Jul  5  2002 /var/spool/MailScanner
drw-------   4 root     root         512 Apr 17 15:02 /var/spool/spamassassin/
drwx------   2 root     bin         1024 Apr 17 15:02 /var/spool/mqueue/
drwxr-x---   2 root     bin          512 Apr 17 15:02 /var/spool/

magnet# /usr/lib/sendmail -Am -bs -d44.4
safefile(/etc/mail/, uid=0, gid=0, flags=6000, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6000, level=0, offset=0):
        [dir /etc/mail] OK
        [uid 0, nlink 1, stat 100444, mode 400]         OK
safefile(/etc/mail/local-host-names, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /etc/mail] OK
        [uid 0, nlink 1, stat 100644, mode 400]         OK
safefile(/etc/mail/relay-domains, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /etc/mail] OK
        [uid 0, nlink 1, stat 100600, mode 400]         OK
safedirpath(/var/spool/mqueue, uid=0, gid=0, flags=4, level=0, offset=0):
        [dir /var/spool/mqueue] OK
safefile(/etc/mail/access.db, uid=0, gid=0, flags=584, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=584, level=0, offset=0):
        [dir /etc/mail] OK
        [uid 0, nlink 1, stat 100640, mode 400]         OK
220 ESMTP Sendmail 8.12.9/8.12.9; Thu, 17 Apr 2003 15:04:40 -0400

 What drives me nuts is I have another server running the same stuff and it
 works fine.  Fortunately most of the users don't login to check their mail.
 Any help will be greatly appreciated!

Tom Combs                                      E-mail: combs at
National High Magnetic Field Laboratory        Phone:  (850) 644-1657
1800 E. Paul Dirac Drive                       Tallahassee, FL 32310

More information about the MailScanner mailing list