Question about changing the road of authentified user

From: Johnny Maillist (no email)
Date: Wed Mar 05 2008 - 05:54:55 EST

  • Next message: Robert Brooks: "postfix-2.5.1 - smtpd logging ":unknown" on client lines"

    Hi,
    I want to change the road a mail take in my "postfix' delivery mail road"
    when the user is authentified by SASL or pop-before-smtp.
    I explain:
    All mails send by other SMTP server for my server should pass trough
    amavis/spamassassin/clamav. But i want mail send by authentified user (using
    the method SASL or pop-before-smtp) bypass this check for unload my mail
    server.
    I have a solution with 2 servers, but i want do this only in one server.
    I post the part of my master.cf and main.cf for informations, if you have
    any others question for my problem please ask.

    Thanks for the work and the support :)

    Regards

    master.cf
    smtp inet n - - - - smtpd
      -o content_filter=smtp-amavis:[127.0.0.1]:10024
    smtp-amavis unix - - n - - smtp
      -o smtp_data_done_timeout=360
      -o mynetworks=127.0.0.0/8
      -o disable_dns_lookups=yes
    localhost:10025 inet n - n - - smtpd -o content_filter=
                                                      -o local_recipient_maps=
                                                      -o mynetworks=127.0.0.0/8
                                                      -o
    smtpd_helo_restrictions=
                                                      -o
    smtpd_client_restrictions=
                                                      -o
    smtpd_sender_restrictions=
                                                      -o
    smtpd_recipient_restrictions=permit_mynetworks,reject

    main.cf
    smtpd_recipient_restrictions = permit_mynetworks, check_client_access
    hash:/var/lib/pop-before-smtp/hosts, permit_sasl_authenticated,
    reject_non_fqdn_recipient, reject_rbl_client sbl-xbl.spamhaus.org,
    reject_rbl_client opm.blitzed.org, reject_rbl_client relays.ordb.org,
    reject_rbl_client cbl.abuseat.org, reject_rbl_client list.dsbl.org,
    reject_unauth_destination


  • Next message: Robert Brooks: "postfix-2.5.1 - smtpd logging ":unknown" on client lines"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD