Amavis: Open relay? Nonlocal recips but not originating

Discussion in 'Server Operation' started by Sir Henry, Feb 8, 2013.

  1. Sir Henry

    Sir Henry Member

    I know this warning has been added to Amavis to flag mails from non-local senders to non-local recipients. I have been trying to get rid of the warning in case the sender is SASL authenticated.

    One recommendation I found was this:
    Code:
    $interface_policy{'10024'} = 'SASL_AUTH';
    $policy_bank{'SASL_AUTH'} = {
      originating => 1,
    };
    
    But this goes way too far as ALL mails are routed from postfix to Amavis via port 10024. Using the submission port for authenticated senders is fine but I can't force all my people to do it.

    Does anybody have a good solution for this? Maybe a second Amavis port for authenticated senders? Any better idea?
     
    Last edited: Feb 8, 2013

Share This Page