#120 Allow choosing an amavis policy per user.

open
nobody
amavis (1)
5
2013-12-01
2013-03-23
Tiger!P
No

This is a patch that will enhance PFA with the ability to choose an amavis policy per alias or mailbox user.
The patch does not allow the changing of the polcies from within PFA.
Currently only a MySQL update is done in the upgrade script.

The patch is based on SVN rev 1443.

1 Attachments

Discussion

  • Tiger!P
    Tiger!P
    2013-03-24

    I've updated the previous patch based on the discussion on IRC.

    The patch is based on SVN rev 1446.

    Update: fixed a sql injection.

     
    Last edit: Tiger!P 2013-03-24
  • Tiger!P
    Tiger!P
    2013-03-31

    I've noticed that you have to have the right postfix configuration to make this work.

    You have to have the following in the main.cf
    receive_override_options=no_address_mappings

    And in the master.cf for the service that receives the mail from amavis (probably 127.0.0.1:10025) the "-o receive_override_options" should NOT contain "no_address_mappings".

    Otherwise it will not work.