Well, thanks for everything. I really appreciate all your help, but i guess
i should go to Linux if possible. If you ever think of something, I am all
ears.

ps i could not get that most recent mboxsend.c to compile

$ gcc mboxsend.c -o mboxsend.exe
mboxsend.c:1: parse error before '<' token
mboxsend.c:29:10: #include expects "FILENAME" or <FILENAME>

then there was lots more stuff
----- Original Message -----
From: "Davide Libenzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 03, 2002 4:48 PM
Subject: [xmail] Re: scripting ?


>
> On Tue, 3 Dec 2002, Vin Conti wrote:
>
> >
> > that compiled perfectly.
> >
> > my mailproc reads exactly as follows
> > "c:\cygwin\bin\bash.exe" "C:\cygwin\xxx.sh" "@@TMPFILE"
> > (does @@TMPfile have to be replaced with something?)
> >
> > my xxx.sh reads exactly as follows
> > #!/bin/sh
> >
> > C:\cygwin\bin\econv.exe --input $1 --mbox | C:\cygwin\bin\mboxsend.exe
> >
> > rm -f $1
> >
> > run->cmd -> cd cygwin\bin -> mboxsend
> >
> > yields use: mboxsend [--input fnin] [--output fnout] [--from sndr]
>
> I'm not sure if you can use DOS paths inside cygwin's shell scripts. You
> can try :
>
> #!/bin/sh
> /C/cygwin/bin/econv.exe --input $1 --mbox | /C/cygwin/bin/mboxsend.exe
>
> rm -f $1
>
>
>
> Also, if no --output is specified to mboxsend, it'll go to
> /var/spool/mail/$USER. So, /var/spool/mail must exist. Try to rebuild
> using this :
>
> http://www.xmailserver.org/mboxsend.c
>
> In any case, cygwin is an _hack_. If you can install "The Real Thing" it's
> definitely better ...
>
>
>
>
> - 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]

Reply via email to