Re: [exim] Queuing only deliverable messages for mailscanner

Top Page
Delete this message
Reply to this message
Author: Christian Schmidt
Date:  
To: exim-users
Subject: Re: [exim] Queuing only deliverable messages for mailscanner
Hello Robert,

Robert Brown, 25.09.2006 (d.m.y):

> I am using mailscanner/spamassasin to scan all my incoming mail. All mail
> is queued via the "queue_only" option, scanned by mailscanner then delivered
> via another exim4 process. What I would like to do is somehow verify the
> local recipient address before putting it in the queue for scanning. In
> other words I'd like the following logic:
>
> If the message is from a host allowed to relay then queue it for scanning
> (This handles messages from my clients to outside addresses)
> If the message is to a valid local address queue it for scanning (This
> handles messages to valid_users@???)
> If the message is to an invalid local address, bounces it immediately (This
> handles messages to invalid_users@???)
>
> The whole purpose being to not waste CPU time scanning messages that I KNOW
> will be bounced anyway.
>
> Does this make sense


It surely does!

> and is it possible?


Yes. Just tell your exim-"listener" to use corresponding ACLs.

Gruss/Regards,
Christian Schmidt

-- 
Fortschritt allein ist noch keine Leistung. Es kommt auf die Richtung
an.
        -- Jean Giono