Sendmail (which is smail, anyway) doesn't work either.
It neither sends the mail nor returns it to the sender like it claims to.
-chris
09:33:06</usr/sbin>$ sendmail root
aoeusnaohe
09:33:20</usr/sbin>$ smail: mail moved to /var/spool/smail/error/13FJGC-0006PKC
09:33:43</home/krzys># cat /var/spool/smail/error/13FJGC-0006PKC
!root
!0 1000
!-oem
!-f
!<+>
!-oMs
!cr275960-a.crdva1.bc.wave.home.com
!-oMr
!bsmtp
!-oMP
!smail
!<krzys>
From: <[EMAIL PROTECTED]>
To: krzys
Subject: mail failed, returning to sender
Reference: <[EMAIL PROTECTED]>
|------------------------- Message log follows: -------------------------|
no valid recipients were found for this message
|------------------------- Failed addresses follow: ---------------------|
root ... unknown user
|------------------------- Message text follows: ------------------------|
Received: from localhost (69 bytes) by cr275960-a.crdva1.bc.wave.home.com
via sendmail with P:stdio/T:error
(sender: <krzys>) (ident <krzys> using unix)
id <[EMAIL PROTECTED]>
for <unknown>; Thu, 20 Jul 2000 09:33:12 -0700 (PDT)
(Smail-3.2.0.102 1998-Aug-2 #2 built 2000-Feb-23)
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 20 Jul 2000 09:33:12 -0700 (PDT)
From: krzys (Krzys Majewski)
To: root
aoeusnaohe
09:33:47</home/krzys># cd /var/spool/mail/
09:34:22</var/spool/mail># la
total 2
drwxrwsr-x 2 root mail 1024 Mar 1 09:59 ./
drwxr-xr-x 9 root root 1024 Jul 9 16:24 ../
-rw-rw-r-- 1 krzys mail 0 Feb 6 11:58 krzys
On Thu, 20 Jul 2000, Mark Brown wrote:
> On Wed, Jul 19, 2000 at 09:58:47AM -0700, Krzys Majewski wrote:
>
> > 550 You are not permitted to send mail
>
> localhost isn't in the list of systems that smail will allow to forward
> mail through it. How you tell smail about that I don't know.
>
> > What gives? The only reason I'm trying to set this up is so that
> > things like cron jobs will send email to root, as advertised.
>
> Most things of that sort will use /usr/sbin/sendmail rather than SMTP
> to inject mail, bypassing this check.
>
> --
> Mark Brown mailto:[EMAIL PROTECTED] (Trying to avoid grumpiness)
> http://www.tardis.ed.ac.uk/~broonie/
> EUFS http://www.eusa.ed.ac.uk/societies/filmsoc/
>