Re: [exim] Queuing only deliverable messages for mailscanner

Top Page
Delete this message
Reply to this message
Author: Martin Hepworth
Date:  
CC: exim-users
Subject: Re: [exim] Queuing only deliverable messages for mailscanner
Robert Brown wrote:
> 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 and is it possible?
>
> Robert B. Brown, II
> IT Director
> Foxcroft Academy
> robert.brown@???
> Voice: 207-564-8351
> Fax: 207-564-8394
> This account monitored by A-S-K
>
>

From the MailScanner wiki...

http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:exim:how_to:accept_only_valid_addresses


--
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.    


**********************************************************************