I still cant make it work.. First I need to be able to make all emails
coming from one place EX. yahoo.com go to a certain folder and no where
else.

Once I get that down I will worry about using mpack and unpack and stuff.

Can you help me with this once more and break it down for me.. I cant seem
to make it work..

setup:
G:\Xmail\MailRoot\cmdaliases\mydomain.com
TAB FILE
"external"[tab]"0"[tab]"300"[tab]"G:\Xmail\scripts\yahoo.cmd"[tab]"@@FILE[ne
wline]

G:\Xmail\scripts
yahoo.cmd file
copy %1 G:\Xmail\yahoo\



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rob Arends
Sent: Monday, September 08, 2003 8:18 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: back on the subject of redirection



Have a look at the readme, "CMD aliases" section.
I think this is what you need.
Providing the TO user does not exist, then a file datafax.tab in
$MAIL_ROOT/cmdaliases/company.com will be executed.

datafax.tab
-----------
"external"[TAB]"0"[TAB]"300"[TAB]"path/datafax.exe"[TAB]"@@FILE"[NEWLINE]
-----------

All you need to do now is write a script (path/datafax.exe) that takes the
first arg passed as the message file and copy it to a work area, and extract
the file contained there-in.
If the message is MIME encoded, you could use mpack/munpack for dos
(ftp.andrew.cmu.edu:pub/mpack/) to decrypt it rather than leaving it as an
...eml or .msg
Then copy the final file to your \share and clean up.

Davide,
Can you let me know if I got this right.

Also I noticed what may be a typo.
In the CMD ALIASSES section, the line "When a mail from '[EMAIL PROTECTED]' is
received "
I think should be "for" not "from".

Thanks, Rob :-)



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of webmaster
> Sent: Friday, September 05, 2003 2:08 AM
> To: [EMAIL PROTECTED]
> Subject: [xmail] back on the subject of redirection
>
>
> How can I get xmail to send emails that are designated for a
> certain mailbox to go to a share on the server?
>
> Our Office manager gets emails everyday with a pdf attachment
> from datafax. They are reports that we all look at.
>
> He usually gets them in his email and then drags the emails over
> to the server share using windows explorer.
>
> We want this to be automated so that the emails go directly to
\\server\datafaxshare
We want to create a new user called datafax and notify the company to send
these reports to this new user at datafax @ company dot com once we get it
set right. I would like only a single copy to go into the server share and
not leave one in the mailbox...

Is this possible?

-
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