Re: [Exim] [OT] mail process

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tim Jackson
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] [OT] mail process
Hi Thomas, on Thu, 19 Feb 2004 09:15:52 +0200 you wrote:

> How would I illustrate the process?
> Eg,
> *    After the mail is received, the FROM address is checked against
> RBLs.
> *    Mail is checked for viruses.
> *    Checked against system filter
> *    Checked for banned attachments via demime.
> *    Checked if the domain is a local domain, if not, deny.
> *    Spamassassin is called and the message content is checked.
> *    If clean, message queued for delivery.
> Is this the correct process flow?


It depends entirely on how you have your ACLs/other stuff set up. The
process (at least during SMTP time) follows the logical flow of your ACLs
(with local_scan thrown in at DATA time if you're using it) But chances
are you're a bit off the mark there; it's more likely to be something like
this:

- SMTP session opened
- SMTP HELO
- SMTP MAIL FROM
- SMTP RCPT TO
- Sender IP address checked against DNSBL's - reject if listed
- Is destination domain local? - reject if not
- SMTP DATA
- Check for bad attachments - reject if found
- Check for viruses - reject if found
- Check for spam - reject if found
- Accept SMTP DATA
- Run through system filter
- Delivery (assuming system filter didn't freeze or similar)

Tim