Re: [exim] exim4 not using spamd or clamd

Top Page
Delete this message
Reply to this message
Author: Jason Fisher
Date:  
To: exim-users
Subject: Re: [exim] exim4 not using spamd or clamd
> -----Original Message-----
> From: Phil Pennock [mailto:exim-users@spodhuis.org]
> Sent: Friday, January 25, 2008 8:40 PM
> To: Jason Fisher
> Cc: exim-users@???
> Subject: Re: [exim] exim4 not using spamd or clamd
>
> On 2008-01-25 at 11:28 -0600, Jason Fisher wrote:
> > Exim4 is sending and receiving messages correctly, but, I'm getting
> no
> > added headers and no log entries indicating any activity by clamd or
> > spamd. Any advice would be greatly appreciated.
>
> In one terminal run:
> exim -d+acl -bd -oX 24
>
> In another terminal, connect to that server on TCP port 24 and speak
> raw
> SMTP to send a message.
>
> After a banner, you respond with the EHLO command. Eg, putting in the
> bits you type, that might be:
>
> telnet localhost 24
> EHLO my.host.name
> MAIL FROM:<my-sender@???>
> RCPT TO:<the-recipient@???>
> DATA
> From: my-sender@???
> To: the-recipient@???
> Subject: test
>
> foo
> .
> QUIT
>
> The dot on a line on its own is important, that ends the mail.
>
> You might instead run:
>
> exim -d+acl -bd -oX 24 2>&1 | tee exim.trace
>
> so that you get a copy of all the debug information in a file named
> "exim.trace" and you can then look over it with something more
> sophisticated than your terminal emulator's scrollbars. Exim provides
> debugging information which is almost always sufficient. So there can
> be a lot.
>
> -Phil


Ok, first of all, thanks to everyone who responded. I appreciate the
help everyone offered. It turned out that the problem lay with how I
was testing my config. I was sending messages through the system from
the console using the "mail" command. I'm still not quite sure why mail
submitted that way completely bypassed all the checking I'd set up, but,
that's another issue and, I'm sure, just needs more of my attention and
time to root out. Once I tested both the way Phil suggested and by
using another system to send mail through this new gateway, I saw all
the expected checking take place with spamd and clamd. Thanks again for
everyone's help.

Sincerely,

Jason Fisher