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]

Reply via email to