Current time: 11-27-2024, 11:30 AM Hello There, Guest! (LoginRegister)


Post Reply 
enable spamassassin?
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #33
RE: enable spamassassin?
I'm quite sure it goes this way:

1. Client connects to postfix
2. Postfix opens a proxy smtp connection against amavis
3. Client sends helo/mail from/rcpt to
4. Postfix makes some checks of it's own
5. Postfix connects to policyd-weight and asks for it's decision (based on ip/helo/mail from/rcpts)
6a. If policyd rejects, postfix rejects too and closes connections to both the client and amavis proxy.
7. Postfix connects to postgrey and asks for it's decision (based on ip/sender/recipient)
7a. If postgrey rejects (greylisting rejects are always temporary, so the remote server should try again later), postfix rejects and closes connections.
8. Client sends the actual mail data.
9. When the data has been received, amavis calls its backends to perform any checks (remember that amavis has a copy of the mail because it has been receiving a copy of all the client's operations).
9a. If configured, amavis passes the message to clamav who checks the message and tells back to reject or accept it
9b. If configured, amavis passes the message to spamassassin, who replies with a reject/accept/bounce and the possibly modified message (headers added, etc.)
10. If amavisd rejects, postfix rejects too and connections are closed
11. If amavisd accepts, postfix acknowledges the message (in the client's connection). Amavisd reinjects the modified message using smtp on a special port
12. Postfix delivers the modified reinjected message to the recipients maildir

Who would have thought that receiving a mail is that complicated? Wink
(This post was last modified: 05-14-2009 06:20 PM by kilburn.)
05-14-2009 06:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
enable spamassassin? - pgentoo - 02-22-2009, 04:19 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 04:20 AM
RE: enable spamassassin? - pgentoo - 02-22-2009, 04:31 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 04:48 AM
RE: enable spamassassin? - pgentoo - 02-22-2009, 04:54 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 06:08 AM
RE: enable spamassassin? - juanper - 05-15-2009, 07:13 PM
RE: enable spamassassin? - ashitman - 05-17-2009, 07:37 PM
RE: enable spamassassin? - rbtux - 06-03-2009, 08:24 AM
RE: enable spamassassin? - tedeu - 05-28-2009, 01:32 AM
RE: enable spamassassin? - BeNe - 02-22-2009, 06:40 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 06:42 AM
RE: enable spamassassin? - BeNe - 02-22-2009, 06:48 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 06:52 AM
RE: enable spamassassin? - robbo007 - 04-23-2009, 01:17 AM
RE: enable spamassassin? - Cube - 02-22-2009, 07:07 AM
RE: enable spamassassin? - rbtux - 02-22-2009, 07:14 AM
RE: enable spamassassin? - BeNe - 02-22-2009, 07:08 AM
RE: enable spamassassin? - Cube - 02-22-2009, 07:44 AM
RE: enable spamassassin? - pgentoo - 02-23-2009, 04:23 AM
RE: enable spamassassin? - Cube - 02-23-2009, 05:01 AM
RE: enable spamassassin? - rbtux - 02-23-2009, 05:39 AM
RE: enable spamassassin? - Cube - 02-23-2009, 05:47 AM
RE: enable spamassassin? - pgentoo - 02-24-2009, 07:22 AM
RE: enable spamassassin? - meph137 - 03-05-2009, 10:49 AM
RE: enable spamassassin? - kilburn - 03-07-2009, 03:02 AM
RE: enable spamassassin? - rbtux - 03-07-2009, 03:48 AM
RE: enable spamassassin? - kilburn - 03-10-2009, 02:25 AM
RE: enable spamassassin? - rbtux - 03-10-2009, 02:39 AM
RE: enable spamassassin? - kilburn - 03-10-2009, 09:06 AM
RE: enable spamassassin? - rbtux - 03-10-2009, 09:46 AM
RE: enable spamassassin? - meph137 - 03-10-2009, 07:06 PM
RE: enable spamassassin? - alecksievici - 03-21-2009, 09:36 PM
RE: enable spamassassin? - womd - 03-25-2009, 03:20 AM
RE: enable spamassassin? - rbtux - 03-25-2009, 04:09 AM
RE: enable spamassassin? - pgentoo - 05-14-2009, 02:37 PM
RE: enable spamassassin? - kilburn - 05-14-2009 06:18 PM
RE: enable spamassassin? - pgentoo - 05-15-2009, 04:31 AM
RE: enable spamassassin? - pongraczi - 05-15-2009, 03:21 AM
RE: enable spamassassin? - kilburn - 05-15-2009, 03:29 AM
RE: enable spamassassin? - pongraczi - 05-15-2009, 04:12 AM
RE: enable spamassassin? - pongraczi - 05-15-2009, 07:18 PM
RE: enable spamassassin? - kurgans - 05-28-2009, 05:47 AM
RE: enable spamassassin? - tedeu - 05-28-2009, 01:26 PM
RE: enable spamassassin? - alecksievici - 05-28-2009, 02:54 PM
RE: enable spamassassin? - kilburn - 05-28-2009, 03:44 PM
RE: enable spamassassin? - se2bass - 06-04-2009, 06:21 AM
RE: enable spamassassin? - rbtux - 06-04-2009, 08:37 AM
RE: enable spamassassin? - se2bass - 06-06-2009, 05:30 AM
RE: enable spamassassin? - Diego - 09-13-2009, 02:21 AM
RE: enable spamassassin? - Diego - 09-18-2009, 12:46 PM
RE: enable spamassassin? - Presssack - 10-25-2009, 08:01 PM
RE: enable spamassassin? - stevenbinion - 11-10-2009, 04:01 AM
RE: enable spamassassin? - theprincy - 01-07-2010, 06:58 PM
RE: enable spamassassin? - sunghost - 02-06-2010, 01:09 AM
RE: enable spamassassin? - kilburn - 02-06-2010, 01:14 AM
RE: enable spamassassin? - sunghost - 02-06-2010, 02:18 AM
RE: enable spamassassin? - kilburn - 02-06-2010, 12:02 PM
RE: enable spamassassin? - sunghost - 02-11-2010, 08:46 PM
RE: enable spamassassin? - kilburn - 02-18-2010, 06:14 PM
RE: enable spamassassin? - sunghost - 02-18-2010, 07:35 PM
RE: enable spamassassin? - NIIcK - 02-21-2010, 03:04 AM
RE: enable spamassassin? - kilburn - 02-22-2010, 03:32 AM
RE: enable spamassassin? - wildufo - 02-27-2010, 01:51 AM
RE: enable spamassassin? - Servera - 06-05-2011, 07:13 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)