It's like this....

Mailproc.tab is explained in the doco (readme.html) so please start there.
What OS are you running?
What language will the script be in?

There are so many questions you need to answer, but have not.
The script you are looking for does not exist.  This means it will need to
be written from scratch.

We are not script writers, although if one exists, often it is shared.

Start with a basic script that takes the command line parameters passed from
the mailproc.tab and logs them to a file.
Then email the user and see that you have what you expected.

Note that you can use "filter" and return code 16 or greater to stop
processing.
So it is a bit like Outlook's Rules, where you have a stop rule processing
directive.

I'd expect your mailproc.tab would contain 
"filter"[TAB]"/myscript"[TAB]"$(FROM)"
"mailbox"
Then /myscript would return 16, to stop the local 'mailbox' delivery, but it
would first need to handle queuing the email to the gmail account first.  So
you might drop the re-addressed email into the local spool folder - I'll
leave that up to you and the readme.

Rob :-)
 
_________________________________________________
Note To Self: Remember to put something witty here later...
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of waassssuu pppp
Sent: Saturday, 18 November 2006 12:17 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: forwarding if only from certain users

Can anyone else elaborate or show an example fo what David is talking about?




On 11/16/06, Davide Libenzi <davidel@xmailserver.org> wrote:
>
>
> On Thu, 16 Nov 2006, waassssuu pppp wrote:
>
> > I am currently using win32 xmail 1.21 and would like to know how to 
> > do something.
> >
> > Here is what I need to do:
> > I need to be able to forward emails that are sent to 
> > [EMAIL PROTECTED] to one of his other accounts like [EMAIL PROTECTED]
> >
> > BUT only if the emails that are sent to him come from certain people
> like:
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > etc
> >
> > Any ideas?
>
> You need to write a filter and add it to [EMAIL PROTECTED] mailproc.tab
>
>
>
> - Davide
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in 
> the body of a message to [EMAIL PROTECTED] For general help: 
> send the line "help" in the body of a message to 
> [EMAIL PROTECTED]
>
>


-
To unsubscribe from this list: send the line "unsubscribe xmail" in the body
of a message to [EMAIL PROTECTED] For general help: send the line
"help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to