Fastforward refuses to delivery root email

1999-02-16 Thread Chris Bond

Hi,

I've finally switched works email over to qmail and it all works
wonderful even virtuals from /etc/aliases using fastforward.  For some
reason it refuses to delivery mail to root i have an entry in aliases to
go to a non-root account.  Printforward shows this correct address, i've
also tried removing the aliases entry and creating a ~alias/qmail-root
but i qmail-default is taken control (with the following
|/var/qmail/bin/fastforward -d /etc/aliases.cdb).  Here is the log
entries:

Feb 16 11:02:52 dipsy qmail: 919162972.617328 starting delivery 1: msg
133349 to local [EMAIL PROTECTED]
Feb 16 11:02:52 dipsy qmail: 919162972.618218 status: local 1/10 remote
0/20
Feb 16 11:02:52 dipsy qmail: 919162972.642381 delivery 1: deferral:
fastforward:_fatal:_unable_to_exec_qq_(#4.3.0)/

I'm trying to sort this out ASAP as all of roots emails is queued
locally but not been delivered!

Thanks,
Chris.



Re: Fastforward refuses to delivery root email

1999-02-16 Thread Chris Bond

Ok let me explain again the problem, fastforward refuses to send email for
the root account using the following:
1.  Before we installed fastforward it was working fine with a
"~alias/.qmail-root" file with this in: "[EMAIL PROTECTED]"
2.  After creating "~alias/.qmail-default" with "|/var/qmail/bin/fastforward
-d /etc/aliases.cdb" root mail was refused with the error messages below:

Feb 16 13:02:20 dipsy qmail: 919170140.142274 status: local 0/10 remote 0/20

Feb 16 13:02:28 dipsy qmail: 919170148.137147 starting delivery 198: msg
133306 to local [EMAIL PROTECTED]
Feb 16 13:02:28 dipsy qmail: 919170148.137335 status: local 1/10 remote 0/20

Feb 16 13:02:28 dipsy qmail: 919170148.308531 delivery 198: deferral:
fastforward:_fatal:_unable_to_exec_qq_(#4.3.0)/

3.  I've tried deleting the .qmail-root alias and making an entry in
/etc/aliases with "root: gavinlew" in but it still refuses to delivery the
mail, giving exactly the same errors above.

If I do mailq -s I get the following (mailq script from qmHandle off the
qmail web page):
Messages in local queue: 76
Messages in remote queue: 0

All off the 76 messages as destinded to the root account but are having
trouble being delivered.

Any help on how to get it working would be greatly appriated.

Regards,
Chris.

Petr Novotny wrote:

  On Tue, Feb 16, 1999 at 11:06:08AM +, Chris Bond wrote:
 
  qmail-local will refuse to run as root, and hence you can NEVER
  deliver to root under the qmail system. You must alias root to an
  ordinary user, usually the administator of the machine.

 Plus, since there certainly IS a user called root, /etc/aliases (or
 fastforward, which is run from ~alias/.qmail-default) will not be
 consulted. Am I right?
 --
 Petr Novotny, ANTEK CS
 [EMAIL PROTECTED]
 http://www.antek.cz
 -- Don't you know there ain't no devil there's just God when he's drunk.
  [Tom Waits]



Re: Fastforward refuses to delivery root email

1999-02-16 Thread Mate Wierdl

On Tue, Feb 16, 1999 at 11:06:08AM +, Chris Bond wrote:

qmail-local will refuse to run as root, and hence you can NEVER
deliver to root under the qmail system. You must alias root to an
ordinary user, usually the administator of the machine.
   
The original poster did say that he set up an alias for root.  The
problem is that qmail does not seem to notice the alias.

Of course, the main problem is that he does not give enough details.
What is the alias?  How is it set up exactly?  Is he using
qmail-users?

Mate







Re: Fastforward refuses to delivery root email

1999-02-16 Thread Chris Bond

Hi,

Yes it was users a assign file, stupid deb file i create made one i
deleted the assign file put a "." in it, ran qmail-newu and then created
my ~alias/qmail-root and it all worked nicely

Thankyou for the tip that helped be slove it, and to anyone else that
posted something that helped me.

Regards,
Chris

Mate Wierdl wrote:

 Are you using qmail-users?

 Mate



Re: Fastforward refuses to delivery root email

1999-02-16 Thread Harald Hanche-Olsen

- "Petr Novotny" [EMAIL PROTECTED]:

| [...] since there certainly IS a user called root, /etc/aliases (or
| fastforward, which is run from ~alias/.qmail-default) will not be
| consulted. Am I right?

No.  As far as qmail-getpw is concerned, a user with UID 0 does not
exist.  Hence the alias user is used instead.  Quick demo:

; /var/qmail/bin/qmail-getpw root | tr '\000' :; echo
alias:151:151:/var/qmail/alias:-:root:

(The original problem in this thread is resolved, but I just wanted to
clear up this point.)

- Harald