Go to conf.d/routers/900*local_user, and comment out check_local_user

Dan

Hereward Cooper wrote:
Hey guys,

I'm in the process of trying to harmonize all my mail systems with
Exim4+SpamAssassin+DBMail.
But I'm having problems getting Exim4 to deliver mail to the right
place. [I've been using the docs that come with the Debian package -
exim4-dbmail.txt.gz]

Basically I have a list of about 5 domains, and say 3 users on each of
those domains - some of the users actually exsist on the system, the
others are just DBMail aliases.

I've been playing around with a ton of various exim configs - and the
only one which I can get most of the mail with is this:

cat /etc/exim4/conf.d/transport/30_exim4-config_dbmailconfig
dbmail:
    driver = pipe
    command = "/usr/sbin/dbmail-smtp -u $local_part"
    return_fail_output
    user = dbmail


But what I want is Exim to NOT check the exsistance of any local users -
and simply forward all mail onto DBMail - and let DBMail bounce anything
that it can't deliver.

One of the main problems I was having was exim not being able to tell
the difference between the same $local_part at a difference $domain. I
tried using

    command = "/usr/sbin/dbmail-smtp -d [EMAIL PROTECTED]"

But it became very irratic with some users getting mail and others not.
strange. Attacted is an example from the log of a message that seems to be delivered fine but just doesn't show up anywhere!

Well any help would be great - and even examples of what conf files
people are using would be good.

Thanks,

--Coops

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

From:
root <[EMAIL PROTECTED]>
Date:
Mon, 26 Jul 2004 14:02:44 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]

Received:
from root by thepixiepeople.co.uk with local (Exim 4.32) id 1Bp57s-00036N-5O for [EMAIL PROTECTED]; Mon, 26 Jul 2004 14:02:49 +0100
Message-ID:
<[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP:
<locally generated>
X-SA-Exim-Mail-From:
[EMAIL PROTECTED]
X-Spam-Checker-Version:
SpamAssassin 2.63 (2004-01-11) on thepixiepeople.co.uk
X-Spam-Status:
No, hits=0.0 required=5.0 tests=none autolearn=ham version=2.63
X-SA-Exim-Version:
4.0 (built Sat, 24 Apr 2004 12:31:30 +0200)
X-SA-Exim-Scanned:
Yes (on thepixiepeople.co.uk)


2004-07-26 13:49:49 1Bp4vN-000315-Vl SA: Debug: SAEximRunCond expand returned: 
'1'
2004-07-26 13:49:49 1Bp4vN-000315-Vl SA: Debug: check succeeded, running spamc
2004-07-26 13:49:57 1Bp4vN-000315-Vl SA: Action: scanned but message isn't 
spam: hits=1.1 required=5.0 (scanned in 8/8 secs | Message-Id: [EMAIL PROTECTED]
k). From <[EMAIL PROTECTED]> (host=anchor-post-32.mail.demon.net 
[194.217.242.90]) for [EMAIL PROTECTED]
2004-07-26 13:49:57 1Bp4vN-000315-Vl <= [EMAIL PROTECTED] 
H=anchor-post-32.mail.demon.net [194.217.242.90] P=esmtp S=1207 [EMAIL PROTECTED]
n.co.uk
2004-07-26 13:49:57 1Bp4vN-000315-Vl => hcooper <[EMAIL PROTECTED]> 
R=local_user T=dbmail
2004-07-26 13:49:57 1Bp4vN-000315-Vl Completed



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

_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to