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
--- Begin Message ---
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


--- End Message ---

Reply via email to