Re: Restricting users to internal only email

From: mouss (no email)
Date: Wed Nov 01 2006 - 17:18:10 EST

  • Next message: Michael J Wise: "Re: selective greylisting?"

    Robert Adkins wrote:
    > I used the example (see below) from the Restriction_Class_Readme from the postfix.org website:
    >
    > /etc/postfix/main.cf <http://www.postfix.org/postconf.5.html>:
    > smtpd_recipient_restrictions <http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions> =
    > check_sender_access <http://www.postfix.org/postconf.5.html#check_sender_access> hash:/etc/postfix/restricted_senders
    > /...other stuff.../
    >
    > smtpd_restriction_classes <http://www.postfix.org/postconf.5.html#smtpd_restriction_classes> = local_only
    > local_only =
    > check_recipient_access <http://www.postfix.org/postconf.5.html#check_recipient_access> hash:/etc/postfix/local_domains, reject
    >
    > /etc/postfix/restricted_senders:
    > foo at domain local_only
    > bar at domain local_only
    >
    > /etc/postfix/local_domains:
    > this.domain OK /matches this.domain and subdomains/
    > that.domain OK /matches that.domain and subdomains
    >
    > --
    >
    > /
    >
    > After creating a test user account, adding that user to the
    > restricted_senders and creating the local_domains file and then running portmap
    > on both files to create the .db files. I restarted the postfix daemon and
    > nothing changed.
    >
    > The test user can still send and receive email from outside of the domain.
    >
    > Am I missing something?
    >
    >

    1- do not hijack threads by replying to an unrelated message.

    2- follow the directions explained in the ML welcome message, and on
        http://www.postfix.org/DEBUG_README.html#mail
    In particular, send output of 'postconf -n'.

    As you can see, copy-pasting from firefox to thunderbird is horrible.


  • Next message: Michael J Wise: "Re: selective greylisting?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD