Re: [Exim] no local_scan message with -bS?

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Sven Geggus
CC: exim-users
Assunto: Re: [Exim] no local_scan message with -bS?
On Fri, 26 Jul 2002, Sven Geggus wrote:

> Philip Hazel <ph10@???> wrote:
>
> > So, the question is: what does "rsmtp" actually do? Have you tried
> >
> > cat foo | exim -bS; echo $?
>
> shure, it's acting exactly in the same way as exim -bS, its a symlink to
> exim.
>
> Sven
>
> P.S.: As I aleady said, I'm using exim 4.10 in conjuntion with the 4.10-11
> exiscan patches.


Yes, but I didn't recall your stating that rsmtp was a symlink to Exim,
and I wanted to be sure.

I don't know anything about the exiscan patches, but I assume they
wouldn't affect this. However, you never know. Try this test:

----------------------------------------------------------------------
$ exim -bS <<End
> From: x@y
> End

----------------------------------------------------------------------

The output I get is as follows, and the return code is set to 2:

----------------------------------------------------------------------
500 Command unrecognized
Transaction started in line 0
Error detected in line 1
From: x@y
An error was detected while processing a file of BSMTP input.
The error message was:

500 Command unrecognized

The SMTP transaction started in line 0.
The error was detected in line 1.
The SMTP command at fault was:

From: x@y

0 previous messages were successfully processed.
The rest of the batch was abandoned.
----------------------------------------------------------------------

That's what it does for me. I guess you should also try with rsmtp.

If that doesn't work for you, I suggest compiling a new version of Exim
without the exiscan patches and see if that works. I can't think of
anything else to do.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.