> >| redeliver msmail.eoc.org.uk
> >
> >Where "redeliver" is a program that opens an SMTP session to the
specified
>host, and writes out the message being read from stdin.
>
>The program you want is "forward". You have to pass it the user,
>too. E.g.:
>
> | forward $[EMAIL PROTECTED]
>
Dave,
Thanks for the suggestion.
Firstly, let me just point out that I'm using vpopmail so I need to use $EXT
rather than $USER to get the "local" e-mail address.
That aside, the main problem is that forward re-writes the recipient to be
"$[EMAIL PROTECTED] . This causes the ms mail gateway to reject the
message since it only accepts messages for the domain "eoc.org.uk".
I'm doing some testing using a "test" virtualdomain "test.dom". Here's a
sample error message:
----------------------------------------------------
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Date: 1 Nov 1999 17:47:22 -0000
Hi. This is the qmail-send program at candace.eoc.org.uk.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
172.16.65.8 does not like recipient.
Remote host said: 551 relaying denied
Giving up on 172.16.65.8.
--- Below this line is a copy of the message.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 71629 invoked by uid 5000); 1 Nov 1999 17:46:37 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 71625 invoked by uid 0); 1 Nov 1999 17:46:36 -0000
Date: 1 Nov 1999 17:46:36 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: A test
----------------------------------------------------
Have you any further thoughts?
Cheers,
R.