Exim accepting non-existing local users after mailscanner install

Tony Finch dot at DOTAT.AT
Wed May 21 14:58:04 IST 2003


=?iso-8859-1?q?Rasmus_B=F8g_Hansen?=              <moffelist at AMAGERKOLLEGIET.DK> wrote:
>
>I installed mailscanner 3.27.1 some time ago - it is used along with
>exim 3.35.

I really recommend upgrading to version 4 of both packages.

>As noted in the installation guide, I added a director as the
>uppermost director:
>
>defer_director:
>  driver =3D smartuser
>  new_address =3D :defer: All deliveries are deferred

You should include the statement no_verify in this director, so that
it doesn't act as a catch-all when Exim is deciding whether an address
is valid at SMTP time.

This ought to be noted in the documentation. Julian, how about this patch?

--- exim.shtml.orig     Wed May 21 13:47:48 2003
+++ exim.shtml  Wed May 21 13:55:26 2003
@@ -103,6 +103,11 @@
                data = :defer: All deliveries are deferred
                verify = false
 </PRE>
+This causes all addresses to be deferred (so that the message remains
+on the queue). The <code>verify = false</code> clause means that
+it is ignored when Exim is checking addresses for validity (e.g.
+when accepting a message via SMTP) so the address verification logic
+ends up being the same with MailScanner as it is without.
 </P>
 <P>
 The alternative setup is more complicated in Exim 3 since you need a


Tony.
--
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
SHETLAND ISLES: WEST 3 OR 4, EASING VARIABLE 2 FOR A WHILE, LATER SOUTHEAST 3
OR 4. FAIR. GOOD. SLIGHT.



More information about the MailScanner mailing list