Re: smail says 550 You are not permitted to send mail

2000-07-20 Thread Krzys Majewski
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-x2 root mail 1024 Mar  1 09:59 ./
drwxr-xr-x9 root root 1024 Jul  9 16:24 ../
-rw-rw-r--1 krzysmail0 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/
 EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/
 



Re: smail says 550 You are not permitted to send mail

2000-07-20 Thread Mark Brown
On Thu, Jul 20, 2000 at 09:39:08AM -0700, Krzys Majewski wrote:

 Sendmail (which is smail, anyway) doesn't work either. 

Invoking the sendmail binary gets you the same MTA but it bypasses many
of the checks MTAs perform

 It neither sends the mail nor returns it to the sender like it claims to.

 09:33:06/usr/sbin$ sendmail root
 aoeusnaohe

I'm not surprised that failed - what you typed doesn't really
approximate a valid message.  Looking at the bounce that got generated
and moved into the error directory it seems that smail can't figure out
how to deliver to local users (the bounce said that it didn't know
anything about a user root, and the non-delivery of the bounce would
suggest that it couldn't find your user account either.  You'll
probably see some complaints in your mail logs (/var/log/mail.log unless
smail doesn't use syslog).

You should try reconfiguring smail - there's probably a program called
smailconfig in /usr/sbin that will do that for you, or failing that
removoing and reinstalling should do the trick.  If smail doesn't
configure itself I'd try another MTA (exim is the default choice for 
recent Debian versions).

[BTW, could you please quote and trim your messages properly?  It makes
them much easier to read.]

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/



Re: smail says 550 You are not permitted to send mail

2000-07-20 Thread Krzys Majewski
 You should try reconfiguring smail - there's probably a program called
 smailconfig in /usr/sbin that will do that for you, or failing that
 removoing and reinstalling should do the trick.  If smail doesn't
 configure itself I'd try another MTA (exim is the default choice for 
 recent Debian versions).

Aha, smailconfig. OK, I tried reinstalling smail before and now running
smailconfig, same error. Guess I'll try exim next. 

 [BTW, could you please quote and trim your messages properly?  It makes
 them much easier to read.]

Not sure what you mean by this, can you clarify?
-chris




Re: smail says 550 You are not permitted to send mail

2000-07-20 Thread Krzys Majewski
Bwahahaha 
upon removing smail apt-get installed sendmail which comes with its
own e-z konfiguration skrypt and runs great. Can't see why anyone would
want to use anything else. Can't see either why anyone would want to have 
a mail daemon on their box other than for mailing cron output,
given that any isp will gladly do that boring shit for you. 
Unless of course you are an isp in which case Hello! why aren't you using 
Solaris. 
*bait* *bait* *bait*
chris
 





Re: smail says 550 You are not permitted to send mail

2000-07-20 Thread Mark Brown
On Thu, Jul 20, 2000 at 01:39:40PM -0700, Krzys Majewski wrote:

 Aha, smailconfig. OK, I tried reinstalling smail before and now running
 smailconfig, same error. Guess I'll try exim next. 

exim is the standard MTA for Debian these days - in fact, smail was
removed from potato due to a number of severe bugs.

  [BTW, could you please quote and trim your messages properly?  It makes
  them much easier to read.]

 Not sure what you mean by this, can you clarify?

You should quote mails like you did this one, interspersing new text
with old and cutting any quoted text not needed for context.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpVg6hUufqYu.pgp
Description: PGP signature


smail says 550 You are not permitted to send mail

2000-07-19 Thread Krzys Majewski
Since everyone else is  asking questions that are completely unrelated
to Debian I'll do my bit and ask one that's only slightly related. 

I've got Smail-3.2.0.102 1998-Aug-2 #2 with the default 
(ie empty) config files. Here's the problem:

09:54:21/etc/init.d# ./smail restart
Restarting mail transport agent: smail.
09:54:25/etc/init.d# !tel
telnet localhost 25
Trying 127.0.0.1...
Connected to cr275960-a.
Escape character is '^]'.
220-cr275960-a.crdva1.bc.wave.home.com Smail-3.2.0.102 (#2 2000-Feb-23) ready 
at Wed, 19 Jul 2000 09:54:28 -0700 (PDT)
220 ESMTP supported
helo crdva1.bc.wave.home.com
550 You are not permitted to send mail

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



Re: smail says 550 You are not permitted to send mail

2000-07-19 Thread Mark Brown
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/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpTFjR2IhQYT.pgp
Description: PGP signature