I have a problem which seems a bit odd. If I send a mail from any account on
my Linux box all works well, except from root. Anything send as root just
seems to disappear and does not show up anywhere.

I have noticed this on my current set up (Debian 1.1) and never paid much
attention. Now I am building a new server (Debian 2.0) and it occurs again.
I seem to be doing something very wrong in my configuration.

I use sendmail as mailer and uucp for exchange with my provider. I think all
is configured pretty straight forward, for I am by no means an expert
anyway. In order to track the problem, I have captured the uucp-files from
/var/spool/uucp from two identical test messages, one originating from user
'erik' and one from 'root'

The 'erik' one has body:

                From [EMAIL PROTECTED]  Tue Sep  1 00:36:00 1998
                Received: (from [EMAIL PROTECTED])
                        by souterrain_new.avondel (8.8.8/8.8.8/Debian/GNU)
id AAA00159
                        for [EMAIL PROTECTED]; Tue, 1 Sep 1998 00:36:00
+0100
                Date: Tue, 1 Sep 1998 00:36:00 +0100
                From: Erik van der Meulen <[EMAIL PROTECTED]>
                Message-Id: <[EMAIL PROTECTED]>
                To: [EMAIL PROTECTED]
                Subject: Test erik

                Test

And envelope:

                E D.0006 D.avondelC0006 erik -CR D.0006 0666
[EMAIL PROTECTED] 0 rmail [EMAIL PROTECTED]

The 'root' one:

                From [EMAIL PROTECTED]  Tue Sep  1 00:35:28 1998
                Received: (from [EMAIL PROTECTED])
                        by souterrain_new.avondel (8.8.8/8.8.8/Debian/GNU)
id AAA00153
                        for [EMAIL PROTECTED]; Tue, 1 Sep 1998 00:35:28
+0100
                Date: Tue, 1 Sep 1998 00:35:28 +0100
                From: root <[EMAIL PROTECTED]>
                Message-Id: <[EMAIL PROTECTED]>
                To: [EMAIL PROTECTED]
                Subject: Test root

                Test

With envelope:

                E D.0005 D.avondelC0005 daemon -CR D.0005 0666
[EMAIL PROTECTED] 0 rmail [EMAIL PROTECTED]

This shows that the From: line in the 'root' message is the local address,
whereas the 'erik' is the proper internet address. It seems to be related to
my problem, but I am not sure at all.
If anyone has any suggestion where to look for the source of this matter, I
will be very thankful. Just in case this is useful, I quote the sendmail.mc
which I use to generate the sendmail configuration with:

                #
                # This file is used to configure sendmail for use with
Debian systems.
                #

                divert(0)
                VERSIONID(`@(#)sendmail.mc      8.7 (Linux) 3/5/96')
                OSTYPE(debian)dnl
                FEATURE(nocanonify)dnl
                FEATURE(masquerade_envelope)dnl
                FEATURE(use_cw_file)dnl
                FEATURE(use_ct_file)dnl
                FEATURE(nodns)dnl
                define(`confMAILER_NAME', `postmaster')dnl
                define(`confTO_QUEUEWARN', `1d')dnl
                define(`confTO_QUEUERETURN', `3d')dnl
                MAILER(local)dnl
                MAILER(smtp)dnl
                Cwavondel.xs4all.nl
                MASQUERADE_AS(avondel.xs4all.nl)dnl

                ## Custom configurations below (will be preserved)

                MAILER(uucp)dnl
                define(`UUCP_MAX_SIZE', 10000)
                define(`SMART_HOST', uucp-dom:xs4all)MAILER(uucp)dnl
                define(`UUCP_MAX_SIZE', 10000)
                define(`SMART_HOST', uucp-dom:xs4all)


Thanks up front!

Erik van der Meulen <[EMAIL PROTECTED]>

  CMG Bedrijfsinformatiesystemen B.V.
  Postbus 91 / 1180 AB / Amstelveen
  p: 020 503 3000 / f: 020 503 3010

Reply via email to