On Sun, 18 Nov 2001, Jan Patorra wrote:

> hi davide,
>
> > Replace this file inside the source dir, rebuild and repeat the test
> > showing me the messages.
>
> this seems to be the same, here we go (with your new .cpp using the
> fresh-compiled executables)
>
> the mailfiles referenced below existed in the following way (if that's
> important to you) while sendmail was running:
>
> spool/temp:
> xy.hostname
> xa.hostname.Mail
>
> after sendmail got the "." only
>
> spool/local:
> xy.hostname
>
> was left
>
> the contents of the mailfiles were ok, i checked it and compared with the
> input-file and the manual input...

Something "magic" happens on your machine.
Try to edit LMAILSvr.cpp ( the last one ) near to line 487, from this:

    FILE           *pMailFile = fopen(pszMailFile, "rb");

    if (pMailFile == NULL)
    {
        ErrSetErrorCode(ERR_FILE_OPEN);
        return (ERR_FILE_OPEN);
    }

to this:

    FILE           *pMailFile = fopen(pszMailFile, "rb");

    if (pMailFile == NULL)
    {
        perror(pszMailFile);
        ErrSetErrorCode(ERR_FILE_OPEN);
        return (ERR_FILE_OPEN);
    }




- 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