Postfix user restrictions help?

Discussion in 'Installation/Configuration' started by unitetech, Jan 24, 2007.

  1. unitetech

    unitetech New Member

    I want to limit some users sending and receiving outside the network
    I am using the instruction from the following website

    Per the instruction I have also created to other files in the postfix directory: restricted_senders = for the email addresses of the senders I want to block from sending outside the network and local_domains
    postfix completely shuts down. If anyone can tell what I may be doing wrong or has another option to limit sending and receiving to local to the domain.
    Below is my with the :) # being what I added that doesnt work.

    Any help would put some of my hair back in

    [[email protected] postfix]# vi
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions =
    :) # check_sender_access hash:/etc/postfix/restricted_senders
    :) #smtp_restriction_classes = local_only
    :) #local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable
    Last edited: Jan 24, 2007
  2. unitetech

    unitetech New Member

    ISPconfig server

    This is an ISPconfig server. I am sure that may have something to do with the general restrictions not working.

    Thanks again for any help

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Please use one of the perefct setup guides to configure your postfix system for ISPConfig and make sure that you enabled smtp authentification in your mail client.
  4. unitetech

    unitetech New Member

    Help with postfix configuration

    I did use the setup guides. I dont have any problems with ISPConfig working as it was meant to. I want to limit outgoing and incoming mail for some of my users as I stated above. Can anyone help me with this. Thanks

  5. unitetech

    unitetech New Member

    Finally!!!!!! Yes!!!!!!

    I finally got it now thanks to a linux genius friend. If anyone wants info on how to do this email me and I will send some instructions. [email protected]

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    May you please post the instructions here? Then I can move the thread to the tipps and tricks forum.



Share This Page