Postfix issues...

Discussion in 'HOWTO-Related Questions' started by volksman, Jan 6, 2009.

  1. volksman

    volksman New Member

    Hey All!

    I use the virtual user setup posted in the howtos here. I recently decided to add RBL and bounce filtering to my setup. I added this to my main.cf:

    Code:
    receive_override_options = no_address_mappings
    smtpd_helo_required = yes
    strip_rfc821_envelopes = yes
    disable_vrfy_command = yes
    unknown_address_reject_code  = 554
    unknown_hostname_reject_code = 554
    unknown_client_reject_code   = 554
    smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit
    smtpd_recipient_restrictions =
       check_client_access hash:/etc/postfix/helo_client_exceptions,
       check_sender_access    hash:/etc/postfix/sender_checks,
       reject_invalid_hostname,
       reject_non_fqdn_sender,
       reject_non_fqdn_recipient,
       reject_unknown_sender_domain,
       reject_unknown_recipient_domain,
       permit_mynetworks,
       reject_unauth_destination,
       permit_sasl_authenticated,
       check_client_access hash:/etc/postfix/rbl_client_exceptions,
              reject_rbl_client cbl.abuseat.org,
              reject_rbl_client sbl.spamhaus.org,
              reject_rbl_client xbl.spamhaus.org,
             reject_rbl_client bl.spamcop.net,
             reject_rhsbl_sender    dsn.rfc-ignorant.org,
             permit
    
    default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
    
    header_checks = regexp:/etc/postfix/header_checks
    body_checks = regexp:/etc/postfix/body_checks
    
    However now my sasl_authenticated users are getting a relay denied error message.

    Can anyone help?
     
  2. volksman

    volksman New Member

    problem solved. duplicate entry overriding a previous one. damn these long config files.. :)
     

Share This Page