1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Help understanding the postfix+spamassassin mailflow

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Paul Martin, Sep 3, 2009.

  1. Paul Martin

    Paul Martin Guest

    0
     
    Ok, so in a previous post, I explained how to allow spamassassin to learn messages over 256k. Well, recompiling the spamc binary worked well, and it allowed >256k emails to get learned, but it had a nasty side effect - all of the learning was saved to the "popuser" account, not the actual account where it was sent to. If I replace my new binary with the old one, then it works fine. Since NOTHING ELSE has changed, this leads me to believe that the version of spamc that Parallels ships with 9.2.2 is either compiled differently or has additions made to the source that allows it to auto-determine the user to learn the spam as.

    After digging into any and all spamassassin/postfix emails that I can find, I don't see where postfix sends the email to spamassassin for spam checking. If I check the maillog, I obviously see lots of references to it, but I don't see in /etc/postfix/main.cf or /etc/postfix/master.cf where postfix basically says "Ok, you got email, it's going to a legit user, now take it and run it through spamassassin prior to delivery". Can anyone help me locate that? I think I can take it from there.

    Maybe.

    Or, if anyone has the changes that Parallels made to the spamc source code, I'd be happy to integrate that as well. It'd be a more elegant solution. Come to think of it, since spamassassin is an open-sourced under the apache license, aren't they required to release all modifications, or am I completely out in left field here?

    Thanks for any insights anyone can share.
     
  2. Andrey Kucherov

    Andrey Kucherov Guest

    0
     
    Hello,

    You can see the following article in order to find out how Spamassasin interacts with postfix and mail handlers:

    http://kb.odin.com/en/6410
     
  3. Paul Martin

    Paul Martin Guest

    0
     
    That documentation doesn't exactly help me, but I appreciate the answer. I want to create a handler that allows me to pass in messages that are larger than the hardcoded value that Parallels has set. Most of my spam is larger than 128k (or whatever the value is) so it's not getting checked. I want to rectify that. Can you assist me with that?
     
Loading...