Re: [Exim] newbie+exim+mailscanner+cron=howto?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tony Finch
Data:  
Para: science
CC: exim-users
Asunto: Re: [Exim] newbie+exim+mailscanner+cron=howto?
=?iso-8859-2?q?J=E1ger=20S=E1ndor?= <sanyi@???> wrote:
>
>I'm using Exim 4.20 with the "usual" Mailscanner setup, I mean one daemon only
>queues (it has only a defer_router), Mailscanner filters and then transfers
>the messages to the output queue, and another daemon does the real mail post
>job from the output queue. Everything works fine with this setup, except one
>thing: for eg. automatic locally generated cron mails won't get through...
>Let me demonstrate it:
>
>1A6F3t-0006EX-75 <= root@??? U=3Droot P=3Dlocal S=3D592 T=3D"Cron <root@mystic> run-parts /etc/cron.hourly" from <root@???> for root@???
>1A6F3t-0006EX-75 == root@??? R=3Ddefer_router defer (-1): All deliveries are deferred
>1A6F3t-0006EX-75 ** root@???: retry timeout exceeded
>1A6F3t-0006Ea-7k <= <> R=3D1A6F3t-0006EX-75 U=3Dmail P=3Dlocal S=3D1333 T="Mail delivery failed: returning message to sender" from <> for root@???
>1A6F3t-0006Ea-7k == root@??? R=3Ddefer_router defer (-1): All deliveries are deferred
>1A6F3t-0006Ea-7k ** root@???: retry timeout exceeded
>1A6F3t-0006Ea-7k root@???: error ignored
>1A6F3t-0006Ea-7k Completed
>1A6F3t-0006EX-75 Completed
>
>What could be wrong, any idea howto solve this problem?


I suspect you've missed out the queue_only part of the configuration.
The defer router technique is a belt-and-braces approach for when you
really don't want local users to be able to bypass the filters. I'm
not sure what the right way to deal with the hints databases in this
situation is -- whether it's better to have a cron job that just deletes
the incoming daemon's hints every day, or whether to share the hints
with the outgoing daemon (would that confuse it? dunno).

You should have a careful check through the installation
guide and make sure you haven't missed anything out.
http://www.sng.ecs.soton.ac.uk/mailscanner/install/exim.shtml

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
RATTRAY HEAD TO BERWICK ON TWEED: WEST 5 TO 7 OFTEN GALE 8, VEERS NORTHWEST.
SQUALLY SHOWERS, ESPECIALLY IN NORTH. GOOD. MODERATE OR ROUGH, BECOMES LOCALLY
VERY ROUGH.