You are probably running into a pathing issue. XMail versions 1.16 and 
later (possibly 1.15 as well, I can't recall now), use the \\?\ prefix on 
path names, to allow paths longer than 260 characters. This is perfectly 
legal in calls to the Win32 API, but it doesn't work well for command line 
apps.

Likely you'll need to write some code to accomplish your task - the code 
would need to check for \\?\ on the beginning of the path, and strip those 
four characters if they are found.

The code can be C, Perl, or whatever you're comfortable with. But I don't 
know of a way to do it using batch files... Rexx could probably handle it - 
but if you're going to go to that much trouble, might as well use Perl or 
VBScript.

At 22:26 10/3/2003, webmaster wrote:


>good bone.. Heres the deal
>win2k platform
>xmail 1.17
>
>using yahoo for an example/testing
>
>G:\Xmail\MailRoot\filters\yahoo.tab
>"cmd.exe /c G:\Xmail\scripts\yahoo.cmd"[tab]"@@FILE
>
>G:\Xmail\scripts\yahoo.cmd
>copy %1 G:\Xmail\yahoo\
>
>FILTERS.IN.TAB
>
>"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "avfilter.tab"
>"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "flavs.tab"
>"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "xscanner.tab"
>"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "copyin.tab"
>"[EMAIL PROTECTED]"[tab]"[EMAIL PROTECTED]"[tab]"0.0.0.0/0"[tab]"0.
>0.0.0/0"[tab]"yahoo.tab"
>
>it does not copy the email destined for mcostilow to the yahoo dir
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Tracy
>Sent: Thursday, October 02, 2003 8:38 PM
>To: [EMAIL PROTECTED]
>Subject: [xmail] Re: Can no one help on this?
>
>
>OK, as I understand it, you need to intercept email to a particular local
>user, is that right? Also, I'm assuming you're using version 1.16 or later?
>
>If so, then add a line to the filters.in.tab file:
>
>"*"     "<local-user>"  "0.0.0.0/0"     "0.0.0.0/0"     "PDF-Filter.tab"
>
>Note that "<local-user>" should be the email address of the local user you
>want to intercept mail for. If that user is [EMAIL PROTECTED], then that entry
>should look like "[EMAIL PROTECTED]"
>
>If you need to limit the check to a certain sender, replace the first "*"
>with the email address of the sender - if the sender is [EMAIL PROTECTED],
>then replace "*" with "[EMAIL PROTECTED]"
>
>Then, in PDF-Filter.tab, do your processing on that email. After you've
>finished processing it, you can use a return code from the filter to
>specify whether or not the mail is delivered to the user.
>
>At 21:33 10/3/2003, webmaster wrote:
>
>
> >throw me a bone. I know that. Thats what im trying to do with no luck.
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Davide Libenzi
> >Sent: Thursday, October 02, 2003 8:27 PM
> >To: [EMAIL PROTECTED]
> >Subject: [xmail] Re: Can no one help on this?
> >
> >
> >
> >On Fri, 3 Oct 2003, webmaster wrote:
> >
> > > Huh?  Im confused. The whole deal is I need for emails that come from
> > > datafax.net to go to a certain folder on the server that is shared on a
> > > windows network.
> > >
> > > If I can get that to happen I will use mpack or unpack to extrack the
>pdf
> > > inside the email..
> > >
> > > I need the email that is directed at a certain user to not touch his
> >inbox,
> > > but go directly to the share and get extracted for all to see the pdf.
> >This
> > > email comes weekly.
> >
> >You need a filter to do that.
> >
> >
> >
> >- 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]
>
>-
>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