I must be utterly misunderstanding the documentation.

I"m trying to create a system-wide alias to catch pager requests.

So, I created:

  # cat ~alias/.qmail-page
  | /usr/local/bin/sendpage -B -S -c Subject: -f "$EXT"

  # ls -l ~alias/.qmail-page
  -rw-r--r--  1 root  qmail  84 Aug  4 19:55 /var/qmail/alias/.qmail-page

My logs show:

  Aug  4 20:06:57 cerebro qmail: 933815217.325457 new msg 126985

  Aug  4 20:06:57 cerebro qmail: 933815217.331690 info msg 126985:
  bytes 436 from <[EMAIL PROTECTED]> qp 21533 uid 1001
  
  Aug  4 20:06:57 cerebro qmail: 933815217.340879 starting
  delivery 75: msg 126985 to local [EMAIL PROTECTED]

  Aug  4 20:06:57 cerebro qmail: 933815217.342534 status: local
  1/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.355588
  delivery 75: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

  Aug  4 20:06:57 cerebro qmail: 933815217.361805 status: local
  0/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.390392
  bounce msg 126985 qp 21536

Checking with qmail-getpw:

  # echo "`qmail-getpw page-brian`"
  alias 1002 1002 /var/qmail/alias - page-brian

Look good to me.

I restarted qmail-send, etc.  I realize I'll eventually need to be
more clever with exit codes, but why _can't_ I do this at it is?

FWIW, this is with qmail-1.03 under FreeBSD3-3.2.

Opinions?

-- 
Brian 'you Bastard' Reichert            [EMAIL PROTECTED]
37 Crystal Ave. #303                    Daytime number: (781) 899-7484 x704
Derry NH 03038-1713 USA                 Intel architecture: the left-hand path

Reply via email to